From peter.rossi at chicagogsb.edu  Mon Mar 10 19:30:19 2008
From: peter.rossi at chicagogsb.edu (Rossi, Peter E.)
Date: Mon, 10 Mar 2008 13:30:19 -0500
Subject: [Rd] Check errors using R2.6.2
In-Reply-To: <alpine.LFD.1.00.0803101809370.17272@gannet.stats.ox.ac.uk>
References: <FC7768358736E54AB330E0B99FFB5E1F567135@GSBHEX2V.gsb.uchicago.edu>
	<47D57219.5010608@statistik.tu-dortmund.de>
	<alpine.LFD.1.00.0803101809370.17272@gannet.stats.ox.ac.uk>
Message-ID: <FC7768358736E54AB330E0B99FFB5E1F56714D@GSBHEX2V.gsb.uchicago.edu>

great. sorry to have bothered.

btw, the MinGW windows .exe installer installs 3.4.5 not 4.2.1 so you
have
to download the untar the files one by one from sourceforge.

moving to Leopard soon so, hopefully, this garbage will go away.

p

................................
 Peter E. Rossi
 Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics
 Director, Kilts Center for Marketing
 Editor, Quantitative Marketing and Economics
 Rm 353, Graduate School of Business, U of Chicago
 5807 S. Woodlawn Ave, Chicago IL 60637
 Tel: (773) 702-7513   |   Fax: (773) 834-2081 
 WWW: http://ChicagoGsb.edu/fac/peter.rossi
 SSRN: http://ssrn.com/author=22862

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: Monday, March 10, 2008 1:12 PM
To: Uwe Ligges
Cc: Rossi, Peter E.; r-devel at r-project.org
Subject: Re: [Rd] Check errors using R2.6.2

On Mon, 10 Mar 2008, Uwe Ligges wrote:

>
>
> Rossi, Peter E. wrote:
>> I can successfully "check" a package with source under 2.5.1,
including
>> compiling source files and running examples with no errors or
warnings.
>>
>> when I try with R2.6.2, I get make errors:
>>
>> making bayesmc.d from bayesmc.c
>> make[3]:gcc-sjlj: Command not found
>>
>> etc.
>>
>> my gcc is version 3.4.2
>>
>> I'm using Windows XP.
>>
>> Any thoughts?
>
> Yes: Upgrade gcc as the R Administration and Installation manual
> suggets. R >= 2.6.0 is built under gcc-4.2.1.

Alternatively, read the MkRules file and set the macros as needed for
your 
compiler (as the manual suggested).

However, gcc 3.4.2 is ancient and has known bugs that means it cannot
even 
compile R correctly on Windows.  If you must use gcc 3, at least use 
3.4.5.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
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



[Rd] Check errors using R2.6.2
Rossi, Peter E.