Re: [R] With which version of XFree86 can R compile?

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

From: Prof Brian Ripley (ripley@stats.ox.ac.uk)
Date: Sat 27 Mar 2004 - 08:30:09 EST


Message-id: <Pine.LNX.4.44.0403262127550.10968-100000@gannet.stats>

Note this is not R as distributed by R-core (which does not have
dataentry_mb.c) but I believe some `Japanized' distribution. People might
want to check if the problem is in the changes (which I suspect) or R
itself.

On Fri, 26 Mar 2004, A.J. Rossini wrote:

>
> It isn't clear that R is currently friendly to the new XFree 4.4
> license. I believe that there is an advertising clause for linking --
> does anyone know if this has been addressed or clarified? I've not
> been following those issues for a few months.
>
> best,
> -tony
>
> Susumu =?ISO-2022-JP?B?VGFuaW11cmEvGyRCQytCPBsoQiAbJEI/OBsoQg==?= <stanimura-ngs@umin.ac.jp> writes:
>
> > Hi there,
> >
> > No information was found which version of XFree86 get along with R. I
> > could not compile R version 1.8.1 with XFree86 4.3.99.902.
> >
> > Here is error message.
> >
> > gcc -I. -I../../../src/include -I../../../src/include -DI18N_MB -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -pipe -march=i386 -mcpu=i686 -c dataentry_mb.c -o dataentry_mb.lo
> > In file included from dataentry_mb.c:35:
> > /usr/X11R6/include/X11/Xlib.h:1389: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xlib.h:1477: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xlib.h:1505: error: syntax error before "_Xconst"
> > [snip]
> > /usr/X11R6/include/X11/Xutil.h:678: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xutil.h:801: error: syntax error before "_Xconst"
> > In file included from xrm.h:5,
> > from dataentry_mb.c:41:
> > /usr/X11R6/include/X11/Xresource.h:94: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:98: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:122: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:127: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:194: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:203: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:208: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:214: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:227: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:269: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:273: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:279: error: syntax error before "char"
> > /usr/X11R6/include/X11/Xresource.h:284: error: syntax error before "_Xconst"
> > /usr/X11R6/include/X11/Xresource.h:352: error: syntax error before "_Xconst"
> > dataentry_mb.c: In function `GetKey':
> > dataentry_mb.c:1276: warning: passing arg 1 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c:1276: warning: passing arg 4 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c: In function `GetCharP':
> > dataentry_mb.c:1285: warning: passing arg 1 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c:1285: warning: passing arg 4 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c: In function `doControl':
> > dataentry_mb.c:1306: warning: passing arg 1 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c:1306: warning: passing arg 4 of `XLookupString' from incompatible pointer type
> > dataentry_mb.c: In function `RefreshKeyboardMapping':
> > dataentry_mb.c:1335: warning: passing arg 1 of `XRefreshKeyboardMapping' from incompatible pointer type
> > make[4]: *** [dataentry_mb.lo] Error 1
> > make[4]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules/X11'
> > make[3]: *** [R] Error 2
> > make[3]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules/X11'
> > make[2]: *** [R] Error 1
> > make[2]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src/modules'
> > make[1]: *** [R] Error 1
> > make[1]: Leaving directory `/home/hoge/rpm/BUILD/R-1.8.1/src'
> > make: *** [R] Error 1
> > error: Bad exit status from /var/tmp/rpm-tmp.85917 (%build)
> >
> > RPM build errors:
> > Bad exit status from /var/tmp/rpm-tmp.85917 (%build)
> >
> > ______________________________________________
> > 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
> >
>
>

-- 
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

______________________________________________ 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 : Fri 23 Apr 2004 - 18:36:42 EST