Christof Schuster <e5chsc at rz.uni-jena.de> writes:
> yesterday I have installed R-0.16.1 successfully on my
> Red Hat Linux 4.0 (Kernel 2.0.18) System with gcc-2.7.2-9 in my office.
> But the installation on my PC at home running Red Hat Linux 3.0.3
> (Kernel 2.0.0) using gcc-2.7.2-2 unfortunately failed, when the
> installation routine tried to compile dotcode.c in the src/main directory.
>
> Any helpfull ideas would be greatly appreciated. The output of
> gcc is given below.
>
....
> gcc -g -I../include -c dotcode.c -o dotcode.o
> dotcode.c:147: parse error before `FUNC'
> dotcode.c:147: warning: no semicolon at end of struct or union
...
Most obvious suspicion is that you haven't got the dlfcn.h file in
place. I seem to recall that there was a problem with the .rpm file
for that. You can get an updated .rpm from RedHat, I think (do they
keep updates for older versions?) or just fish the file out of the
corresponding .src.rpm package (or your work machine for that matter).
Also, they forgot to set up the links for /lib/libdl.so.* which gives
problems with linking later on.
--
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=