[R] compilation of 0.62.4

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Nov 5 15:32:32 CET 1998


Jonathan Yuen <Jonathan.Yuen at tvs.slu.se> writes:

> Hello,
> 
> I have compiled 0.62.4 under Linux and it runs fine (a gcc/g77
> combination).  When I try the same thing under AIX (4.1.5) or under dec's
> OSF (both also gcc/g77) I get problems.  Under AIX, system.c complains:
> 
> system.c: In function `waitForActivity':
> system.c:150: `fd_set' undeclared (first use in this function)
> system.c:150: (Each undeclared identifier is reported only once
> system.c:150: for each function it appears in.)
> system.c:150: parse error before `readMask'
> system.c:154: `readMask' undeclared (first use in this function)
> 
> On the Alpha it compiles OK, but dumps core during initialization (I may
> not have g77 installed right becuase I still get errors with g77 -v).
> 
> Has anyone experience with these two operating systems?  I access R on my
> Toshiba libretto running linux with the display set to my 'other'
> workstation, but I think it should run on at least one of these other
> machines.

Hehe. That's a rather nice "David-and-Goliath" image. The Libretto is
215x125x25 mm, right?

Seriously, though: people have previously gotten around the Alpha/OSF
problems. Something about getting the ieee setting right - look through
the back archives of R-devel and R-help (better you than me....).

I don't recall anyone having pains with AIX before, but obviously
you're missing the definition of fd_set, which generally happens in
<sys/select.h>. I'd go searching in the include files for it.
something like

find /usr/include -name '*.h' | xargs grep fd_set

or 

find /usr/include -name '*.h' -exec grep fd_set {} /dev/null  \;

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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