[R] A couple problems installing 0.64 (under linux, redhat 5.2)
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Mon Apr 19 23:02:24 CEST 1999
On Mon, 19 Apr 1999, Barnet Wagman wrote:
> I'm encountering a couple problems configuring and making R 0.64 under
> linux, redhat 5.2
> These problems didn't occur when I build 0.63.2
> Any suggestions would be greatly appreciated.
> (1) configure generates the warning:
> "configure: warning: Cannot determine how to create shared libraries.
> Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'."
> I'm not sure what's needed here. The only flag I use to create shared
> libs is '-shared',
> but adding that to config.site not make the warning go away.
> (2) Apparently there are some X headers that make is not finding. Make
> generates the
> (terminal) error:
> " ...
> gcc -O3 -I../include -I../../src/include -ansi -c dataentry.c
> In file included from dataentry.c:24:
> dataentry.h:22: X11/X.h: No such file or directory
> dataentry.h:23: X11/Xlib.h: No such file or directory
> dataentry.h:24: X11/Xutil.h: No such file or directory
> dataentry.h:25: X11/keysym.h: No such file or directory
> dataentry.h:26: X11/cursorfont.h: No such file or directory"
> Any idea where these headers are on a redhat system? I can't seem to
> find them
> in any of the usual places.
Both of these are the same path problem. You need /usr/X11R6/bin in the
path for configure to find xmkmf, and you need /usr/X11R6/include for the
include files. Configure found
X_CFLAGS = -I/usr/X11R6/include
X_LIBS = -L/usr/X11R6/lib -lX11
X_PRE_LIBS = -lSM -lICE
for me once I had /usr/X11R6/bin in the path. I build on Linux remotely,
and have to ensure that the X bits are in my path (when they would
be automatically if I used the console, if that was not a terminal
in a locked room in another building, ....
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