[R] Install from source
Martin Maechler
maechler at stat.math.ethz.ch
Fri Feb 9 17:41:08 CET 2001
>>>>> "Daniel" == Daniel A Powers <dpowers at mail.la.utexas.edu> writes:
Daniel> R-users --
Daniel> I changed the file.tgz files to file_ and tryed the install (on my linux
Daniel> 5.2 and solaris boxes). Here's is what I get (solaris)
Daniel> dahlia{dpowers}52: R CMD INSTALL gnlm_
Daniel> Installing source package `gnlm' ...
Daniel> libs
Daniel> gcc -I/home/soc/faculty/dpowers/R-1.2.1/include -I/usr/local/include
Daniel> -fPIC -g -O2 -c dist.c -o dist.o
Daniel> o gnlm. dist.o -lg2c -lm -L/usr/ccs/lib -L/usr/lib
Daniel> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2
Daniel> -L/usr/local/sparc-sun-solaris2.6/lib -L/usr/ccs/bin -L/usr/ccs/lib
Daniel> -L/usr/local/lib -lm
Daniel> make: o: Command not found
Daniel> make: [gnlm.] Error 127 (ignored)
Daniel> cp: *.so: No such file or directory
Daniel> ERROR: Compilation failed for package `gnlm'
Daniel> Any ideas?
Yes.
It's again Lindsey's nonstandard R packages (sorry Jim but its true)
AFAIK he still ships a <pkg>/src/Makefile
which has been strongly discouraged for a least a year now.
Your solution :
# 1. Unpack
tar xfvz gnlm.tgz
# 2. remove the garbate
rm gnlm/src/Makefile
# 3. Install
R INSTALL gnlm
Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list