[Rd] Problem building R-devel

Martin Maechler maechler at stat.math.ethz.ch
Fri May 23 19:26:57 MEST 2003


>>>>> "JeffG" == Jeff Gentry <jgentry at jimmy.harvard.edu>
>>>>>     on Fri, 23 May 2003 12:02:07 -0400 (EDT) writes:

    JeffG> Hello ...  I went to build R-devel today (Redhat
    JeffG> Linux 7.2, kernel 2.4.9-31, gcc 2.96) and am getting
    JeffG> this error:

    JeffG> gcc -I../../src/extra/zlib -I. -I../../src/include
    JeffG> -I../../src/include -I/usr/local/include
    JeffG> -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -g -O2
    JeffG> -c pcre.c -o pcre.o pcre.c: In function `do_pgrep':
    JeffG> pcre.c:71: parse error before `char' pcre.c:72: `s'
    JeffG> undeclared (first use in this function) pcre.c:72:
    JeffG> (Each undeclared identifier is reported only once
    JeffG> pcre.c:72: for each function it appears in.)
    JeffG> make[3]: *** [pcre.o] Error 1 make[3]: Leaving
    JeffG> directory `/home/jgentry/R-1.8.0/src/main' make[2]:
    JeffG> *** [R] Error 2 make[2]: Leaving directory
    JeffG> `/home/jgentry/R-1.8.0/src/main' make[1]: *** [R]
    JeffG> Error 1 make[1]: Leaving directory
    JeffG> `/home/jgentry/R-1.8.0/src' make: *** [R] Error 1

    JeffG> On my initial attempt I did a 'make clean' before
    JeffG> configuring & building.  On my second attempt I
    JeffG> re-rsynced the entire r-devel distribution to a new
    JeffG> directory and am still getting this error.

    JeffG> Is this a problem w/ r-devel or a problem on my end?

on your end.

using old redhat with the "bad" compiler gcc 2.96 ...

{this is used to be an almost-FAQ about a year ago, when people
 still had such olde versions of Redhat / gcc ... ;-) }



More information about the R-devel mailing list