How can I upgrade to Autoconf 2.6.2 or later on Mac OS X 10.6?

My environment is Mac OS X 10.6. I installed Autoconfig using MacPorts:

sudo port -v selfupdate sudo port install autoconf 

But the installed autoconf is 2.6.1. My question is, how can I upgrade it to 2.6.2?

The program I'm trying to compile requires autoconf 2.6.2

 configure.ac:14: error: Autoconf version 2.62 or higher is required /opt/local/share/aclocal-1.11/init.m4:110: AM_INIT_AUTOMAKE is expanded from... configure.ac:14: the top level autom4te: /Developer/usr/bin/gm4 failed with exit status: 63 aclocal-1.11: autom4te failed with exit status: 63 make[1]: *** [libmpeg2] Error 63 
+4
source share
1 answer

Usually I donโ€™t want to install any of the auto bodies on the system, but instead I install them in $ HOME. Just take the taroconf tarball from http://ftp.gnu.org/gnu/autoconf/ , unzip it and run:

 ./configure --prefix=$HOME make make install 

Make sure $ HOME / bin is in your PATH in front of the system directory, or remove autoconf from the system.

+4
source

Source: https://habr.com/ru/post/1402751/


All Articles