[R] configuration/compilation problems

Thomas Lumley thomas at biostat.washington.edu
Wed Nov 4 03:00:38 CET 1998


On Mon, 2 Nov 1998, Matthew Wiener wrote:

> 
> R is having trouble finding some of the things it needs to compile.
> 
> In particular, I'm getting messages saying that it can't find things it
> wants in -lblas, -ldxml, -ldnet, and -ldnet_stub.  It also can't find
> dl.h, ieeefp.h, and ieee754.h.

Some of these things needn't be a problem. R is testing for whether
various things exist that it can use but may or may not need. These might
be present in multiple different forms. For example, the headers needed to
define IEEE-754 standard handling of Inf and NaN might be in ieee754.h or
in ieeefp.h. Even if they are in neither place R will still compile, it
just won't handle infinity as nicely.

The -lblas check looks to see if your machine has an optimised set of
linear algebra routines in libblas (some vendors provide these). If it
doesn't R can provide its own routines.


> 
> I can't figure out whether these things are included with R somewhere and
> I need to tell it where to look, or they're not included and I need to
> get them.  I also can't figure out where I would set the -lblas, -ldxml
> variables.  I've looked through make files and configure files.  I'm
> stuck.

For comparison, the Debian Linux machine on which I happily compile and
run R doesn't have -ldxml, -lblas, dl.h, ieeefp.h, -ldnet or -ldnet_stub.
It does have ieee754.h

If you can't compile there is probably something else wrong. What happens
after configure, make?

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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