installing Lindsey's package on a mac
Do you have the developer tools installed? The package needs C and Fortran compilers. I get different error messages (below). In any case it doesn't seem to work, because of a problem in dist.c. -thomas gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c cutil.c -o cutil.o gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c dist.c -o dist.o g77 -fno-common -g -O2 -c gettvc.f -o gettvc.o gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c romberg.c -o romberg.o gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c toms614.c -o toms614.o gcc -bundle -flat_namespace -undefined suppress -o rmutil.so cutil.o dist.o gettvc.o romberg.o toms614.o -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4 -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../.. -lfrtbegin -lg2c -lSystem ld: dist.o has external relocation entries in non-writable section (__TEXT,__text) for symbols: restFP saveFP
On Wed, 28 Jul 2004, Anne G wrote:
This is the console.log Mac OS X Version 10.3.4 (Build 7H63) 2004-07-28 09:03:51 -0400 Authentication Service: Started * Installing *source* package 'rmutil' ... tar: R-ex: Cannot stat: (null) tar: help: Cannot stat: (null) tar: html: Cannot stat: (null) tar: latex: Cannot stat: (null) tar: Error exit delayed from previous errors ** libs /Library/Frameworks/R.framework/Resources/bin/SHLIB: line 1: make: command not found ERROR: compilation failed for package 'rmutil' Does this help? On Wed, 28 Jul 2004, Anne G wrote:
Hi I went to http://cran.us.r-project.org/other-software.htmlhttp://cran.us.r-project.org/other-software.html and then to http://popgen0146uns50.unimaas.nl/~jlindsey/rcode.html to download rmutil.tgz and gnlm.tgz. I have a mac OSX, 10.3.4, R 1.9.0 I decompress the two files, take out the makefile from the scr directory. then in the R menu, I choose packages, install from local files, and then I select the one of the folder on the desktop. I get the error message install.from.file(pkg="/Users/anne/Desktop/rmutil") npackage installation failed Anyone has had that problem before and know how to fix it? thanks Anne
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
Thomas Lumley Assoc. Professor, Biostatistics tlumley@u.washington.edu University of Washington, Seattle