Skip to content
Back to formatted view

Raw Message

Message-ID: <199901091305.OAA20617@uni-bremen.de>
Date: 1999-01-09T13:05:22Z
From: Ulf Mehlig
Subject: problems compiling R packages with Linux
In-Reply-To: <Pine.GSO.3.96.990109104921.4883A-100000@toucan.stats> (ripley@stats.ox.ac.uk)

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