[Rd] R-1.5.0 on NetBSD (PR#1565)

Ray.Brownrigg@mcs.vuw.ac.nz Ray.Brownrigg@mcs.vuw.ac.nz
Fri, 17 May 2002 02:06:28 +0200 (MET DST)


NetBSD 1.5ZA on intel

There is a problem with the R-1.5.0 compile under NetBSD caused by a
non-standard zconf.h in NetBSD.  The configure script quite happily
accepts the installed zlib.h, but because the NetBSD zconf.h
substitutes the OF macro by an  __P macro (in zconf.h) the make fails
when trying to compile dounzip.c with many errors like:

In file included from dounzip.c:28:
unzip.h:114: parse error before `OF'

(unzip.h includes zlib.h which includes zconf.h)

So I guess the ideal is for the configure script to test this aspect
(the existence of the OF macro) while it is checking the zlib.h itself,
then fall back to the supplied zconf.h if the OF macro is not defined.

I'll try to construct a workaround, but I am not at all familiar with
the intricacies of the configure script, so I expect this will be much
more efficiently achieved by someone who is.

Certainly I can easily test any proposed solution.

Ray Brownrigg

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._