-
Notifications
You must be signed in to change notification settings - Fork 63
Initial attempt to add separate GDL_LIB_DIR for plplot drivers #1481
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
Conversation
That may be it, because once installed:
|
@opoplawski see my comment on #1478. So apparently plplot on Fedora is compiled with dynamic drivers --- good. Perhaps the first message However the whole setup described in #1478 was set to provide our drivers and have them automatically found in all the MacOSX bundles and Windows installers, not mentioning individual installs of gdl. Wich works perfectly and saves us a lot of concerns. This is quite contradictory with the installation of gdl at system level by, e.g., the Fedora distribution, and I expected some troubles indeed. I suppose we could just have a test ( #ifdef ) that would basically say 'this is a distro compilation and the location of gdl and consorts is fixed by me, the distro maintainer' so that a number of locations (GDL_LIB_DIR only?) can be passed to the program. I'm concerned also by the location of the PROJ -related data (/usr/local/share/gnudatalanguage/resource/maps) etc. |
Note in passing: since the GH checks (continuous integration) do not test the installer or OSX bundles they can succeed but the installers etc WILL NOT WORK. |
@opoplawski thanks (in passing) for your dedication! |
Hmmm, let's check this calmly. |
Dear Orion, it seems to me this changes are perfect for your purpose, and in general for packagers whose distribution must put all In other words, unless a specific keyword triggers a special behaviour, the drivers location need to be found only relatively from the location of the executable. So I suggest that the specific installation of drivers in Additionnaly I suppose this is where the libgnudatalanguage.so shoudl go if gdl is built as a python module. Would you try such a scheme? |
On Debian, the proper path would be (complete) |
Hi thanks for your guidelines.
or
in GDL code itself. And, if GDL_LIB_DIR is not defined (the default), the location of drivers is deduced from the location of the executable (as it is now for OSX, Windows, and user-managed installations) Would that be OK? |
Yes, this is fine for me. |
That sounds good to me. |
Permit relocation of drivers (new version of #1481)
replaced by (merged) #1486 (do not know how to, I quote "Add more commits by pushing to the libdir branch on opoplawski/gdl." ) Please test? |
Current output:
Seems like we still need to deal with:
despite the test succeeding? Or is that just it trying to open /usr/lib64/gnudatalanguage/drivers which doesn't (yet) exist?