From Ray.Brownrigg@mcs.vuw.ac.nz  Fri May 17 05:59:55 2002
From: Ray.Brownrigg@mcs.vuw.ac.nz (Ray.Brownrigg@mcs.vuw.ac.nz)
Date: Fri, 17 May 2002 06:59:55 +0200 (MET DST)
Subject: [Rd] Re: R-1.5.0 on NetBSD (PR#1566)
Message-ID: <200205170459.GAA13479@pubhealth.ku.dk>

Firstly I omitted the following information from my original message:

R is now configured for i386--netbsdelf

  Source directory:          .
  Installation directory:    /usr/pkg
  C compiler:                cc  -mieee-fp -I/mnt/scratch/pkgsrc/math/R/work.i386/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include
  C++ compiler:              c++  -mieee-fp -I/mnt/scratch/pkgsrc/math/R/work.i386/.buildlink/include -I/mnt/scratch/pkgsrc/math/R/work.i386/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include
  FORTRAN compiler:          /mnt/scratch/pkgsrc/math/R/work.i386/.buildlink/bin/f2c-f77 -O
  X11 support:               yes
  Gnome support:             no
  Tcl/Tk support:            yes
  Readline support:          yes

  R profiling support:       yes
  R as a shared library:     no


Secondly, a workaround patch is the following:

--- src/main/unzip.h.orig       Mon Feb  4 11:48:57 2002
+++ src/main/unzip.h
@@ -49,6 +49,16 @@
 #include "zlib.h"
 #endif
 
+/* Fudge for NetBSD's replacement of OF by __P in zconf.h */
+
+#ifndef OF /* function prototypes */
+#  ifdef STDC
+#    define OF(args)  args
+#  else
+#    define OF(args)  ()
+#  endif
+#endif
+
 #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
 /* like the STRICT of WIN32, we define a pointer that cannot be converted
     from (void*) without cast */


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


[Rd] Re: R-1.5.0 on NetBSD (PR#1566)
Ray.Brownrigg@mcs.vuw.ac.nz