[R] Problem with lme4 package
suchy
tomasz.suchocki at gmail.com
Wed Dec 15 10:39:34 CET 2010
Hi all,
I have installed R on SUSE 11.1 and if I tried to add some packages e.g.
lme4 I got a message:
________________________________________________________________________________________
* installing *source* package âlme4â ...
** libs
gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
-I"/usr/lib64/R/library/Matrix/include"
-I"/usr/lib64/R/library/stats/include" -fpic -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -c init.c -o init.o
gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
-I"/usr/lib64/R/library/Matrix/include"
-I"/usr/lib64/R/library/stats/include" -fpic -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -c lmer.c -o lmer.o
gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/local/include
-I"/usr/lib64/R/library/Matrix/include"
-I"/usr/lib64/R/library/stats/include" -fpic -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -c local_stubs.c -o local_stubs.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o
local_stubs.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas
-lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [lme4.so] Error 1
ERROR: compilation failed for package âlme4â
* removing â/home/suchy/R/x86_64-unknown-linux-gnu-library/2.12/lme4â
The downloaded packages are in
â/tmp/Rtmp9YE4jD/downloaded_packagesâ
Warning message:
In install.packages("lme4") :
installation of package 'lme4' had non-zero exit status
_________________________________________________________________________________________
Similar situation I have for other packages.
Could You help me?
Thanks for any response
Tomasz Suchocki
--
View this message in context: http://r.789695.n4.nabble.com/Problem-with-lme4-package-tp3088681p3088681.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list