[R] Trying to compile R on Unix

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Jun 19 10:56:31 CEST 2000


Curtis Miller <curtis.p.miller at monsanto.com> writes:

> I have been trying to compile R.  I downloaded R-1.0.1.tgz(I think;
> the original tar file was untarred) and unpacked it with gzip.  Now
> all the R files are in a directory named R-1.0.1.  The source files
> (.c) are in R-1.0.1/src.  There are files in R-1.0.1 named
> 'Makefile.in',
> 'Makeconf.in', and 'Makeconf'.  I followed the instructions in INSTALL
> by typing './configure'.  Here is the output:
> 
> ----------------------------------------------
> pauling 1% ./configure
> loading cache ./config.cache
> checking host system type... mips-sgi-irix6.5
> loading site script ./config.site
> loading build specific script ./config.site
> checking for mawk... no
> checking for gawk... no
> checking for nawk... nawk
> checking for a BSD compatible install... tools/install-sh -c
> configure: warning: redefining INSTALL to be
...
> checking for cc... cc
> checking whether the C compiler (cc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> ----------------------------------------------
> 
> 'configure' seems to work in a way.  The applications it didn't find
> aren't on
> this system, as far as I know.  I don't know why the C compiler couldn't
> make
> executables.  

Well, find out then... Have a look at the config.log file and see what
is happening. Configure is trying to compile a small test program and
failing. If the C compiler doesn't work, you can't do anything.

>   After typing './configure', I followed the instructions in INSTALL
> again and
> typed 'make -f Makefile.in'. Here are the results:

That will never work. Makefile.in is a template for the real Makefile,
which will get built once configure succeeds.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list