[R] Compiling R on HP-UX
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Aug 15 22:47:45 CEST 2000
Peter Kleiweg <kleiweg at let.rug.nl> writes:
> Has anyone succeeded in compiling R on HP-UX?
>
> I'm trying to compile R version 1.1.0 on a HP-UX 10.20
> machine. I run into the following problems:
>
> I got a compile error on src/unix/X11/rbitmap.c which I solved
> by including setjmp.h. After that, and after editing the
> Makefiles a bit cause gcc en ld can't find all the libraries, I
> finally get it to compile. Then I run "make install", and it
> looks OK. But R won't start. It complains it can't load
> R_X11.sl, which I checked is definately in the place R is
> looking for it. So I recompiled R linking all the sources that
> go into R_X11.sl derictly into R.bin. No R does run, but it
> crashes with a segmentation fault as soon as it tries to open a
> window.
Hmm. My guess would be that you need to work harder on getting dynamic
loading to work. Too much does not work without it. Do you have a
debugger so that you can see what R is trying to do at the point
where it protests?
> Does anyone know about similar problems, and found a
> solutions? I checked the archives for the last year, but
> couldn't find any reference to this type of problem.
I'm fairly sure someone had it working at some point, but HP-UX is not
among the systems we have regular access to.
> And another thing: "configure" on HP-UX says it can't use
> tcl/tk, but it can on Linux. But my Linux and the HP-UX
> machine have identical versions of tcl and tk installed.
That would most likely be a question of being able to find the
libraries and support files rather than the versions themselves
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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