From p.dalgaard at biostat.ku.dk  Sat Feb 21 23:25:30 2009
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Sat, 21 Feb 2009 23:25:30 +0100
Subject: [Rd] Install failure (PR#13545)
In-Reply-To: <20090221212509.F0944282C76F@mail.pubhealth.ku.dk>
References: <20090221212509.F0944282C76F@mail.pubhealth.ku.dk>
Message-ID: <49A07F5A.6070508@biostat.ku.dk>

bob at spltrak.com wrote:
> Hello:
> Encountered a problem installing R on
> CentOS release 5.2
> 
>  This is a 64bit OS
> I need to know if this will work on this server or do I need to change OS>
> 
> Thanks
> Bob
> 
> I downloaded the source ( R-2.8.1.tar.gz ) due to no release being available
> for CentOS.
> My ./configure --with-x=no --with-readline=no R_PAPERSIZE='letter'

And the problem is? (Failure to compile conftest.c is not necessarily a 
problem. Configure deliberately uses non-compilable files in a number of 
places.)

What was the final result of running configure?

(Please don't file as bugs in R issues when you are not sure that they 
are.)


> Failed:
> ./configure --with-x=no --with-readline=no R_PAPERSIZE='letter'
> 195 lines deleted from log
> configure:5105: checking whether we are using the GNU C compiler
> configure:5134: gcc -c  -I/usr/local/include conftest.c >&5
> configure:5140: $? = 0
> configure:5157: result: yes
> configure:5162: checking whether gcc accepts -g
> configure:5192: gcc -c -g -I/usr/local/include conftest.c >&5
> configure:5198: $? = 0
> configure:5297: result: yes
> configure:5314: checking for gcc option to accept ISO C89
> configure:5388: gcc  -c -g -O2 -I/usr/local/include conftest.c >&5
> configure:5394: $? = 0
> configure:5417: result: none needed
> configure:5442: checking how to run the C preprocessor
> configure:5482: gcc -E -I/usr/local/include conftest.c
> configure:5488: $? = 0
> configure:5519: gcc -E -I/usr/local/include conftest.c
> conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
> configure:5525: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "R"
> | #define PACKAGE_TARNAME "R"
> | #define PACKAGE_VERSION "2.8.1"
...etc...

-- 
    O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



[Rd] Install failure (PR#13545)
Peter Dalgaard