[R] Build problems on Linux SuSE 9.1

Detlef Steuer Detlef.Steuer at UniBw-Hamburg.DE
Mon May 3 07:57:03 CEST 2004


Hi!

My copy of suse 9.1 is on its way, so I  expect rpms
by the end of the week. 
(If I can get past that error ... )

detlef


On Mon, 03 May 2004 04:33:12 +0200
christianlederer at t-online.de (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
> 


-- 
Detlef Steuer --- http://fawn.unibw-hamburg.de/steuer.html
***** Encrypted mail preferred *****




More information about the R-help mailing list