[R-SIG-Mac]build of 1.7.0 fails on OS X

Luke Tierney luke at stat.uiowa.edu
Mon Apr 21 11:59:31 MEST 2003


This suggests configure was not able to find your dlcompat library or
that it isn't working for some reason.  Checking config.log may give
more info.

luke

On Mon, 21 Apr 2003, Alex Buerkle wrote:

> 
> 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>
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
> 

-- 
Luke Tierney
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
   Actuarial Science
241 Schaeffer Hall                  email:      luke at stat.uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



More information about the R-SIG-Mac mailing list