[R] Compiling R on HP-UX

Peter Kleiweg kleiweg at let.rug.nl
Wed Aug 16 13:57:05 CEST 2000

Luke Tierney skriver...

> Peter Kleiweg wrote:
> > Has anyone succeeded in compiling R on HP-UX?

> I can also build with cc by running configure under a csh shell as
> env CC=cc CFLAGS=-Wp,-H16000 configure

This works. It compiles without errors, but gives some warnings
about incompatible pointer types. 

> To track down the shared library problem you could try this: If you
> add BIND_VERBOSE to the flags for shl_load then shl_load may print
> something useful, like the name of the symbol it can't find.  The call
> to shl_load is in src/unix/hpdlfcn.c, but even though this is a .c
> file it is used by inclusion in src/unix/dynload.c, so that is the
> file that needs to be recompiled.

This was very helpfull. I discovered an unresolved reference in
libX11. I checked this with the system maintainer. He said
dld.sl is old, and he will replace it soon.

I have accounts on three HP-UX machines. It tried running R
from the other machines, and it works fine. So it's a local

Peter Kleiweg

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