Barnet Wagman
1999-Apr-19 19:27 UTC
[R] A couple problems installing 0.64 (under linux, redhat 5.2)
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. Thanks, --------------------------- Barnet Wagman wagman at enteract.com 1361 N. Hoyne, 2nd floor Chicago, IL 60622 773-645-8369 -------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/19990419/e1f0b5ad/attachment.html
Prof Brian D Ripley
1999-Apr-19 21:02 UTC
[R] A couple problems installing 0.64 (under linux, redhat 5.2)
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Stuart Luppescu
1999-Apr-23 14:02 UTC
[R] A couple problems installing 0.64 (under linux, redhat 5
On 19-Apr-99 Barnet Wagman wrote: [snip]> (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.These header files are part of the XFree86-devel package. On my system (RedHat intel 5.2) they are in /usr/X11R6/include/X11/. Anyway, why are you rebuilding the packages? Why not just install the binary rpms? ______________________________________________________________________ Stuart Luppescu -=-=- University of Chicago ºÍʸ ¤ÈÃÒÆàÈþ¤ÎÉã(EUC) -=-=- s-luppescu at uchicago.edu http://www.consortium-chicago.org/people/sl/sl.html ICQ #21172047 AIM: psycho7070 Nothing happens.>> Sent on 23-Apr-99 at 08:59:58 with xfmail-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._