[R] Can't install "e1071"

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Tue Apr 3 18:36:13 CEST 2001

>>>>> On Tue, 3 Apr 2001 08:37:45 -0700 (PDT),
>>>>> M Edward (Ed) Borasky (ME(B) wrote:

  > I can't seem to get the "e1071" package to build. Here is a Linux log; the
  > Windows version behaves the same way:
  > --------------------------------------------------------------------------
  > # R CMD INSTALL e1071*.gz
  > Installing source package `e1071' ...
  > creating cache ./config.cache
  > checking for library containing pnm_readpnm... no
  > checking for library containing pbm_readpbm... -lpbm
  > checking for library containing pgm_readpgm... -lpgm
  > checking for library containing ppm_readppm... -lppm
  > checking for library containing pnm_writepnm... -lpnm
  > updating cache ./config.cache
  > creating ./config.status
  > creating R/pnm.R
  > creating src/Makevars
  >  libs
  > gcc -I/usr/lib/R/include -I. -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES
  >  -fPIC  -O2 -march=i386 -mcpu=i686 -c Rsvm.c -o Rsvm.o
  > gcc -I/usr/lib/R/include -I. -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES
  >  -fPIC  -O2 -march=i386 -mcpu=i686 -c cmeanscl.c -o cmeanscl.o
  > gcc -I/usr/lib/R/include -I. -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES
  >  -fPIC  -O2 -march=i386 -mcpu=i686 -c cshell.c -o cshell.o
  > gcc -I/usr/lib/R/include -I. -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES
  >  -fPIC  -O2 -march=i386 -mcpu=i686 -c pnm.c -o pnm.o
  > In file included from /usr/include/pbm.h:7,
  >                  from /usr/include/pgm.h:7,
  >                  from /usr/include/ppm.h:7,
  >                  from /usr/include/pnm.h:7,
  >                  from pnm.c:19:
  > /usr/include/pbmplus.h:305:20: shhopt.h: No such file or directory
  > make: *** [pnm.o] Error 1

which version of netpbm have you installed? the pbmplus.h contained in
the debian linux stable package with version 19940301.2 does not have
a reference to shhopt.h in pbmplus.h ...

but anyway, that is beyond R's domain and certainly a bug in your
netpbm installation.

                        Friedrich  Leisch 
Institut für Statistik                     Tel: (+43 1) 58801 10715
Technische Universität Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstraße 8-10/1071      Friedrich.Leisch at ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch

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