Skip to content
Prev 1809 / 398506 Next

problems compiling R packages with Linux

On Sat, 9 Jan 1999, Ulf Mehlig wrote:

            
[I don't think there are: the problem is what the configure script assumes
`linux' needs. Probbaly a g77/fort77 difference.]

On our Red-Hat 5.2 systems, with egcs-g77 installed, I have to set

SHLIBLDFLAGS=-shared

in config.site. It looks to me as is that is your problem too. This
is not inconsistency, just a failure to guess right. I never trust
configure scripts, so do check over these things (they are in the file
Makeconf) and override in config.site any I don't agree with.

egcs is basically a later version of gcc (which has been at 2.8.1 for
quite some time).  (Further, even the recent RH 5.2 has quite an old gcc). 
I think there are known optimization problems with egcs-1.0.2 (RH5.2 has
1.0.3a)  but I would get and use 1.10b, which seems very stable on all the
platforms we have (it is the version used to compile R on Windows, too).