-
Notifications
You must be signed in to change notification settings - Fork 63
label_date.pro is missing from /usr/share/gnudatalanguage/lib #1649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oops, it is in 'src/pro' in the github. I clicked on the link to the code, copied and pasted to the file 'label_date.pro' in my user directory, then used sudo to copy it to /usr/shar/gnudatalanguage/lib. When I try
I get error messages
|
|
"Our" label_date.pro is coming from the COBE experiment and claimed as free. (However it contains explicit contributions of "DMS, RSI. April, 1993. Written." ??) . It is probably old WRT the current status of IDL's version. |
And 'label_date' is installed along the other procedures. |
I mean, it is installed when GDL is compiled by the user. It may not be installed using a distributed (Ubuntu...) version as they may keep procedures in a separate package of unknown name. |
I think I need to build the source code, then. Version 0.9.9 is the one offered in Synaptic Package Manager. I will give that a try. Thank you! |
I installed the MacPorts version on a Mac -- it is version 1.0.0-rc3. No label_date.pro in /opt/local/share/gnudatalanguage/lib there too. I think my lesson is to just download GDL directly, rather than going through package managers. Thank you again. |
I followed the instructions at "GDL on Linux" for the build_gdl.sh script. Even with timegen.pro as alaingdl suggested, GDL> date_label = label_date(date_format = '%Y') I attempted to build GDL on the iMac (running Sonoma) using way 1 at "But if you prefer doing it the hard way:"... the prep stage had errors and the configure stage failed. But the v1.0.3 .dmg file worked (an earlier version that I downloaded failed to run), and the GDL window pops up. I get the same label_date.pro error as on Linux. This confirms GillesDuvert's statement that there is a problem with label_date.pro. Thank you for all the hard work you do to improve GDL! |
(I cannot reproduce "exactly" your bug but may just a version issue) OK, clearly "our" LABEL_DATE don't work now as the IDL one's 😞 A. |
A 'free' but too old version, indeed. |
PR #1652 should solve your problem (and make label_date closer to what IDL provides) |
I installed GDL 0.9.9 on Ubuntu 20.04. Running a routine produced the error message "Function not found: LABEL_DATE".
label_date.pro is not in /usr/share/gnudatalanguage/lib even though I found it in the 'src' directory in the github.
The text was updated successfully, but these errors were encountered: