Local Build of GNU autoconf and automake in CentOS

Dev

Local Build of GNU autoconf and automake in CentOS

I was trying to build MediaTomb from the latest development source, and to do so, it required I have autoconf 2.61 and automate 1.10 installed. My Linux distribution of choice is CentOS. I was a dedicated Slackware user for many years, but opted to switch to a distribution with larger community support for easier availability of packages. I don’t mind building things from source code, but when something has 20-30 other dependencies, it can be a real waste of time. Ubuntu was plain awful when trying to get my home server set up, but CentOS has fit right in.

Back to the main topic, I had to get a more recent version of autoconf and automake to be able to generate the configure script for MediaTomb. The latest available official packages are autoconf-2.59-12 and automake-1.9.6-2.1. Since these packages are an integral part of building software on the system, I was hesitant to jump versions ahead of the rest of the packages. I try to keep my system in sync with the official package tree as much as possible. I typically only deviate to rpmforge for newer specialty packages.

To maintain the integrity of my system, I opted to install these packages under my local user folder. My procedure:

  • Downloaded autoconf-2.61.tar.gz and automake-1.10.2.tar.gz from ftp.gnu.org
  • Extracted both packages using tar -zxvf
  • Run the autoconf configure script to use a local installation path: ./configure –prefix=/home/daniel/aconf/
  • Run make && make install for autoconf
  • Since the configure script for automake checks the autoconf version, override my default PATH to include the local bin folder for autoconf 2.61: PATH=/home/daniel/aconf/bin:$PATH
  • Run the automake configure script to use a local installation path: ./configure –prefix=/home/daniel/aconf/
  • Run make && make install for automake
  • Finally, I used the local copy of autoreconf to create MediaTomb’s configure script.

Thought I’d share this in case anyone else comes across this mini speedbump, back to having fun with MediaTomb

More About the Author

Daniel Holm

Director of Enterprise Solutions
Quick Q&A: Why We Like Dell-EMC for Just About Everything IT In this edition of “Quick Q&A,” we talk about Dell-EMC with InterWorks Director of Enterprise Solutions Daniel Holm, IT ...
Testing the Beta NVIDIA RTX Audio Driver NVIDIA is always pushing the limit of what their video cards can do. However, they have now started to use the AI abilities they ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072