There are no known problems with 'RedHat compilers' and lme4.

You do need to have installed an up-to-date Matrix prior to lme4, and the command-line you show indicates that you have not done so (or that it is not in a library known to R_LIBS).

However, gcc 4.0.0 has many known problems, and for those reasons we would recommend an update. (FC4 does have updates to more stable compilers, but many people including my dept see FC5 as a recommended upgrade.)

On Wed, 18 Oct 2006, Patrick Connolly wrote:

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.


* Installing *source* package 'lme4' ...
** libs
gcc -I/usr/local/R-2.4.0/include -I/usr/local/R-2.4.0/include
  -I/usr/local/include    -fpic  -g -O2 -std=gnu99 -c init.c -o init.o
In file included from init.c:1:
lme4_utils.h:4:20: error: Matrix.h: No such file or directory

That line is the error: nothing to do with the compiler.

In file included from init.c:1:
lme4_utils.h:14: error: syntax error before ÿÿÿÿcÿÿÿÿ
lme4_utils.h:14: warning: type defaults to ÿÿÿÿintÿÿÿÿ in declaration of 
ÿÿÿÿcÿÿÿÿ
lme4_utils.h:14: warning: data definition has no type or storage class
init.c:44: error: syntax error before ÿÿÿÿcÿÿÿÿ
,,, etc,


My first theory was that warnings given when the Matrix package was
installed could indicate what was missing.  However, I've been
notified that the same errors don't prevent a Debian system installing
lme4.

Knowing that Redhat has previously fiddled with compilers before
version 3, I'm now suspecting that something similar has been happening.

Does this information tell anybody something informative about FC4's
compiler (unchanged from installation)?

$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=x86_64-redhat-linux

Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)


The other system is RHEL 3 (32bit) but it gives a similar bunch of
errors using an older compiler (3.0.3 IIRC)

There must be others using Redhat and I'd be interested to know if/how
you succeded installing lme4.


I'm feeling left out of the 2.4.0 loop since I have to stay with 2.3.1
to use lme4, so I'd greatly appreciate any information anyone has.

Thanks



--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to