[R] Problems compiling Hmisc
Felipe
felipe at unileon.es
Fri Sep 16 11:31:09 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
I am trying to install Hmisc from source on MacOS 10.4.2, using the R
for Mac OS X Aqua GUI 1.12. I have installed g77(using Fink). I am using
the Package installer provided by the GUI, and this is the output I obtain:
* Installing *source* package 'Hmisc' ...
** libs
g77 -fno-common -g -O2 -c cidxcn.f -o cidxcn.o
g77 -fno-common -g -O2 -c cidxcp.f -o cidxcp.o
g77 -fno-common -g -O2 -c hoeffd.f -o hoeffd.o
g77 -fno-common -g -O2 -c jacklins.f -o jacklins.o
g77 -fno-common -g -O2 -c largrec.f -o largrec.o
gcc-3.3 -no-cpp-precomp
- -I/Library/Frameworks/R.framework/Resources/include
- -I/usr/local/include -fno-common -g -O2 -c ranksort.c -o ranksort.o
g77 -fno-common -g -O2 -c rcorr.f -o rcorr.o
g77 -fno-common -g -O2 -c wclosest.f -o wclosest.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
Hmisc.so cidxcn.o cidxcp.o hoeffd.o jacklins.o largrec.o ranksort.o
rcorr.o wclosest.o -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2
- -lg2c -lSystem -framework R
The downloaded packages are in
/private/tmp/Rtmpl1pDLj/downloaded_packages
ld: can't locate file for: -lg2c
make: *** [Hmisc.so] Error 1
ERROR: compilation failed for package 'Hmisc'
It seems to be a problem with the linker, but no idea. Do I need to
install any library or another Fink package?
Thank you.
Felipe
- ----------------------------------oOo----------------------------------
Felipe Martínez-Pastor (BSc, PhD)
Animal Reproduction and Obstetrics
Veterinary Clinic Hospital
24071-León (Spain)
Phone: 987 291 430 / 987 291 000 + 5203
Fax: 987 295 203
e-mail: dbcfmp at unileon.es
- ---
This message has been electronically signed using GPG, a free system to
sign and encrypt documents. If you want to learn more, visit
http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAkMqkN0ACgkQWtdQtNzjBl5kFACfSBopAnm/S2PTEbSyZGhOt4q0
zeQAn3MajbnFXWWhVd7gT+fQ5fGE85Ro
=lssZ
-----END PGP SIGNATURE-----
More information about the R-help
mailing list