R-beta: Re: dse+redhat 4.2 problem

Douglas Bates bates at stat.wisc.edu
Wed Feb 25 19:24:36 CET 1998

Paul Gilbert <pgilbert at bank-banque-canada.ca> writes:

>  >R INSTALL dse     rlibs
> >Installing package `dse' ...
> >libs
> >gcc -g -fpic -I/usr/local/R-0.61/include   -c dsefor.c -o dsefor.o
> >/tmp/cca02533.i:1: numeric constant with no digits
> >/tmp/cca02533.i:1: numeric constant with no digits
> >...
> >is there something wrong with my gcc or is there some
> >option missing somewhere?
> >I suspect the problem might have to do with f2c. I think I
> >installed g77 after I install R.  R seems to be working.
> >g77 seems to be working, but it seems that I have several
> >f2c.h around and the dse installation is using the f2c that
> >came with R.  I have tried to use different f2c and that
> >seems to change the error but not solve the problem.

Those errors look like a problem with the C compiler.  The compiler
(or perhaps the assembler) appears to be unable to read its
intermediate files properly.  My guess is that your versions of g77
and gcc are out of sync.  I would try to reinstall both gcc and g77 to
compatible versions.

Paul is right that there have been problems with the latest versions
of g77 when generating position-independent code (that is, when using
the -fpic option).  I believe this only occurs with versions that are
compiled for GNU libc 2 so it should not be a problem with RedHat
4.2.  RedHat 4.2 is based on GNU libc 1 whereas RedHat 5.0 is based on 
GNU libc 2.

In short, try re-installing both gcc and g77 then re-compiling R then
installing dse.  Alternatively, upgrade to RedHat 5.0 and install the
pre-compiled binary from the CRAN sites.
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