How to change the directory installed to when installing from source?
by Tsuga from LinuxQuestions.org on (#5N2S1)
I am installing JAGS from source on Slackware64 14.2. I extracted the file to /tmp/jags. As root, I moved to the folder created and ran
Quote:
It all seemed to work.
In R, I am trying to install rjags now. The installation fails with
Quote:
That's probably because JAGS is in /usr/local/lib/JAGS instead of lib64, where R seems to be looking.
I did add /usr/local/lib to /etc/ld.so.conf (that was advice from JAGS docs), but R still keeps looking for JAGS in lib64, so I figure it's best to just put it there.
How can I direct the installation of JAGS to /usr/local/lib64, instead of /usr/local/lib? The JAGS directory has Makefiles, config.___, configure, and install-sh and I don't know which one tells JAGS to create the lib in .../lib and not .../lib64. Can I just add an attribute to "configure" or "make" to say where JAGS should rest once installed? For example Code:./configure --lib=/usr/local/lib64 or something like that? If I can, how exactly should it read?
Quote:
./configure make make install |
In R, I am trying to install rjags now. The installation fails with
Quote:
error: File not found: /usr/local/lib64/JAGS/modules-4/basemod.so |
I did add /usr/local/lib to /etc/ld.so.conf (that was advice from JAGS docs), but R still keeps looking for JAGS in lib64, so I figure it's best to just put it there.
How can I direct the installation of JAGS to /usr/local/lib64, instead of /usr/local/lib? The JAGS directory has Makefiles, config.___, configure, and install-sh and I don't know which one tells JAGS to create the lib in .../lib and not .../lib64. Can I just add an attribute to "configure" or "make" to say where JAGS should rest once installed? For example Code:./configure --lib=/usr/local/lib64 or something like that? If I can, how exactly should it read?