[R] make error for R-2.3.0

Randall C Johnson [Contr.] rjohnson at ncifcrf.gov
Fri May 19 21:37:43 CEST 2006


Hello,
I'm trying to install R on a linux machine running Red Hat 8. I ran

./configure
make

and get the following error. I've installed several versions of R (2.2.1
most recently) on this machine and haven't had any problems until now. I
wondered if the outdated compiler (gcc version 3.2) was the problem and
attempted to install my own, more recent version. I tried gcc versions 4.1.0
and 3.4.6, but still have problems. The output below is using gcc 3.4.6 (my
best attempt, but still ending with the same error as gcc 3.2). Any pointers
would be appreciated.

Best,
Randy

system: i686-pc-linux-gnu
gcc version: 3.4.6

everything seems to be fine up to this point:
.
.
.
make[4]: Entering directory
`/home/lgd/rjohnson/bin/R-2.3.0/src/modules/internet'
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c Rsock.c -o Rsock.o
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c internet.c -o internet.o
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c nanoftp.c -o nanoftp.o
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c nanohttp.c -o nanohttp.o
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c sock.c -o sock.o
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fpic  -g -O2 -std=gnu99  -c sockconn.c -o sockconn.o
In file included from sockconn.c:34:
sock.h:38: error: syntax error before "Sock_read"
sock.h:38: warning: type defaults to `int' in declaration of `Sock_read'
sock.h:38: warning: data definition has no type or storage class
sock.h:39: error: syntax error before "Sock_write"
sock.h:39: warning: type defaults to `int' in declaration of `Sock_write'
sock.h:39: warning: data definition has no type or storage class
make[4]: *** [sockconn.o] Error 1
make[4]: Leaving directory
`/home/lgd/rjohnson/bin/R-2.3.0/src/modules/internet'
make[3]: *** [R] Error 2
make[3]: Leaving directory
`/home/lgd/rjohnson/bin/R-2.3.0/src/modules/internet'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/lgd/rjohnson/bin/R-2.3.0/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/lgd/rjohnson/bin/R-2.3.0/src'
make: *** [R] Error 1




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Randall C Johnson
Bioinformatics Analyst
SAIC-Frederick, Inc (Contractor)
Laboratory of Genomic Diversity
NCI-Frederick, P.O. Box B
Bldg 560, Rm 11-85
Frederick, MD 21702
Phone: (301) 846-1304
Fax: (301) 846-1686
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the R-help mailing list