[R] lme4 + R 2.11.0 + mac unavailable
David Winsemius
dwinsemius at comcast.net
Tue Aug 24 21:23:25 CEST 2010
On Aug 24, 2010, at 3:13 PM, Daniel Malter wrote:
>
> Hi, has there been a solution to this issue? I am encountering the
> same
> problem on a Mac with OSX 10.6.4. The problem persists when I try to
> install
> lme4 from the source (see below), and my R version is up to date
> according
> to R's update check.
But .... have you installed the correct versions of Xcode and the R-
appropriate tools?
http://r.research.att.com/tools/
The message complaining about missing ...
> ld: library not found for -lgfortran
> collect2: ld returned 1 exit status
... suggests no (or incorrect) Fortran compiler.
--
David.
>
> Thanks for any help,
> Daniel
>
> --------------
>
> sessionInfo()
> R version 2.11.1 (2010-05-31)
> x86_64-apple-darwin9.8.0
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> loaded via a namespace (and not attached):
> [1] tools_2.11.1
>
> --------------
>
> install.packages("lme4")
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package ‘lme4’ is not available
>
> --------------
>
> install.packages("lme4", type = "source")
> trying URL
> 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/lme4_0.999375-35.tar.gz'
> Content type 'application/x-gzip' length 1017763 bytes (993 Kb)
> opened URL
> ==================================================
> downloaded 993 Kb
>
> * installing *source* package ‘lme4’ ...
> ** libs
> *** arch - i386
> gcc -arch i386 -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/i386
> -I/usr/local/include
> -I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/
> Matrix/include"
> -I"/Library/Frameworks/R.framework/Resources/library/stats/
> include" -fPIC
> -g -O2 -c init.c -o init.o
> gcc -arch i386 -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/i386
> -I/usr/local/include
> -I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/
> Matrix/include"
> -I"/Library/Frameworks/R.framework/Resources/library/stats/
> include" -fPIC
> -g -O2 -c lmer.c -o lmer.o
> gcc -arch i386 -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/i386
> -I/usr/local/include
> -I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/
> Matrix/include"
> -I"/Library/Frameworks/R.framework/Resources/library/stats/
> include" -fPIC
> -g -O2 -c local_stubs.c -o local_stubs.o
> gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names
> -undefined dynamic_lookup -single_module -multiply_defined suppress
> -L/usr/local/lib -o lme4.so init.o lmer.o local_stubs.o
> -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRlapack
> -L/Library/Frameworks/R.framework/Resources/lib/i386 -lRblas -
> lgfortran
> -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
> -Wl,CoreFoundation
> ld: library not found for -lgfortran
> collect2: ld returned 1 exit status
> make: *** [lme4.so] Error 1
> ERROR: compilation failed for package ‘lme4’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/2.11/Resources/library/lme4’
>
> The downloaded packages are in
>
> ‘/private/var/folders/q5/q5YCJSnWH7arB5jzTZBIf++++TI/-Tmp-/
> Rtmp4tcqUG/downloaded_packages’
> Updating HTML index of packages in '.Library'
> Warning message:
> In install.packages("lme4", type = "source") :
> installation of package 'lme4' had non-zero exit status
>
>
>
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list