Article 5N2S1 How to change the directory installed to when installing from source?

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:
./configure
make
make install
It all seemed to work.

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
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?latest?d=yIl2AUoC8zA latest?i=BbDJCg-jXm4:Pg70igEa47Y:F7zBnMy latest?i=BbDJCg-jXm4:Pg70igEa47Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=BbDJCg-jXm4:Pg70igEa47Y:gIN9vFwBbDJCg-jXm4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments