Re: [R] Trying to install rjags on Mac OS X 10.5 -- problem solved

2008-01-02 Thread Lindsay Stirton
Dear R Users, Thanks to the suggestions of a few of you, I have solved the problems I have had getting rjags running on Mac OS X 10.5. In the hope that others in future might benefit, I set out here how the problem was solved. 1. The problem of gfortran not installing properly was fixed as per

Re: [R] Trying to install rjags on Mac OS X 10.5

2008-01-01 Thread 0093
Dear Lindsay, If you "pkgconfig" installed by MacPorts. Maybe it likely to be caused by JAGS install. You'll better to do sudo make uninstall ./configure --prefix=/usr/local --mandir=/usr/local/share/man make sudo make install sudo R CMD INSTALL -l /Library/Frameworks/R.framework/Resources/li

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-31 Thread Lindsay Stirton
Thanks Rob, Since I already had Xcode 3.0, I re-installed gfortran (from the R website, not from the .dmg) and gcc4.2.1 preview. I am afraid the outcome was the same, i.e. jags 1.0.1 not found. Yes I do use Macports (and formery used Fink, which is still installed). What issues does this raise?

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-31 Thread Vincent
I had the same issue on my Mac. After install pkg-config from MacPorts Martyn suggested to add the following 2 lines to my .bashrc file: export LD_LIBRARY_PATH="/usr/local/lib" export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" Everything worked after that. Best, Vincent On Dec 30, 11:56 am, L

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Rob Goedman
Hi Lindsay, Did have some difficulties as well, but got it to work using Xcode3.0, Apple's gcc4.2preview release and gfortran 4.2.1 from Simon's web site. This was on R-devel though, on a Mac Intel. Can it find the jags executable say from your home directory? Have you tried 'make check' in

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Lindsay Stirton
Quoting Prof Brian Ripley <[EMAIL PROTECTED]>: > 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. Thanks--but this still doesn't seem to get me anywhere (see below). Macin

Re: [R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Prof Brian Ripley
> 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

[R] Trying to install rjags on Mac OS X 10.5

2007-12-30 Thread Lindsay Stirton
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