[R] How to build R-1.3.0 under HP-UX 11.00

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 6 18:52:07 CEST 2001


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:

> Hello,
>
> I am new in R and I am delighted with it, so I am trying to bulid R-1.3.0
> from sources under HP-UX 11.00 using f2c and X11 support. Configuration
> phase is OK but using make I have errors:
>
>         gcc -Wl,-E  -o R.bin  CConverters.o  Rdynload.o RNG.o  apply.o
> arithmetic.o array.o attrib.o  bind.o builtin.o  charac
> ter.o coerce.o colors.o complex.o connections.o context.o  cov.o cum.o
> dcf.o datetime.o debug.o devPS.o devPicTeX.o deparse.o
>  deriv.o  devices.o dotcode.o dstruct.o duplicate.o  envir.o errors.o
> eval.o  format.o fourier.o  gram.o gram-ex.o graphics.o
>  internet.o iosupport.o  lapack.o list.o logic.o  main.o match.o memory.o
> model.o  names.o  objects.o optim.o optimize.o optio
> ns.o  par.o paste.o platform.o  plot.o plot3d.o plotmath.o  print.o
> printarray.o printvector.o printutils.o  random.o regex.o
> relop.o  saveload.o scan.o seq.o size.o sort.o source.o split.o
> subassign.o subscript.o subset.o summary.o  unique.o util.o
> version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a
> ../nmath/libnmath.a   -L/opt/f2c/lib/ -lm -ldld -L/usr/local/li
> b  -ltermcap -lm
> /usr/bin/ld: Unsatisfied symbols:
>    xdr_double (code)
>    xdr_string (code)
>    xdrstdio_create (code)
>    xdr_bytes (code)
>    xdr_int (code)
>    i_len (code)
>    d_sign (code)
> collect2: ld returned 1 exit status
> *** Error exit code 1
>
> Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously
> FLIBS = /opt/f2c/lib -ln and it is not good.
>
> Best regards
>   Kris
>
> PS. Sorry my english.
>
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

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



More information about the R-help mailing list