[R] R compiling on SOLARIS 2.6

Carl Carpenter
Thu, 22 Apr 1999 16:12:48 -0000

We here at HGSI have a consultant doing some statistical work for us.
HGSI bought and installed SAS, but our consultant insists that R and
Rweb is a better solution. I do not know either package so I do not
know, hence we are ditching SAS for R and Rweb. Any comments on this
are welcom.

Now for the real problem. Rweb is very expensive (time wise). The
number of prereqs is way more than I thought when I agreed to this
project. The compiling tree looks like this


                                Rweb

                                 |
             -----------------------------------------------
            |                    |                          |

          libWWW                R                       LaTex2HTML

          |- URI                |- gcc 2.8.1            |- netpbm
          |                     |                       |
          |- MIME-base64        |- g77                  |- ghostscript
          |                     |                       |
          |- HTML-Parser        |- GNU make             |- LaTex
          |                     |                       |
          |- libnet             |- SUNWxwinc            |- dvips/dvipsk
          |
          |- Digest::MD5

*   Perl and a www server were already installed on the machine.
**  libWWW is completed
*** LaTex2HTML is spewing errors on dvips/dvipsk


All prereqs for R are installed and checked.

Ran configure script as follows

  ./configure --prefix=/usr/local --x-includes=/usr/openwin/include
--x-libs=/usr/openwin/lib

Compiling R gives these errors

  make[2]: Leaving directory `/usr/local/R-0.64.0/src/nmath'
  make[2]: Entering directory `/usr/local/R-0.64.0/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 `/usr/local/R-0.64.0/src/unix'
  make[1]: *** [R] Error 1
  make[1]: Leaving directory `/usr/local/R-0.64.0/src'
  make: *** [R] Error 1


Anybody have any ideas on how to make R compile cleanly?


Thanks




-carlc