Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
+ autoconf configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
R.
On Fri, 2010-06-04 at 18:00 +0100, Robin Bowes wrote:
Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
I don't know if Ruby needs it, but I ran into a similar issue for Python 2.6 in EPEL 5: the configure.in required autoconf 2.61.
To get around this, I set up the python26.spec file to make it easy to regenerate this file on a Fedora box with a more recent autoconf.
grep for "regenerate_autotooling_patch" in here: http://cvs.fedoraproject.org/viewvc/EL-5/python26/python26.spec?revision=1.2...
which also has links to docs on getting the newer autoconf.
Hope this is helpful Dave
On 04/06/10 18:40, David Malcolm wrote:
On Fri, 2010-06-04 at 18:00 +0100, Robin Bowes wrote:
Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
I don't know if Ruby needs it, but I ran into a similar issue for Python 2.6 in EPEL 5: the configure.in required autoconf 2.61.
To get around this, I set up the python26.spec file to make it easy to regenerate this file on a Fedora box with a more recent autoconf.
grep for "regenerate_autotooling_patch" in here: http://cvs.fedoraproject.org/viewvc/EL-5/python26/python26.spec?revision=1.2...
which also has links to docs on getting the newer autoconf.
David,
Thanks, but... ugh!
R.
Robin Bowes wrote:
Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
Do you really need to build ruby 1.9.1 yourself? We have it available in a repository where we'll be putting different ruby related packages as well.
-- Jeroen
On 08/06/10 15:55, Jeroen van Meeuwen wrote:
Robin Bowes wrote:
Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
Do you really need to build ruby 1.9.1 yourself? We have it available in a repository where we'll be putting different ruby related packages as well.
Jeroen,
I found that list rather over-whelming, ie. there are a *lot* of subdirs in there, not all related to RHEL/CentOS.
Are there any docs explaining what each repo contains, and which ones I should be using ?
R.
Robin Bowes wrote:
On 08/06/10 15:55, Jeroen van Meeuwen wrote:
Robin Bowes wrote:
Hi,
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.92052 (%build)
Note that this is the el5 package.
Can that requirement be relaxed, ie. will it work with autoconf-2.59-12 that is available on RHEL/CentOS 5.5 ?
Do you really need to build ruby 1.9.1 yourself? We have it available in a repository where we'll be putting different ruby related packages as well.
Jeroen,
I found that list rather over-whelming, ie. there are a *lot* of subdirs in there, not all related to RHEL/CentOS.
Are there any docs explaining what each repo contains, and which ones I should be using ?
Nothing online yet, but I can work on that. For ruby-1.9.1 for el5, you're looking at the feature-el5-ruby-1.9.1 repository, possibly including the feature-el5-ruby-1.9.1-updates variant.
I haven't really been able to set up the complete infrastructure yet (GPG signing, updates management, dist-cvs/dist-git), but I'm working on it.
-- Jeroen
Hi,
On Fri, 04 Jun 2010 18:00:56 +0100 Robin Bowes robin-lists@robinbowes.com wrote:
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level
Why are you trying to run autoconf ? :) ruby-1.9.1-p378.tar.gz from upstream has a configure script that worked just fine for me...
But it'd probably be the easiest to use Jeroen's repo, if the ruby/gems there satisfy your needs.
Regards, -- mb
On 08/06/10 18:57, Michal Babej wrote:
On Fri, 04 Jun 2010 18:00:56 +0100 Robin Bowes robin-lists@robinbowes.com wrote:
I just tried to rebuild ruby-1.9.1.378-16.el5.fr191.src.rpm on CentOS 5.5 and get this error:
- autoconf
configure.in:4: error: Autoconf version 2.60 or higher is required configure.in:4: the top level
Why are you trying to run autoconf ? :) ruby-1.9.1-p378.tar.gz from upstream has a configure script that worked just fine for me...
I'm not explicitly running autoconf, I'm simply rebuilding the SRPM which failed with the above error.
Incidentally, I fixed it by rebuilding & installing autoconf from autoconf-2.63-5.fc12.src.rpm
But it'd probably be the easiest to use Jeroen's repo, if the ruby/gems there satisfy your needs.
I would agree, but I'm not clear which repo(s) I should be using. It would be helpful to have a guide describing the content of each of the repos, a yum config file to drop in /etc/yum.conf.d, or even a -release RPM that sets up the repos (installs yum config, GPG key, etc.)
R.
ruby-sig@lists.fedoraproject.org