[R] compile problems on solairs 8
Colin Devine
devinec at sas.upenn.edu
Wed Jan 15 22:11:03 CET 2003
Hello,
This was indeed the problem. Setting --x-includes and --x-libraries to
the correct (in this case nfs mounted) directory allowed R to compile
correctly. Many thanks for the help.
--Colin Devine
ripley at stats.ox.ac.uk wrote:
>
> You need to use a current X11R6, which on Solaris is under /usr/openwin.
>
> X11R5 is about a decade old, AFAIR, so no wonder R's configure does not
> check for it.
>
> On Wed, 15 Jan 2003, Colin Devine wrote:
>
> > Hello,
> >
> > I am having a problem compiling R versions 1.6.1 or .16.2 on a Solaris 8
> > machine. It sees to have problems with an X11 module. Here is the
> > relevant output:
> >
> > make[4]: Entering directory `/pkg-ling/src/R-1.6.2/src/modules/X11'
> > gcc -I. -I../../../src/include -I../../../src/include
> > -I/pkg/X11R5/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2
> > -c dataentry.c -o dataentry.lo
> > dataentry.c: In function `doSpreadKey':
> > dataentry.c:1194: `XK_Page_Up' undeclared (first use in this function)
> > dataentry.c:1194: (Each undeclared identifier is reported only once
> > dataentry.c:1194: for each function it appears in.)
> > dataentry.c:1198: `XK_Page_Down' undeclared (first use in this function)
> > make[4]: *** [dataentry.lo] Error 1
> > make[4]: Leaving directory `/pkg-ling/src/R-1.6.2/src/modules/X11'
> > make[3]: *** [R] Error 2
> > make[3]: Leaving directory `/pkg-ling/src/R-1.6.2/src/modules/X11'
> > make[2]: *** [R] Error 1
> > make[2]: Leaving directory `/pkg-ling/src/R-1.6.2/src/modules'
> > make[1]: *** [R] Error 1
> > make[1]: Leaving directory `/pkg-ling/src/R-1.6.2/src'
> > make: *** [R] Error 1
> > bash-2.02#
> >
> >
> > I have searched the archives without luck and the X libraries are found:
> >
> > checking for X... libraries /pkg/X11R5/lib, headers /pkg/X11R5/include
> >
> > Thanks in advance for your assistance.
> >
> > --Colin Devine
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > http://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >
>
> --
> 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