[R-SIG-Mac]build of 1.7.0 fails on OS X
Alex Buerkle
buerkla at uwec.edu
Mon Apr 21 11:49:45 MEST 2003
For the first time in a while I tried building R on OS X.
The configure of R-1.7.0 completed, but the build fails with error
below. This error was reported in June 2002, but none of the suggested
fixes resolves the issue for me
(http://maths.newcastle.edu.au/~rking/R/help/02a/4783.html).
Anyone have any suggestions (other than installing the binaries from
gifi)?
Thanks, Alex Buerkle
./configure R_PAPERSIZE="letter" CPPFLAGS="-I/sw/include" \
LDFLAGS="-L/sw/lib/" --enable-R-shlib --with-x \
--with-blas='-framework vecLib' \
--with-lapack
......
R is now configured for powerpc-apple-darwin6.5
Source directory: .
Installation directory: /usr/local
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
Fortran compiler: g77 -g -O2
Interfaces supported: X11, tcltk
External libraries: readline, BLAS(generic), LAPACK(in blas)
Additional capabilities: JPEG, bzip2, PCRE
Options enabled: shared library, R profiling
Recommended packages: yes
./make
...
making strdup.d from strdup.c
making strncasecmp.d from strncasecmp.c
making vsnprintf.d from vsnprintf.c
gcc -I../../src/extra/pcre -no-cpp-precomp -I. -I../../src/include
-I../../src/include -I/sw/include -DHAVE_CONFIG_H -g -O2 -c
CConverters.c -o CConverters.o
gcc -I../../src/extra/pcre -no-cpp-precomp -I. -I../../src/include
-I../../src/include -I/sw/include -DHAVE_CONFIG_H -g -O2 -c
Rdynload.c -o Rdynload.o
Rdynload.c: In function `R_FindSymbol':
Rdynload.c:1036: `CFunTab' undeclared (first use in this function)
Rdynload.c:1036: (Each undeclared identifier is reported only once
Rdynload.c:1036: for each function it appears in.)
make[3]: *** [Rdynload.o] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1
-----------
OS X 10.2.5
gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1
20020420 (prerelease)
g77 -v
Reading specs from /sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1/specs
Configured with: ../gcc3/configure --prefix=/sw --enable-languages=f77
--infodir=${prefix}/share/info
Thread model: single
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1
20020420 (prerelease)
dpkg -s dlcompat
Package: dlcompat
Status: install ok installed
Priority: optional
Section: libs
Maintainer: Peter O'Gorman <peter at pogma.com>
Source: dlcompat
Version: 20021117-1
Depends: dlcompat-shlibs (= 20021117-1)
Description: Dynamic loading compatibility library
dlcompat provides the dlopen() interface for dynamic loading of
modules for applications that need it. It was written by
Jorge Acereda and Peter O'Gorman.
.
Maintainer: Peter O'Gorman <peter at pogma.com>
More information about the R-SIG-Mac
mailing list