[R-SIG-Mac] Problems compiling R-2.2.0 from source on macos 10.4.2

Sean Davis sdavis2 at mail.nih.gov
Mon Oct 10 17:08:24 CEST 2005


I am trying to install R from source on macos 10.4.2.  Any suggestions as to
what the compile error below means and what I can do to fix it?

Thanks,
Sean


sdavis$ gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc.
build 4061)

sdavis$ gfortran --version
GNU Fortran 95 (GCC 4.1.0 20050911 (experimental))

sdavis$ ./configure --with-blas='framework vecLib' --with-lapack --with-aqua
--with-R-shlib --with-extraincludedirs=/sw/include
--with-extralibdirs=/sw/lib
....
....
R is now configured for powerpc-apple-darwin8.2.0

  Source directory:          .
  Installation directory:    /Library/Frameworks

  C compiler:                gcc  -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          gfortran  -g -O2

  Interfaces supported:      X11, aqua, tcltk
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
  Options enabled:           framework, R profiling

  Recommended packages:      yes

Make ends with:
gcc -dynamiclib -L/sw/lib -L/usr/local/lib -dynamiclib -install_name
libR.dylib -compatibility_version 2.2.0  -current_version 2.2.0
-headerpad_max_install_names -o libR.dylib  Rembedded.lo CConverters.lo
CommandLineArgs.lo Rdynload.lo Renviron.lo RNG.lo apply.lo arithmetic.lo
apse.lo array.lo attrib.lo base.lo bind.lo builtin.lo character.lo coerce.lo
colors.lo complex.lo connections.lo context.lo cov.lo cum.lo dcf.lo
datetime.lo debug.lo deparse.lo deriv.lo dotcode.lo dounzip.lo dstruct.lo
duplicate.lo engine.lo envir.lo errors.lo eval.lo format.lo fourier.lo
gevents.lo gram.lo gram-ex.lo graphics.lo identical.lo internet.lo
iosupport.lo lapack.lo list.lo logic.lo main.lo mapply.lo match.lo memory.lo
model.lo names.lo objects.lo optim.lo optimize.lo options.lo par.lo paste.lo
pcre.lo platform.lo plot.lo plot3d.lo plotmath.lo print.lo printarray.lo
printvector.lo printutils.lo qsort.lo random.lo regex.lo registration.lo
relop.lo saveload.lo scan.lo seq.lo serialize.lo size.lo sort.lo source.lo
split.lo sprintf.lo startup.lo subassign.lo subscript.lo subset.lo
summary.lo sysutils.lo unique.lo util.lo version.lo vfonts.lo xxxpr.lo `ls
../appl/*.lo ../nmath/*.lo ../unix/*.lo  2>/dev/null`
-L/usr/local/gfortran/lib/gcc/powerpc-apple-darwin8.2.0/4.1.0
-L/usr/local/gfortran/lib -lgfortran -lgcc_s -lSystemStubs -lSystem
../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a  -lintl
-liconv -lreadline  -lm -liconv
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning multiple definitions of symbol _signgam
../nmath/lgamma.lo definition of _signgam in section (__DATA,__common)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(gamma9.o)
definition of _signgam
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
/usr/local/gfortran/lib/libgfortran.a(lock.o) definition of common
__gfortran_ioparm (size 248)
/usr/local/gfortran/lib/libgfortran.a(compile_options.o) definition of
common __gfortrani_compile_options (size 8)
/usr/local/gfortran/lib/libgfortran.a(environ.o) definition of common
__gfortrani_options (size 92)
/usr/local/gfortran/lib/libgfortran.a(lock.o) private external definition of
common __gfortrani_g (size 824)
/usr/local/gfortran/lib/libgfortran.a(lock.o) private external definition of
common __gfortrani_ionml (size 4)
/usr/local/gfortran/lib/libgfortran.a(transfer.o) private external
definition of common __gfortrani_scratch (size 300)
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libR.dylib] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1



More information about the R-SIG-Mac mailing list