[R] compilation error when installing GLMMGibbs on SuSE Linux 8.2 (R v. 1.7.1)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Jul 3 22:45:57 CEST 2003
Damien Joly <dojoly at wisc.edu> writes:
> On Thursday 03 July 2003 3:21 pm, Peter Dalgaard BSA wrote:
> > Damien Joly <dojoly at wisc.edu> writes:
> > > I getting compilation errors when trying to install GLMMGibbs (see
> > > below). I'm running R v 1.7.1 on SuSE Linux 8.2.
> > >
> > > Has anyone else had this problem? I tried it on a Win2000/R 1.5.1
> > > combination and it worked fine. Any hints are greatly appreciated.
> >
> > Which GCC version. There is something with multiline strings being
> > disallowed now due to increased standard adherence...
> >
>
> GCC version 3.3-23:
>
> toxoplasma:/home/damien/temp # rpm -qa | grep gcc
> libgcc-3.3-23
> gcc-3.3-23
> gcc-c++-3.3-23
> gcc-g77-3.3-23
>
> That sound right? Do you recommend I drop back a version or two? (with the
> associated dependency nightmare!)
Just fix the quotes in the sources, I think. (In case you've only
installed with the automated tools before: Fetch the tar file, unpack
it with tar xfz GLMMGibbs_0.5-1.tar.gz, fix the relevant .c file and
finally: R CMD INSTALL GLMMGibbs)
The way to modify the sources seems to be as follows:
(http://lists.suse.com/archive/suse-programming-e/2003-May/0075.html)
From: Philipp Thomas <philipp.thomas at t-link.de>
Date: Tue, 27 May 2003 01:55:06 +0200
Subject: Re: [suse-programming-e] Gcc 3.3
Graham Murray <graham at gmurray.org.uk> [Mon, 26 May 2003 16:35:44
+0100]:
> 1) Close the quotes at the end of each line as 2 adjacent string
> literals are treated as one.
> 2) Put a backslash at the end of each line to make (lexically) one
> line.
3) If you want the string to include the newline (that's most of
the cases that use multiline strings), either put \n\ at the end
of each line or add \n at the end of each adjacent string literal.
Philipp
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list