[R] packages installation failed on Linux

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Tue Dec 19 17:21:28 CET 2000

>>>>> Liaw, Andy writes:

> Hi all,
> I've successfully compiled R-1.2 on a Linux box (Mandrake 7.1).  However,
> when I installed packages from sources, I run into problems with the
> packages logspline and tseries.  The error messages are as follows.  Can
> anyone help?  The compiler is gcc 2.95.3, if that helps.

> Andy
> ================================================
> Installing source package `logspline' ...
>  libs
> gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
> -D__NO_MATH_INLINES  -fPIC  -g -O2 -c logsplin.c -o logsplin.o
> g77   -fPIC  -g -O2 -c mpack.f -o mpack.o
> ld: warning: cannot find entry symbol _start; defaulting to 08048080
> logsplin.o: In function `logcensor':
> /tmp/R.INSTALL.14651/logspline/src/logsplin.c:101: undefined reference to
> `printf'
> /tmp/R.INSTALL.14651/logspline/src/logsplin.c:117: undefined reference to
> `pow'

> [ Lots of similar errors deleted... ]

> make: *** [logspline.so] Error 1
> ERROR: Compilation failed for package `logspline'

There is a new version of logspline on CRAN.  Please try again.

> Installing source package `tseries' ...
>  libs
> gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
> -D__NO_MATH_INLINES  -fPIC  -g -O2 -c arma.c -o arma.o
> gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
> -D__NO_MATH_INLINES  -fPIC  -g -O2 -c bdstest.c -o bdstest.o
> bdstest.c:41: `DEBUG' redeclared as different kind of symbol
> /usr/local/lib/R/include/Rinternals.h:773: previous declaration of `DEBUG'
> bdstest.c:41: warning: `DEBUG' was declared `extern' and later `static'
> make: *** [bdstest.o] Error 1
> ERROR: Compilation failed for package `tseries' 

A new version of tseries will be made available later this week.

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