From danlipsitt at gmail.com  Wed Jan 11 23:26:09 2006
From: danlipsitt at gmail.com (Dan Lipsitt)
Date: Wed, 11 Jan 2006 17:26:09 -0500
Subject: [Rd] R 2.2.2-1 RPM build problem and solution on RH AS 4 x86_64
Message-ID: <b3a7efa90601111426p555bb45ag90193daac00f9862@mail.gmail.com>

I have a dual Xeon x86_64 system running Red Hat AS 4. There are no
x86_64 rpms in http://cran.us.r-project.org/bin/linux/redhat/el4/ (the
i386 ones are a point release behind anyway) , and the fc4 rpms have a
whole web of dependencies I don't want to pull in. So I decided to
build http://cran.us.r-project.org/bin/linux/redhat/SRPMS/R-2.2.1-1.fc3.src.rpm
.

When I ran rpmbuild. one of the make-check tests failed.

from /BUILD/R-2.2.1/tests/p-r-random-tests.Rout.fail:
> dkwtest("weibull",shape = 1)
weibull(shape = 1) FAILED
Error in dkwtest("weibull", shape = 1) : dkwtest failed
Execution halted

I was able to build the rpm after removing "--enable-r-shlib" from the
spec file.

http://cran.us.r-project.org/bin/linux/redhat/SRPMS/ReadMe says:
"The new SRPM for R 2.1.1 builds the shared library version of R. This is,
unfortunately, slower than the version without the shared library."

It doesn't say why, if it's slower, it builds it that way. Can anyone
shed some light on the subject?

Dan



[Rd] R 2.2.2-1 RPM build problem and solution on RH AS 4 x86_64
Dan Lipsitt