> Macintosh:Desktop ljs$ echo $PKG_CONFIG_PATH > /usr/local/bin is unlikely to be correct. A typical Linux setting is
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig and on my Mac the pkg-config files are in /usr/local/lib/pkgconfig and /usr/lib/pkgconfig. Most likely it would work if PKG_CONFIG_PATH is not set, so try that first. On Sun, 30 Dec 2007, Lindsay Stirton wrote: > Greetings, > > I wonder if anyone can offer any help or advice--even direction to an > appropriate source of advice. I am trying to install rjags 1.0.1 on Mac OS X > 10.5 (see http://www-fis.iarc.fr/~martyn/software/jags/). I have R.app 2.6.1 > installed. > > JAGS 1.0.1 is apparently successfully installed. I (think I) know this because > when I type 'jags' into Terminal, I get the following: > > Macintosh:Desktop ljs$ jags > Welcome to JAGS 1.0.1 on Thu Dec 27 20:56:09 2007 > JAGS is free software and comes with ABSOLUTELY NO WARRANTY > Loading module: basemod > Loading module: bugs > . > > However, when I try to install rjags, I get the following problem. > > Macintosh:Desktop ljs$ sudo R CMD INSTALL rjags_1.0.1-1.tar.gz > Password: > * Installing to library '/Library/Frameworks/R.framework/Resources/library' > * Installing *source* package 'rjags' ... > checking for pkg-config... /opt/local/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for JAGS... configure: error: Package requirements (jags = 1.0.1) > were > not met: > > No package 'jags' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > ERROR: configuration failed for package 'rjags' > ** Removing '/Library/Frameworks/R.framework/Resources/library/rjags' > > I am really not sure what the problem is. I have (I think) set the proper > environment variables correctly. See below: > > Macintosh:Desktop ljs$ which jags > /usr/local/bin/jags > Macintosh:Desktop ljs$ echo $PKG_CONFIG_PATH > /usr/local/bin > > I should say that I had many other problems > along the way--gfortran not originally installed properly, R CMD INSTALL > couldn't find pkg-config. However, the above description shows the problems > remaining even after I have done a little homework. > > Best wishes, > > Lindsay Stirton > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.