Dan.Kelley@Dal.Ca
2004-May-01 17:29 UTC
[Rd] will not compile on Fedora Core 2 Test 2 (PR#6844)
Full_Name: Dan Kelley Version: 1.9.0 OS: Fedora Core 2 Test 2 Submission from: (NULL) (142.177.39.160) Pasted below is part of the output from ./configure && make on Fedora Core 2 Test 2. I am not sure what else to try, but if there are tests that might help, I'd be very happy to do them. (Note: this OS is pretty fresh, just having been released a few days ago. This is the first x11-employing application I've built on the machine.) make[4]: Entering directory `/home/kelley/src/R-1.9.0/src/modules/X11' gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c dataentry.c -o dataentry.lo In file included from dataentry.c:31: /usr/X11R6/include/X11/Xlib.h:1400: error: syntax error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1488: error: syntax error before "char" /
Prof Brian Ripley
2004-May-01 18:10 UTC
[Rd] will not compile on Fedora Core 2 Test 2 (PR#6844)
Please try the r-patched version of R. This is a serious bug in the XFree86 4.4.x headers, that we have worked around by adding the lines shown /* don't use X11 function prototypes (which tend to ...): */ #define NeedFunctionPrototypes 0 /* XFree 4.4.0 forgets to define this if NeedFunctionPrototypes=0 */ #ifndef _Xconst #define _Xconst const #endif to dataentry.c. This works for me on a XFree86 4.4.0 system, and for a few others, but we would appreciate confirmation. On Sat, 1 May 2004 Dan.Kelley@Dal.Ca wrote:> Full_Name: Dan Kelley > Version: 1.9.0 > OS: Fedora Core 2 Test 2 > Submission from: (NULL) (142.177.39.160) > > > Pasted below is part of the output from ./configure && make on Fedora > Core 2 Test 2. I am not sure what else to try, but if there are tests that > might help, I'd be very happy to do them. (Note: this OS is pretty fresh, just > having been released a few days ago. This is the first x11-employing > application I've built on the machine.) > > make[4]: Entering directory `/home/kelley/src/R-1.9.0/src/modules/X11' > gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include > -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 > -c dataentry.c -o dataentry.lo > In file included from dataentry.c:31: > /usr/X11R6/include/X11/Xlib.h:1400: error: syntax error before "_Xconst" > /usr/X11R6/include/X11/Xlib.h:1488: error: syntax error before "char" > /-- Brian D. Ripley, ripley@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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Apparently Analagous Threads
- R 1.90 make problem with /usr/X11R6/include/X11/Xutil.h on suse linux 9.1?
- R-1.9.0: make error on slackware-current!
- Build problems on Linux SuSE 9.1
- linux: compilation problems with gcc 3.3.3 and xorg (PR#6992)
- fix for a minor build error in R-1.9.0 with XFree86 4.4.0 (PR#6805)