[R] R on HPUX

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Sep 10 11:39:01 CEST 2001


On 10 Sep 2001, Bernard Urban wrote:

> Kurt Hornik <Kurt.Hornik at ci.tuwien.ac.at> writes:
>
> > >>>>> Bernard Urban writes:
> >
> > > I have problems compiling R on HP-UX 10.20
> > > (using native cc and f2c).
> >
> > > The problem arises when building R_X11.sl:
> >
> > >         cc -b  -o ../../../bin/R_X11.sl dataentry.o devX11.o rotated.o rbitmap.o -lSM -lICE -lX11  -L/usr/local/lib  -lm
> > > cc: warning 422: Unknown option "b" ignored.
> > > /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (dataentry.o) was detected. The linked output may not run on a PA 1.x system.
> > > /usr/ccs/bin/ld: Unsatisfied symbols:
> > >    Rf_VectorToPairList (code)
> > >    Rf_endcontext (code)
> > >    R_NaReal (data)
> >
> > > [...]
> >
> > > I have configured by ./configure --with-f2c.
> > > Any hint ?
> >
> > You are not telling us which version of R this is.  I assume it is
> > 1.3.0, and I think the problem is fixed in 1.3.1.
> >
>
> I have tried 1.3.1 and the old 1.1.1, same problem.
> Obviously, the configure process forgets to add the R internal
> libraries to the linking command.

There are no `R internal libraries': these are resolved from the R.bin
binary when the shared library is loaded.  Warnings are found on Tru64
in this case, but amongst Unix systems only AIX seems to need an import
library for R.bin.

People have definitely built versions around 1.1.1 and later on HP-UX `out
of the box', so this must it seems be a difference between your system and
those tested.  Are there any HP-UX users out there who can help?

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