[R] IRIX build error of R-1.3.0 (and fix)

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sat Jun 30 08:15:34 CEST 2001

We've hade a lot of discussion about this on R-devel and elsewhere.
Basically the configure process is getting inconsistent answers.  Please do
not change those files, but change src/include/config.h to read

/* Define if you have BSD networking headers and libraries. */

/* Define if you have support for sockets. */
#define HAVE_SOCKETS 1

/* Define if you have support for ftp/http access. */

/* Define if you provide support for libxml's ftp/http functions. */

or you will have an sub-optimal system.

The underlying problem is an error in the way IRIX has these files set up,
failing to include dependent headers.

On Fri, 29 Jun 2001, Tim Carlson wrote:

> Hello,
> For R-1.3.0 on IRIX 6.5.12 (probably earlier versions as well), you need
> to add
> to nanoftp.c and nanohttp.c
> It also helps to avoid using the IRIX default libz. (missing defines of
> gzseek and others).

Well, configure tests the header file for zlib >= 1.1.3, and that version
(there is only one meeting the test at present) does have those functions.
So if you are having problems, you must have an inconsistent header and
library and perhaps you should correct that?  Or is the test not working
and you do have an earlier version?

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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