[CDRIVER-397]  fails to build on CentOS 6.5 with autoconf < 2.65 Created: 27/Jul/14  Updated: 03/May/17  Resolved: 29/Sep/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.98.0
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Dan Bauman Assignee: Mira Carey
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

mongo-c-driver.spec

The most recent driver I can build on CentOS 6.5 is 0.94.2

[dan@office ~]$ rpmbuild -ba rpmbuild/SPECS/mongo-c-driver.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zukauw

umask 022
cd /home/dan/rpmbuild/BUILD
LANG=C
export LANG
unset DISPLAY
cd /home/dan/rpmbuild/BUILD
rm -rf mongo-c-driver-0.98.0
/usr/bin/gzip -dc /home/dan/rpmbuild/SOURCES/mongo-c-driver-0.98.0.tar.gz
/bin/tar -xf -
STATUS=0
'[' 0 -ne 0 ']'
cd mongo-c-driver-0.98.0
/bin/chmod -Rf a+rX,u+w,g-w,o-w .
automake aclocal.m4:17: warning: this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. configure.ac:44: error: Autoconf version 2.65 or higher is required aclocal.m4:432: AM_INIT_AUTOMAKE is expanded from... configure.ac:44: the top level autom4te: /usr/bin/m4 failed with exit status: 63 automake: autoconf failed with exit status: 63 error: Bad exit status from /var/tmp/rpm-tmp.Zukauw (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Zukauw (%prep)

[root@office dan]# yum install autoconf
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile

base: mirror.itc.virginia.edu
epel: mirrors.einstein.yu.edu
extras: mirror.thelinuxfix.com
updates: mirror.sanctuaryhost.com Setting up Install Process Package autoconf-2.63-5.1.el6.noarch already installed and latest version Nothing to do



 Comments   
Comment by Andrew Morrow (Inactive) [ 29/Sep/14 ]

Hi -

After examining this issue, we have decided not to fix this. If you want to build on CentOS 6.5 you can use the distribution tarballs, which will work fine. If you need to build from source you will need to obtain a newer autotools installation.

Generated at Wed Feb 07 21:09:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.