My R is installed from a .dmg, and resides as follows:
$ which R
/usr/local/bin/R
The problem is that I cannot build packages. For example, see the below (which also indicates that libfrtbegin.a is in the
/sw
directory, i.e. that it was installed by the FINK setup). Does anybody know how I can solve this problem, e.g. how to alter the
-L(directory)
commands that are employed?
(Aside: I looked for a solution on the R archives. Also, I've tried to make my subject-line clear enough that an answer will benefit other osx/fink users. Thanks!!)
$ R INSTALL pspline
* Installing *source* package 'pspline' ...
** libs
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o pspline.so Pspline.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 -lcc_dynamic
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4) does not exist
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/../../..) does not exist
ld: can't locate file for: -lfrtbegin
make: *** [pspline.so] Error 1
ERROR: compilation failed for package 'pspline'
** Removing '/Applications/StartR.app/RAqua.app/Contents/pspline'
$ locate frtbegin /sw/lib/libfrtbegin.a
Dan E. Kelley, Associate Professor phone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html