From jnf@pcisys.net  Sat Aug 28 22:23:27 1999
From: jnf@pcisys.net (jnf@pcisys.net)
Date: Sat, 28 Aug 1999 23:23:27 +0200 (MET DST)
Subject: R without X11? (PR#259)
Message-ID: <199908282123.XAA02173@pubhealth.ku.dk>

This is a multi-part message in MIME format.
--------------DD49957419D60BCA65CC41EE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I am attempting to compile R-0.64.2 under Caldera OpenLinux 2.2.  I have
KDE installed but not gnome.  When I ran configure, it correctly
indicated that gnome is not installed.  However when I then ran make, I
received errors complaining that  the include file X11/X.h and similar
are not found.  Is X11 required for R?  If not, how can a work around
this?

I have attached the output of the configure and make commands with more
information.

Thanks for your help.

--

Jack Fenner

  I am life that wills to live in the midst of life that wills to live.
             - Albert Schweitzer, "Out of my Life and Thought"



--------------DD49957419D60BCA65CC41EE
Content-Type: text/plain; charset=us-ascii;
 name="create_R.script"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="create_R.script"

Script started on Sat Aug 28 09:13:36 1999
[root@noname R-0.64.2]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for ranlib... (cached) ranlib
checking for bison... no
checking for byacc... no
checking for ar... (cached) ar
checking for latex... (cached) /opt/teTeX/bin/latex
checking for dvips... (cached) /opt/teTeX/bin/dvips
checking for makeindex... (cached) /opt/teTeX/bin/makeindex
checking for unzip... (cached) /usr/bin/unzip
checking for zip... (cached) /usr/bin/zip
checking for perl... (cached) /usr/bin/perl
checking whether perl is perl 5... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for g77... (cached) /usr/bin/g77
checking for underscore after Fortran symbols... yes
checking for sin in -lm... (cached) yes
checking for sin in -lmoto... (cached) no
checking for main in -lncurses... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for main in -lz... (cached) no
checking for main in -lhdf5... (cached) no
checking for main in -ldxml... (cached) no
checking for main in -lblas... (cached) no
checking for rl_callback_read_char in -lreadline... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for vprintf... (cached) yes
checking for acosh... (cached) yes
checking for asinh... (cached) yes
checking for atanh... (cached) yes
checking for bcopy... (cached) yes
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isnan... (cached) yes
checking for matherr... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for regcomp... (cached) yes
checking for rint... (cached) yes
checking for strcoll... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for system... (cached) yes
checking for times... (cached) yes
checking for sigsetjmp... (cached) no
checking for siglongjmp... (cached) yes
checking for __setfpucw... (cached) no
checking for ANSI C header files... (cached) yes
checking for dl.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for elf.h... (cached) yes
checking for locale.h... (cached) yes
checking for readline/history.h... (cached) no
checking for rpc/xdr.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for time.h... (cached) yes
checking for ieeefp.h... (cached) no
checking for ieee754.h... (cached) yes
checking for unistd.h... (cached) yes
checking for hdf5.h... (cached) no
checking return type of signal handlers... (cached) void
checking for working const... (cached) yes
checking size of long... (cached) 4
checking for xmkmf... (cached) /usr/X11R6/bin/xmkmf
checking how to make shared libraries... done
checking for X... (cached) no
checking for lpr... (cached) lpr
creating ./config.status
creating Makeconf
creating Makefile
creating afm/Makefile
creating demos/Makefile
creating doc/Makefile
creating doc/keyword-test
creating doc/manual/Makefile
creating doc/manual/lib2tex
creating doc/manual/Reference.tex
creating doc/manual/Manual.tex
creating etc/Makefile
creating etc/Makeconf
creating src/Makefile
creating src/appl/Makefile
creating src/include/Makefile
creating src/library/Makefile
creating src/main/Makefile
creating src/nmath/Makefile
creating src/scripts/Makefile
creating src/unix/Makefile
creating src/gnome/Makefile
creating src/library/base/Makefile
creating src/library/profile/Makefile
creating src/library/eda/Makefile
creating src/library/eda/src/Makefile
creating src/library/lqs/Makefile
creating src/library/lqs/src/Makefile
creating src/library/modreg/Makefile
creating src/library/modreg/src/Makefile
creating src/library/mva/Makefile
creating src/library/mva/src/Makefile
creating src/library/stepfun/Makefile
creating src/scripts/COMPILE
creating src/scripts/INSTALL
creating src/scripts/REMOVE
creating src/scripts/R.sh
creating src/scripts/Rdconv
creating src/scripts/Rdindex
creating src/scripts/Rman2Rd
creating src/scripts/SHLIB
creating src/scripts/Sd2Rd
creating src/scripts/build-help
creating src/scripts/fwf2table
creating src/scripts/help.pretty
creating src/scripts/html2dos
creating src/scripts/Rd2contents
creating tests/Makefile
creating tests/Examples/Makefile
creating src/include/Platform.h
src/include/Platform.h is unchanged


R is now configured for i586-unknown-linux

  Source directory:         .
  Installation directory:   /usr/local
  C compiler:               gcc -g -O2
  FORTRAN compiler:         g77 -O2
  Gnome support:            no

[root@noname R-0.64.2]# make
make[1]: Entering directory `/home/jack/R-0.64.2/afm'
make[1]: Leaving directory `/home/jack/R-0.64.2/afm'
make[1]: Entering directory `/home/jack/R-0.64.2/demos'
make[1]: Leaving directory `/home/jack/R-0.64.2/demos'
make[1]: Entering directory `/home/jack/R-0.64.2/doc'
make[1]: Leaving directory `/home/jack/R-0.64.2/doc'
make[1]: Entering directory `/home/jack/R-0.64.2/etc'
make[1]: Leaving directory `/home/jack/R-0.64.2/etc'
make[1]: Entering directory `/home/jack/R-0.64.2/src'
make[2]: Entering directory `/home/jack/R-0.64.2/src/include'
make[2]: Leaving directory `/home/jack/R-0.64.2/src/include'
make[2]: Entering directory `/home/jack/R-0.64.2/src/appl'
make[2]: Nothing to be done for `R'.
make[2]: Leaving directory `/home/jack/R-0.64.2/src/appl'
make[2]: Entering directory `/home/jack/R-0.64.2/src/nmath'
make[2]: Nothing to be done for `R'.
make[2]: Leaving directory `/home/jack/R-0.64.2/src/nmath'
make[2]: Entering directory `/home/jack/R-0.64.2/src/unix'
gcc -g -O2  -I../include -I../../src/include  -c dataentry.c
In file included from dataentry.c:24:
dataentry.h:22: X11/X.h: No such file or directory
dataentry.h:23: X11/Xlib.h: No such file or directory
dataentry.h:24: X11/Xutil.h: No such file or directory
dataentry.h:25: X11/keysym.h: No such file or directory
dataentry.h:26: X11/cursorfont.h: No such file or directory
make[2]: *** [dataentry.o] Error 1
make[2]: Leaving directory `/home/jack/R-0.64.2/src/unix'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/jack/R-0.64.2/src'
make: *** [R] Error 1
[root@noname R-0.64.2]# exit
exit

Script done on Sat Aug 28 09:14:32 1999

--------------DD49957419D60BCA65CC41EE--


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R without X11? (PR#259)
jnf@pcisys.net