Skip to content

R-beta: Problem instaling e1071

2 messages · Pedro Lima, Friedrich Leisch

#
I was trying to install e1071 and the compilation failed. Can some of
you R gurus help me with this...

thanks

pedro

----

Installing package `e1071' ...
libs
gcc -g -fpic -I/usr/local/R/include   -c pgm.c -o pgm.o
pgm.c:19: pgm.h: No such file or directory
make: *** [pgm.o] Error 1
cp: src-c/*.so: No such file or directory
R
DONE                 



-----
Pedro Vale Lima
Dep. Chemical Eng.
Coimbra University
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
PL> I was trying to install e1071 and the compilation failed. Can some of
PL> you R gurus help me with this...

PL> thanks

PL> pedro

PL> ----

PL> Installing package `e1071' ...
PL> libs
PL> gcc -g -fpic -I/usr/local/R/include   -c pgm.c -o pgm.o
PL> pgm.c:19: pgm.h: No such file or directory
PL> make: *** [pgm.o] Error 1
PL> cp: src-c/*.so: No such file or directory
PL> R
PL> DONE                 

As indicated in the README file of e1071 you need libpgm and libpbm to
compile the image loading functions. pgm.h is an associated header
file. For Debian Linux these are contained in the netpbm and
netpbm-dev packages, I don't know about other OSs.


Best,