[R] R 1.90 make problem with /usr/X11R6/include/X11/Xutil.h on suse linux 9.1?

About this list Date view Thread view Subject view Author view Attachment view

From: Ross Lazarus (ross.lazarus@channing.harvard.edu)
Date: Wed 19 May 2004 - 12:25:19 EST


Message-id: <40AAC58F.6070206@channing.harvard.edu>

This is probably a Suse specific problem and not a bug in R, but I'm
reporting it in case it's useful for someone to know about....

Trying to compile R1.9.0 from source on a standard Suse 9.1 install
(athlon in a shuttle sn41g2).
configure seems fine but the Suse X11R6 Xlib.h might be toxic.

In case it helps, here's the sad end to the make output. I can post the
Xlib.h if that would help...

Please email me directly for more information if needed as I don't
normally read this list....meanwhile, I'll go try the rpm....

making rotated.d from rotated.c
making rbitmap.d from rbitmap.c
make[4]: Leaving directory `/home/rossl/src/R-1.9.0/src/modules/X11'
make[4]: Entering directory `/home/rossl/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: 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"
/usr/X11R6/include/X11/Xlib.h:1611: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1661: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1667: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1714: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1753: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1994: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2078: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2331: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2341: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2413: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2423: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2581: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2596: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2789: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2856: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2861: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:2975: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3001: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3012: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3037: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3046: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:3059: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3202: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3251: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3283: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3374: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3381: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3401: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3407: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3419: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3429: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3439: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3445: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3546: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3563: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3614: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3657: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3663: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3669: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3675: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3683: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3691: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3699: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3711: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3723: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3770: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3781: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3792: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3803: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3814: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3825: error: parse error before "_Xconst"
In file included from dataentry.c:32:
/usr/X11R6/include/X11/Xutil.h:566: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:606: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst"
dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
make[4]: *** [dataentry.lo] Error 1
make[4]: Leaving directory `/home/rossl/src/R-1.9.0/src/modules/X11'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/home/rossl/src/R-1.9.0/src/modules/X11'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/rossl/src/R-1.9.0/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/rossl/src/R-1.9.0/src'
make: *** [R] Error 1
rossl@small:~/src/R-1.9.0>

-- 
Ross Lazarus MBBS MPH, Director of Bioinformatics
Channing Laboratory, 181 Longwood Ave., Boston MA 02115, USA.
Voice: +617 525 2730  Fax: +617 525 0958

______________________________________________ R-help@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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:11 EST