Re: [Bug-apl] Incorrect library path when installed in non-default location

2014-07-08 Thread Juergen Sauermann
Hi, there was something wrong in gnu-apl.d/Makefile.am. Hopefully fixed in SVN 367. /// Jürgen On 07/08/2014 12:54 PM, Elias Mårtenson wrote: You are right. The system preferences file has not been properly updated with the correct --prefix setting from the configure script: This is from th

Re: [Bug-apl] Incorrect library path when installed in non-default location

2014-07-08 Thread Elias Mårtenson
You are right. The system preferences file has not been properly updated with the correct --prefix setting from the configure script: This is from the file /home/emartenson/src/apl/dist/etc/gnu-apl.d/preferences: LIBREF-3 /usr/local/lib/apl/wslib3 LIBREF-4 /usr/local/lib/apl/wslib4 LIBREF-5

Re: [Bug-apl] Incorrect library path when installed in non-default location

2014-07-06 Thread Juergen Sauermann
Hi Elias, I would still need the apl -l 37 output to see what is happening. BTW the second column in )LIBS shows where the path comes from. If it shows PSYS (like you said below) then it comes from the system's preference file. The question is then: which one? This is what apl -l 37 will tell us

Re: [Bug-apl] Incorrect library path when installed in non-default location

2014-07-06 Thread Elias Mårtenson
Actually I don't have any APL binary installed anywhere else. Regards, Elias On 6 Jul 2014 23:16, "Juergen Sauermann" wrote: > Hi Elias, > > )LIBS is currently computed from the location of the running apl binary. > This is sometimes convenient and sometimes not. > > A secure way of handling th

Re: [Bug-apl] Incorrect library path when installed in non-default location

2014-07-06 Thread Juergen Sauermann
Hi Elias, )LIBS is currently computed from the location of the running apl binary. This is sometimes convenient and sometimes not. A secure way of handling this is to have the paths in the user's preferences file. I believe that some of the libs (wslib3, 4, and 5) are installed in the locati

[Bug-apl] Incorrect library path when installed in non-default location

2014-07-06 Thread Elias Mårtenson
When I build and install GNU APL, I specify --prefix=/home/elias/src/apl/dist. I then expect the PSYS to be /home/elias/src/apl/dist/lib/apl/wslib*[0-9]*. Now, typing )LIBS at the prompt gives me: /usr/local/lib/apl/wslib*[0-9]*. This is not correct, is it? Regards, Elias