[R] Build problems on Linux SuSE 9.1
Christian Lederer
christianlederer at t-online.de
Mon May 3 04:33:12 CEST 2004
Hi,
did anybody succeed in building R on SuSE Linux 9.1?
My compilation failed with the following error messages:
make[4]: Entering directory `/home/lederer/Source/R-1.9.0/src/modules/X11'
gcc -I. -I../../../src/include -I../../../src/include
-I/usr/X11R6/include -I/us
r/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -g
-O2 -c d
ataentry.c -o dataentry.lo
In file included from dataentry.c:31:
/usr/X11R6/include/X11/Xlib.h:1400: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1488: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1516: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1520: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1542: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1577: error: parse error before '*' token
/usr/X11R6/include/X11/Xlib.h:1586: error: parse error before "_Xconst"
...
lots more
...
dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from
incompatible po
inter type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from
incompatible po
inter type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from
incompatible po
inter type
make[4]: *** [dataentry.lo] Fehler 1
make[4]: Leaving directory `/home/lederer/Source/R-1.9.0/src/modules/X11'
make[3]: *** [R] Fehler 2
make[3]: Leaving directory `/home/lederer/Source/R-1.9.0/src/modules/X11'
make[2]: *** [R] Fehler 1
make[2]: Leaving directory `/home/lederer/Source/R-1.9.0/src/modules'
make[1]: *** [R] Fehler 1
make[1]: Leaving directory `/home/lederer/Source/R-1.9.0/src'
make: *** [R] Fehler 1
The same happened for R-1.8.1.
However, i cannot believe that SuSE 9.1 contains faulty Xlib.h,
since i can compile other programs including this file.
Fortunetely i could install the rpm for SuSE 9.0.
Christian :-(
More information about the R-help
mailing list