Skip to content
Prev 12224 / 398502 Next

How to build R-1.3.0 under HP-UX 11.00

Sorry, but my mail program add "ODP" instead "Re" to subject of my previous
letter.
My last problem is solved but I have new, serious problem with making
internet module (under src/modules/internet), below is output after "make":

        gcc -shared -fPIC  -o internet.sl  Rsock.o internet.o nanoftp.o
nanohttp.o sock.o sockconn.o
/usr/bin/ld: DP relative code in file Rsock.o - shared library must be
position
    independent.  Use +z or +Z to recompile.
collect2: ld returned 1 exit status

Can you help me? Maybe anyone have experience in building R under HP-UX
11.00 or other HP-UX.

Kris



                                                                                                                    
                    Prof Brian                                                                                      
                    Ripley               Do:     Krzysztof Kopera <Krzysztof_Kopera/HeadQ at netia.pl>                 
                    <ripley at stats        DW:     <r-help at hypatia.math.ethz.ch>                                      
                    .ox.ac.uk>           Temat:  Re: [R] How to build R-1.3.0 under HP-UX  11.00                    
                                                                                                                    
                    2001-07-06                                                                                      
                    18:52                                                                                           
                                                                                                                    
                                                                                                                    




The first few errors mean that you don't have xdr support in the libraries
you included. R checks for the headers rpc/rpc.h and rpc/xdr.h so you have
those.

Try man xdr and see if it requires an additional library.


The last two are problems with missing -lf2c.  Configuring with --with-f2c
should include that for you.

I think we need to know exactly what you did.  Perhaps you needed
FLIBS="-L/opt/f2c/lib -lf2c -lm"?
On Fri, 6 Jul 2001, Krzysztof Kopera wrote:

            
-.-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._
--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




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