[R] Unable to compile R-2.1.0

v.demartino2@virgilio.it v.demartino2 at virgilio.it
Mon Jun 6 13:55:38 CEST 2005


I downloaded the latest R-2.1.0 tarball from cran (the one of 18/4/05) to
compile it under FreeBSD. Take into account that I compiled R-2.0.1 in the
same machine and OS like a charme, flawlessly and at the very fiirst shot.

Now with R-2.1.0, ./configure doesn't seem to say anything alarming but
make stops. Here an extract of both ./configure and make:

# ./configure
..................................
R is now configured for i386-unknown-freebsd5.4

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc -D__NO_MATH_INLINES -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          f77  -g -O2

  Interfaces supported:      X11, tcltk
  External libraries:        readline, BLAS(ATLAS)
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
  Options enabled:           R profiling

  Recommended packages:      yes

configure: WARNING: you cannot build info or html versions of the R manuals


#make
<SNIP>
NLINES  -g -O2 -c util.c -o util.o
gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
  -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H
-D__NO_MATH_INLINES  -g -O2 -c version.c -o version.o
gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
  -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H
-D__NO_MATH_INLINES  -g -O2 -c vfonts.c -o vfonts.o
f77   -g -O2 -c xxxpr.f -o xxxpr.o
gcc -export-dynamic -L/usr/local/lib -o R.bin  Rmain.o  CConverters.o CommandLineArgs.o
Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o
base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o
context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o
dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o
fourier.o gevents.o gram.o gram-ex.o graphics.o identical.o internet.o iosupport.o
lapack.o list.o logic.o main.o mapply.o match.o memory.o model.o names.o
objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot.o
plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o
random.o regex.o registration.o relop.o saveload.o scan.o seq.o serialize.o
size.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o
subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o
../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a  -lf77blas -latlas
-lg2c -lm  ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lreadline -lm -liconv
errors.o(.text+0x154b): In function `do_gettext':
/tmp/R-2.1.0/src/main/errors.c:779: undefined reference to `__builtin_alloca'
errors.o(.text+0x15fa):/tmp/R-2.1.0/src/main/errors.c:752: undefined reference
to `__builtin_alloca'
errors.o(.text+0x1652):/tmp/R-2.1.0/src/main/errors.c:760: undefined reference
to `__builtin_alloca'
errors.o(.text+0x16aa):/tmp/R-2.1.0/src/main/errors.c:770: undefined reference
to `__builtin_alloca'
errors.o(.text+0x1728):/tmp/R-2.1.0/src/main/errors.c:738: undefined reference
to `__builtin_alloca'
errors.o(.text+0x274d):/tmp/R-2.1.0/src/main/errors.c:829: more undefined
references to `__builtin_alloca' follow
*** Error code 1

Stop in /tmp/R-2.1.0/src/main.
*** Error code 1

Stop in /tmp/R-2.1.0/src/main.
*** Error code 1

Stop in /tmp/R-2.1.0/src.
*** Error code 1

Stop in /tmp/R-2.1.0.


What's the matter with it and what should I do next?

VITTORIO




More information about the R-help mailing list