I'm having trouble building some packages while running Debian Lenny (testing) and suspect that the issues are related to the default use of gcc-4.3. With Lenny, build-essentials depends on 4.3, so I'd like to leave it installed but have also installed 4.2.1. How do I tell ./configure the path to 4.2.1 ? I"m sure it's an option, but I don't see it documented in the R-admin manual. Mark -- Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 663-0513 Home (no voice mail please)
On Wed, 27 Aug 2008, Mark Kimpel wrote:> I'm having trouble building some packages while running Debian Lenny > (testing) and suspect that the issues are related to the default use > of gcc-4.3.You might want to compare your problems with the CRAN checks at http://cran.r-project.org/web/checks/check_summary.html as those are run with gcc 4.3.x on Debian testing. From memory, the problems are confined to C++-(mis)using packages.> With Lenny, build-essentials depends on 4.3, so I'd like > to leave it installed but have also installed 4.2.1. How do I tell > ./configure the path to 4.2.1 ? I"m sure it's an option, but I don't > see it documented in the R-admin manual.>From configure --help:CC C compiler command CFLAGS C compiler flags There are many examples of setting CC in the R-admin manual, and the first para of 'Essential Programs' seems to me to tell you that as well. -- 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
Mark, On 27 August 2008 at 16:21, Mark Kimpel wrote: | I'm having trouble building some packages while running Debian Lenny | (testing) and suspect that the issues are related to the default use | of gcc-4.3. With Lenny, build-essentials depends on 4.3, so I'd like | to leave it installed but have also installed 4.2.1. How do I tell | ./configure the path to 4.2.1 ? I"m sure it's an option, but I don't | see it documented in the R-admin manual. a) That's an r-sig-debian question, so please post there. As a quick hint a.1) solve it the Debian way via alternatives: man update-alternatives a.2) solve it the standard Unix/GNU way by telling configure what to use for CC, CXX, ... The GNU tools respect those choices. but b) All of Debian's r-cran-* package are built using the most current (ie now 4.3) compiler; other had done complete archive rebuilds before 4.3 was released. The low-hanging fruits (ie easy errors of missing headers etc) have all been addressed. c) Just to lift the lid a little here, but our Google Summer of Code project is coming along just fine, thanks to outstanding work by Charles (the student) and now with hardware support from WU Wien which is letting us hammer away on Xen instance. As of right now: edd at xmcorsairs:~$ sqlite3 /var/cache/cran2deb/cran2deb.db "select count(package),success from builds group by success;" 157|0 1340|1 edd at xmcorsairs:~$ r -e'print(1340/(157+1340)*100)' [1] 89.51236 edd at xmcorsairs:~$ 89.9% autobuild and we're not quite done yet in terms of adding manual translations of SystemRequirements into Debian's Depends: I suspect a local mishap at your end and invite you to post some details at r-sig-debian -- I'm sure we get that sorted out. Dirk -- Three out of two people have difficulties with fractions.