Christina, Tiger does not have 64-bit X11, so you either have to disable X11 support (--without-x) or install 64-bit version of X11 from somewhere. If you use the (rather old) R-25-br binary, then it expects X11 to be in /usr/local/X11R7 (you can download it at you own risk from http://r.research.att.com/Xorg-quad.tar.gz I didn't test it recently but it is the full client including headers etc. for all four architectures
Cheers, Simon On Mar 13, 2008, at 5:49 PM, Christina Curtis wrote: > Hi All, > I am having difficulty getting 64-bit R to compile properly on Tiger > 10.4.11 > . > Specifically, I have tried both installing R2.6.2 from source and > installing > the R-25-br-quad.tar.gz binary, but both yield errors concerning X11. > > When I build R-2.6.2.tar.gz from source, using the following commands: > > export PATH=/usr/local/lib64/X11/bin:$PATH > > ./configure CC='gcc-4.0 -arch x86_64' CXX='g++-4.0 -arch x86_64' > \F77=' > gfortran-4.2 -arch x86_64' FC='gfortran-4.2 -arch x86_64' > \r_arch=x86_64 > \--with-blas='-framework vecLib' --with-lapack --with-x \--with- > system-zlib > --build=x86_64-apple-darwin8.8.1 --prefix=/usr/local/lib64 --with-x > --x-includes=/usr/local/lib64/X11/include/ > --x-libraries=/usr/local/lib64/X11/lib/ --with-readline \--without- > iconv > \CFLAGS="-g -O2 -march=nocona" CXXFLAGS="-g -O2 -march=nocona" > \FFLAGS="-g > -O2 -march=nocona" FCFLAGS="-g -O2 -march=nocona" \CPPFLAGS='-I/sw/ > include > -I/sw/include/readline -I/usr/local/include -I/usr/local/include/ > readline > -I/usr/include' \LDFLAGS='-L/usr/local/lib/x86_64 -L/usr/local/lib > -L/usr/lib -L/sw/lib' > > compilation appears fine apart from the following error: > configure: error: --with-x=yes (default) and X11 headers/libs are not > available > > I am not certain as to why this occurs given that the binaries are > in the > PATH. > > I have also followed the guide outlined on the experimental build > page: > http://r.research.att.com/exp/ > and in a previous post: > http://www.mail-archive.com/[email protected]/msg01673.html > for installing the R-2.5 quad binary. R-25-br-quad.tar.gz installs > fine, but > despite having the X11 64 bit client installed in /usr/local/lib64/ > X11* *, > gives an error > >> x11() > Error in x11() : X11 module cannot be loaded > In addition: Warning message: > unable to load shared library > '/Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so': > dlopen(/Library/Frameworks/R.framework/Resources/modules/x86_64/ > R_X11.so, > 6): Library not loaded: /usr/local/X11R7/lib/libSM.6.dylib > Referenced from: > /Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so > Reason: image not found > >> sessionInfo() > R version 2.5.0 Patched (2007-05-02 r41420) > x86_64-apple-darwin8.9.1 > locale: > C > attached base packages: > [1] "stats" "graphics" "grDevices" "utils" "datasets" > "methods" > [7] "base" > > I have tried creating a soft link from /usr/local/lib64/X11 to > /usr/local/X11R7, but this results in the error: > > Error in x11() : X11 module cannot be loaded > In addition: Warning message: > unable to load shared library > '/Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so': > dlopen(/Library/Frameworks/R.framework/Resources/modules/x86_64/ > R_X11.so, > 6): Library not loaded: /usr/local/X11R7/lib/libSM.6.dylib > Referenced from: > /Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so > Reason: no suitable image found. Did find: > /usr/local/X11R7/lib/libSM.6.dylib: mach-o, but wrong > architecture > > Is there a binary available for X11R7? > Any other solutions as to how to get 64-bit R functioning properly > with X11 > on Tiger. > > Thanks in advance, > C > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
