[R] problems compiling R packages with Linux

Ulf Mehlig umehlig at uni-bremen.de
Sat Jan 9 14:05:22 CET 1999


Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote

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

Thank you very much! Now it works! 

I won't trust 'configure' any more ;-)   Couldn't you put this hint as
a footnote in file "INSTALL" or "PLATFORMS"? BTW, my distribution is
"DLD (Deutsche Linux Distribution)" v. 5.4, if you want to put that
in that list ...

For other beginners:

    - untar source package (e.g.: tar -vzxf R-0.63.1.tgz)
    - go to untar'ed directory
    - edit file config.site, change      

          #SHLIBLDFLAGS= 
      to
          SHLIBLDFLAGS=-shared

    - run ./configure 
    - run make
    - run make install

Thanks (for the information on compilers, too!),
Ulf

-- 
======================================================================
Ulf Mehlig    <umehlig at zmt.uni-bremen.de>
              Center for Tropical Marine Ecology/ZMT, Bremen, Germany
----------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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