[R-SIG-Mac] problem installing R-2.5.0 on Mac

J ö rg Beyer Beyerj at students.uni-marburg.de
Mon Jun 25 12:07:19 CEST 2007


Vivek, 

is there any reason that forces you to compile R yourself? In most cases (as
I see it), you don't have to. The easiest and fastest way to get a
ready-to-use installation of R on your PowerPC is to use the binary
installer you can find on CRAN [www.r-project.org > CRAN > _choose a mirror
from the list_ > MacOS X > _choose a binary distribution package, I
recommend 'R-2.5.0.dmg (latest version)'_ ]

Using a binary distribution, the installation is a question of minutes,
never had any serious problems on my own Power PC (G4/400, Oct 1999 :-)

Note that R 2.5.1 is right in front of our doors, official release date was
set to 2007-06-28, the Mac version usually follows a few days later.

Hope this helps -- good luck!

Jörg


> Hello everyone,I am new to R package and I am having trouble installing
> R-2.5.0 on a Mac PowerPC. I have followed the instructions as per the "R for
> Mac OSX FAQ".
> 1. without enabling the flags, I get these errors:
> gcc -std=gnu99 -dynamiclib -L/sw/lib -L/usr/local/lib -install_name
> libR.dylib -compatibility_version 2.5.0  -current_version 2.5.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/nfs/auts/sw/lib/gcc/powerpc-
> apple-darwin7.5.0/3.4.1 -L/nfs/auts/sw/lib/gcc -lg2c  ../extra/zlib/libz.a
> ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a  -lintl -liconv
> -Wl,-framework -Wl,CoreFoundation -lreadline  -lcc_dynamic -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: Undefined symbols:
> _cacos
> _cacosh
> _carg
> _casin
> _casinh
> _catan
> _catanh
> _ccos
> _ccosh
> _cexp
> _clog
> _cpow
> _csin
> _csinh
> _csqrt
> _ctan
> _ctanh
> /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
> 
> 2. After enabling the flags I get an error with respect to libR.dylib
> 
> Has someone seen these errors?? Any suggestions so that I can successfully
> install R??
> Thanks
> Vivek
> 
>     [[alternative HTML version deleted]]
> 



============================================================

Jörg Beyer 
PHILIPPS-University Marburg
Dept. of Psychology
Germany



More information about the R-SIG-Mac mailing list