Fwd: Re: [R] Unable to compile R-2.1.0

Vic FreeBSD vdm.fbsd at virgilio.it
Mon Jun 6 19:32:54 GMT 2005

No-one has an idea?
----------  Messaggio inoltrato  ----------

Subject: Re: [R] Unable to compile R-2.1.0
Date: 13:51, lunedì 6 giugno 2005
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
To: v.demartino2 at virgilio.it
Cc: r-help <r-help at stat.math.ethz.ch>

This has been reported to R-bugs twice already (and also on the lists):
it seems autoconf and FreeBSD are making different assumptions.

If you look in today's R-devel archive you will see the requests for
information I set on the second report.

It seems no one using FreeBSD ever tested the alphas or betas of R 2.1.0.

On Mon, 6 Jun 2005 v.demartino2 at virgilio.it wrote:
> 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?
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the freebsd-questions mailing list