[R] e1071 and netpbm

John Logsdon j.logsdon at lancaster.ac.uk
Fri Mar 19 13:55:54 CET 1999



On Fri, 19 Mar 1999, Friedrich Leisch wrote:

> >>>>> On Thu, 18 Mar 1999 16:24:27 +0000 (GMT),
> >>>>> John Logsdon (JL) wrote:
> 
> JL> Having compiled and successfully installed e1071 on a previous machine
> JL> (and run under 0.62.4) I want to compile it on a new machine to run under
> JL> 0.63.3 but the loader can't find netpbm - both machined are RH5.2 Linux
> JL> installations. 
> 
> JL> I have some quite old netpbm's on a CD but none more recent and I
> JL> certainly didn't install them on my old machine.  I can't locate or rpm -q
> JL> or rpm -qf anything on either machine.  However I seem to have compiled it
> JL> previously. Do you have to compile one of the other libraries first or
> JL> something?  Rather puzzled.
> 
> you need a development package providing the p?m routines, i.e., pnm.h
> and fcts like pnm_readpnm & friends.
> 
> in debian this is the netpbm package ... don't now about redhat. best
> try to search for pnm.h in the rpm's.
> 

In RH5.2, both of these are in libgr-devel, which I had already loaded. 
However the problem was that the archive files were called
/usr/include/libpbm.a and /usr/include/libpnm.a - there was no net
prefixed.  The solution was therefore to remove the 3 characters 'net'
from the Makefile!!! 

Now it works fine!  Don't know how I got it to work before, though.

Thanks

John

> Hope this helps,
> Fritz
> 
> PS: I really have to improve the handling of this ...

Pretty useful general functions anyway - they should really have been
designed into the S language to start with!

> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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