[Rd] Failed to install gbm_1.4-2 (PR#7814)

From: <manager_at_molbiol.ox.ac.uk>
Date: Mon 25 Apr 2005 - 12:12:11 GMT


Full_Name: The Manager
Version: 2.0.1
OS: Solaris 9
Submission from: (NULL) (129.67.80.243)

> install.packages("gbm")

trying URL `http://cran.uk.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=ISO-8859-1' length 52975 bytes opened URL



downloaded 51Kb

trying URL `http://cran.uk.r-project.org/src/contrib/gbm_1.4-2.tar.gz' Content type `application/x-gzip' length 252551 bytes opened URL



downloaded 246Kb
* Installing *source* package 'gbm' ...
** libs
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c adaboost.cpp -oadaboost.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c bernoulli.cpp -o bernoulli.o
g++ -I/package/R/2.0.1-32bit/lib/R/include  -I/usr/local/include   -fPIC  -O2 -c
coxph.cpp -o coxph.o
g++ -I/package/R/2.0.1-32bit/lib/R/include  -I/usr/local/include   -fPIC  -O2 -c
dataset.cpp -o dataset.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c distribution.cpp -o distribution.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c gaussian.cpp -ogaussian.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c gbm.cpp -o gbm.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c gbm_engine.cpp -o gbm_engine.o
g++ -I/package/R/2.0.1-32bit/lib/R/include -I/usr/local/include -fPIC -O2 -c gbmentry.cpp -ogbmentry.o
gbmentry.cpp: In function `SEXPREC* gbm_shrink_pred(SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*, SEXPREC*)':
gbmentry.cpp:677: error: `NAN' undeclared (first use this function) gbmentry.cpp:677: error: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [gbmentry.o] Error 1
ERROR: compilation failed for package 'gbm' ** Removing '/package/R/2.0.1-32bit/lib/R/library/gbm' ** Restoring previous '/package/R/2.0.1-32bit/lib/R/library/gbm'

Delete downloaded files (y/N)? y

Warning message:
Installation of package gbm had non-zero exit status in: install.packages("gbm")
> q()



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Apr 25 22:14:52 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:04 GMT