[R] Build problems on Linux SuSE 9.1
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon May 3 08:52:44 CEST 2004
It is the result of a bug in the XFree 4.4.0 headers. Please try the
patched version r-patched (see the FAQ) where we have a workaround in
src/modules/X11/dataentry.c (and quite a few other bug fixes).
On Mon, 3 May 2004, Christian Lederer wrote:
>
> 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 :-(
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list