[R] Can't update packages because of -lgfortran
vittorio
vdemart1 at tin.it
Wed Sep 26 00:14:16 CEST 2007
Under freebsd 6.2 intel Duo, R 2.5.1 I can't update some packages (14 now)
because of a problem with -lgfortran, e.g.
> update.packages("Hmisc")
....................................................................
...............................................................
* Installing *source* package 'Hmisc' ...
** libs
gfortran42 -fpic -g -O2 -c cidxcn.f -o cidxcn.o
gfortran42 -fpic -g -O2 -c cidxcp.f -o cidxcp.o
gfortran42 -fpic -g -O2 -c hoeffd.f -o hoeffd.o
gfortran42 -fpic -g -O2 -c jacklins.f -o jacklins.o
gfortran42 -fpic -g -O2 -c largrec.f -o largrec.o
cc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -fpic -O2 -fno-strict-aliasing -pipe -march=prescott -c
ranksort.c -o ranksort.o
gfortran42 -fpic -g -O2 -c rcorr.f -o rcorr.o
cc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -fpic -O2 -fno-strict-aliasing -pipe -march=prescott -c
string_box.c -o string_box.o
gfortran42 -fpic -g -O2 -c wclosest.f -o wclosest.o
cc -std=gnu99 -shared -L/usr/local/lib -o Hmisc.so cidxcn.o cidxcp.o hoeffd.o
jacklins.o largrec.o ranksort.o rcorr.o string_box.o
wclosest.o -L/usr/local/lib/gcc-4.2.1/gcc/i386-portbld-freebsd6.2/4.2.1 -L/usr/local/lib/gcc-4.2.1 -lgfortran -lm -lgcc_s -L/usr/local/lib/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
*** Error code 1
Stop in /tmp/R.INSTALL.I0P7Jg/Hmisc/src.
ERROR: compilation failed for package 'Hmisc'
** Removing '/usr/local/lib/R/library/Hmisc'
** Restoring previous '/usr/local/lib/R/library/Hmisc'
I'm asking you: what's the matter with -lgfortran?
Thanks
Vittorio
More information about the R-help
mailing list