[R] make? on Macos 10.2.4
Roger Koenker
roger at ysidro.econ.uiuc.edu
Fri Apr 25 14:53:23 CEST 2003
Greetings on A.N. Kolmogorov's 100th birthday:
I am sure that this is a resolved problem, certainly it has been raised in R help
several times before, but I can't seem to find the right clue. I've recently
upgraded a G4 to OS 10.2.5 and I thought I would have another go at installing
R from source, after failing to accomplish this in 10.1.
So with 1.7.0 from CRAN configure seems to be fine, but make dies with the following
gcc -dynamiclib -install_name /usr/local/lib/R/bin/libRlapack.dylib -L/sw/lib -L/usr/local/lib -o libRlapack.dylib dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo -lf77blas -latlas -L/sw/lib -L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.5/3.1 -L/sw/lib/gcc-lib/powerpc-apple-darwin6.5/3.1/../../.. -lfrtbegin -lg2c -lSystem
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/sw/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
.
.
[more of this]
.
.
/sw/lib/libg2c.a(err.o) definition of common _f__icptr (size 4)
/sw/lib/libg2c.a(err.o) definition of common f(short, void, int, char) (size 4)
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libRlapack.dylib] Error 1
make[3]: *** [R] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
Configure produces:
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
External libraries: BLAS(ATLAS)
Additional capabilities: PNG, JPEG, bzip2, PCRE
Options enabled: R profiling
Recommended packages: yes
And the g77, gcc info is:
rudjer: g77 -v
Reading specs from /sw/lib/gcc-lib/powerpc-apple-darwin6.5/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)
rudjer: gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)
Any suggestions would be most welcome.
Roger
url: www.econ.uiuc.edu Roger Koenker Dept. of Economics UCL,
email rkoenker at uiuc.edu Department of Economics Drayton House,
vox: 217-333-4558 University of Illinois 30 Gordon St,
fax: 217-244-6678 Champaign, IL 61820 London,WC1H 0AX, UK
vox: 020-7679-5838
More information about the R-help
mailing list