[R] Redhat compilers and lme4 with R-2.4.0

Alfonso M Sanchez-Lafuente alfonso at slafuente.es
Wed Oct 18 11:25:18 CEST 2006


>> I've tried unsuccessfully to install lme4 on two different Redhat
>> systems but I've not noticed anything on this list to indicate anyone
>> else has had similar problems.

I am also having problems installing the latest lme4 0.9975-6 on 2.4.0 
in Fedora Core 5.
The output is the following (sorry, it's in Spanish, but I think it can 
be easlily understood because the messages are very simple).


--------cut--------

* Installing *source* package 'lme4' ...
** libs
gcc -I/usr/lib/R/include -I/usr/lib/R/include  -I/usr/local/include 
-I"/usr/lib/R/library/Matrix/include"   -fpic  -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -c glmer.c -o glmer.o
In file included from lmer.h:4,
                  from glmer.h:4,
                  from glmer.c:1:
lme4_utils.h: En la función ‘internal_symmetrize’:
lme4_utils.h:82: error: se usó la declaración inicial del ciclo ‘for’ 
fuera del modo C99
lme4_utils.h:83: error: se usó la declaración inicial del ciclo ‘for’ 
fuera del modo C99
lme4_utils.h: En la función ‘internal_make_named’:
lme4_utils.h:105: error: se usó la declaración inicial del ciclo ‘for’ 
fuera del modo C99
lme4_utils.h: En la función ‘internal_getElement’:
lme4_utils.h:124: error: se usó la declaración inicial del ciclo ‘for’ 
fuera del modo C99
glmer.c: En la función ‘random_effects_deviance’:
glmer.c:433: error: se usó la declaración inicial del ciclo ‘for’ fuera 
del modo C99
glmer.c: En la función ‘glmer_init’:
glmer.c:583: error: se usó la declaración inicial del ciclo ‘for’ fuera 
del modo C99
make: *** [glmer.o] Error 1
ERROR: compilation failed for package 'lme4'
** Removing '/usr/lib/R/library/lme4'
** Restoring previous '/usr/lib/R/library/lme4'
Warning message:
installation of package 'lme4' had non-zero exit status in: 
install.packages(update[, "Package"], instlib, contriburl = contriburl,

-- 

----------------------------------------------
Alfonso M. Sanchez-Lafuente
Departamento de Biologia Vegetal y Ecologia
Facultad de Biologia
Universidad de Sevilla
Avd. Reina Mercedes 9
E-41012, Sevilla, Spain
email: alfonso en slafuente.es / slafuente en us.es



More information about the R-help mailing list