I did: ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua make sudo make install sudo make install-aqua Everything seems to be OK (some warnings about multiple definitions of some symbols). However: bass$ /Library/Frameworks/R.framework/Resources/bin/R Fatal error: unable to open the base package I got the same message when clicking on R.app in /Applications This didn't help either: bass$ env R_HOME=/Library/Frameworks/R.framework/Resources/ /Library/Frameworks/R.framework/Resources/bin/R WARNING: ignoring environment value of R_HOME Fatal error: unable to open the base package This is with the most recent r-devel (rsync'ed a few minutes ago). I do have R-1.8.1 installed. What did I miss in the installation? Michael -- Na (Michael) Li, Ph.D. Division of Biostatistics A443 Mayo Building, MMC 303 School of Public Health 420 Delaware St SE University of Minnesota Minneapolis, MN 55455 Phone: (612) 626-4765 Email: nali@umn.edu Fax: (612) 626-0660 http://www.biostat.umn.edu/~nali
Hm. Strange. The only things I can think of is remnants of old R installs, or not doing a clean install, having some old environmental variables sitting around, or undesirable interaction with R-1.8.1. On Feb 13, 2004, at 8:43, Na Li wrote:> > I did: > > ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua > make > sudo make install > sudo make install-aqua > > Everything seems to be OK (some warnings about multiple definitions of > some symbols). However: > > bass$ /Library/Frameworks/R.framework/Resources/bin/R > Fatal error: unable to open the base package > > I got the same message when clicking on R.app in /Applications > > This didn't help either: > > bass$ env R_HOME=/Library/Frameworks/R.framework/Resources/ > /Library/Frameworks/R.framework/Resources/bin/R > WARNING: ignoring environment value of R_HOME > Fatal error: unable to open the base package > > This is with the most recent r-devel (rsync'ed a few minutes ago). > > I do have R-1.8.1 installed. > > What did I miss in the installation? > > Michael > > -- Na (Michael) Li, Ph.D. > Division of Biostatistics A443 Mayo Building, MMC 303 > School of Public Health 420 Delaware St SE > University of Minnesota Minneapolis, MN 55455 > Phone: (612) 626-4765 Email: nali@umn.edu > Fax: (612) 626-0660 http://www.biostat.umn.edu/~nali > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel > >==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ------------------------------------------------------------------------ ------------------------- ==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au
On Fri, 13 Feb 2004, Na Li wrote:> > I did: > > ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua > make > sudo make install > sudo make install-aqua > > Everything seems to be OK (some warnings about multiple definitions of > some symbols). However: >I just tried this with the current CVS and had no problems. -thomas
I've never had these problems and I just built R-devel on three different machines these last two days. My suspect is that you have R in /usr/local/* and during building something has gone wrong. You should try to sudo rm -rf /Library/Frameworks/R.framework remove any version of R in the path and try to redo sudo make-install please let me know. stefano On Feb 13, 2004, at 5:43 PM, Na Li wrote:> > I did: > > ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua > make > sudo make install > sudo make install-aqua > > Everything seems to be OK (some warnings about multiple definitions of > some symbols). However: > > bass$ /Library/Frameworks/R.framework/Resources/bin/R > Fatal error: unable to open the base package > > I got the same message when clicking on R.app in /Applications > > This didn't help either: > > bass$ env R_HOME=/Library/Frameworks/R.framework/Resources/ > /Library/Frameworks/R.framework/Resources/bin/R > WARNING: ignoring environment value of R_HOME > Fatal error: unable to open the base package > > This is with the most recent r-devel (rsync'ed a few minutes ago). > > I do have R-1.8.1 installed. > > What did I miss in the installation? > > Michael > > -- > Na (Michael) Li, Ph.D. > Division of Biostatistics A443 Mayo Building, MMC 303 > School of Public Health 420 Delaware St SE > University of Minnesota Minneapolis, MN 55455 > Phone: (612) 626-4765 Email: nali@umn.edu > Fax: (612) 626-0660 http://www.biostat.umn.edu/~nali > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel >
I have also been having some trouble building R-devel on Panther. Using, ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua produces lots of warnings about multiple definitions of symbols, e.g. ld: warning multiple definitions of symbol _zlibVersion /usr/lib/libz.1.dylib(zutil.o) definition of _zlibVersion ../../../bin/libR.dylib(zutil.o) definition of _zlibVersion ld: warning multiple definitions of symbol _BC /usr/local/lib/libreadline.4.3.dylib(terminal.so) definition of _BC /usr/lib/libncurses.5.dylib(lib_termcap.o) definition of _BC and then dies with: make[4]: *** [R_aqua.so] Error 1 make[3]: *** [R] Error 2 make[2]: *** [R] Error 1 make[1]: *** [R] Error 1 make: *** [R] Error 1 On the other hand, ./configure --enable-R-shlib --with-blas='-framework vecLib' --with-lapack seems to make and install fine. R 1.8.1 built on this machine (a G5) --with-aqua so I'm a little mystified. Any suggestions on things to check would be most welcome. url: www.econ.uiuc.edu/~roger Roger Koenker email rkoenker@uiuc.edu Department of Economics vox: 217-333-4558 University of Illinois fax: 217-244-6678 Champaign, IL 61820
This is no problem. R does not use the Apple provided zlib, but the dynamic linker looks there first. The second warning would probably go away if you recompiled readline in /usr/local (because Apple did not provide ncurses until Panther). Anyway, there are no conflicts. On Feb 14, 2004, at 10:52, Roger Koenker wrote:> ld: warning multiple definitions of symbol _zlibVersion > /usr/lib/libz.1.dylib(zutil.o) definition of _zlibVersion > ../../../bin/libR.dylib(zutil.o) definition of _zlibVersion > ld: warning multiple definitions of symbol _BC > /usr/local/lib/libreadline.4.3.dylib(terminal.so) definition of _BC > /usr/lib/libncurses.5.dylib(lib_termcap.o) definition of _BC >==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au
This, of course, is a problem. Try a completely clean install. And then it may be interesting what happens just before this. On Feb 14, 2004, at 10:52, Roger Koenker wrote:> make[4]: *** [R_aqua.so] Error 1 > make[3]: *** [R] Error 2 > make[2]: *** [R] Error 1 > make[1]: *** [R] Error 1 > make: *** [R] Error 1 >==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au