William Asquith
2006-Apr-26 02:51 UTC
[R] MacOSX package install problem: pkgs quadprog & tseries
I upgraded to R-2.2.1 on two PPC G5 computers today. Further I want to work with the tseries package for the first time. As root with R CMD INSTALL tseries_0.10-0.tar.gz I get the following gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple- darwin6.8/3.4.2 -lg2c -lSystem -L/usr/local/lib/gcc/powerpc-apple- darwin6.8/3.4.2 -lg2c -lSystem -lcc_dynamic -F/Library/Frameworks/ R.framework/.. -framework R ld: can't locate file for: -lcc_dynamic make: *** [tseries.so] Error 1 ERROR: compilation failed for package 'tseries' ** Removing '/Library/Frameworks/R.framework/Versions/2.2/Resources/ library/tseries' the -lcc_dynamic is also problem with quadprog. I've read the appropriate R manuals; however, I don't know where to go from here. Thanks, William Asquith (author package lmomco)
Saptarshi Guha
2006-Apr-26 03:23 UTC
[R] MacOSX package install problem: pkgs quadprog & tseries
Hi, I had the same problem while compiling RGL. This is what i did (from http://wiki.urbanek.info/index.cgi?TigeR) Edit these two files as root, /Library/Frameworks/R.framework/Resources/bin/SHLIB /Library/Frameworks/R.framework/Resources/etc/Makeconf and comment out all references to cc_dynamic (i didnt remove anything else). Should work after that. Rgds Saptarshi Saptarshi Guha | sapsi at pobox.com | http://www.stat.purdue.edu/~sguha When the going gets weird, the weird turn pro. -- Hunter S. Thompson On Apr 25, 2006, at 10:51 PM, William Asquith wrote:> > I upgraded to R-2.2.1 on two PPC G5 computers today. Further I want > to work with the tseries package for the first time. > > As root with > > R CMD INSTALL tseries_0.10-0.tar.gz > > I get the following > > gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - > o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o > tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple- > darwin6.8/3.4.2 -lg2c -lSystem -L/usr/local/lib/gcc/powerpc-apple- > darwin6.8/3.4.2 -lg2c -lSystem -lcc_dynamic -F/Library/Frameworks/ > R.framework/.. -framework R > ld: can't locate file for: -lcc_dynamic > make: *** [tseries.so] Error 1 > ERROR: compilation failed for package 'tseries' > ** Removing '/Library/Frameworks/R.framework/Versions/2.2/Resources/ > library/tseries' > > the -lcc_dynamic is also problem with quadprog. I've read the > appropriate R manuals; however, I don't know where to go from here. > > Thanks, > > William Asquith (author package lmomco) > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting- > guide.html