[R-SIG-Mac] libtool issue with shlib for R; very latest R-devel on ppc 10.4.7

Vincent Carey 525-2265 stvjc at channing.harvard.edu
Sun Aug 13 03:23:43 CEST 2006

I am trying to build R-devel from source on a mac ppc G4

%vjc> uname -a
Darwin vincent-careys-powerbook-g4-12.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc

OSX version is 10.4.7

a previous version built with following sessioninfo

R version 2.4.0 Under development (unstable) (2006-07-16 r38625)



%vjc> svn up
At revision 38860.

i do configure --enable-R-shlib --enable-BLAS-shlib=no --with-tcltk

then it fails at

gcc -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -install_name libR.dylib -compatibility_version 2.4.0  -current_version 2.4.0  -headerpad_max_install_names -o libR.dylib 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 localecharset.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 rlocale.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   `ls ../appl/*.o ../nmath/*.o ../unix/*.o  2>/dev/null|grep -v /ext-`  -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c -lSystem  ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a  ../extra/intl/libintl.a  -Wl,-framework -Wl,CoreFoundation -lreadline  -lcc_dynamic -lm -liconv
/usr/bin/libtool: unknown option character `m' in: -macosx_version_min
Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]

presumably i can get a build without --enable-R-shlib ...

any suggestions appreciated

More information about the R-SIG-Mac mailing list