configureĬheck the newly installed autoconf version to confirm all went well: autoconf -version Run the configure script on the source code. Go into the uncompressed source code directory: cd autoconf-* Get the source code and decompress it: curl -O -L Set the working directory to your home directory: cd Now, onto the show! Just note that version numbers of downloads are based on what is current (as of April 2015) and works well as of the time of this post. Chances are if you need autoconf, automake and libtool installed, you already have Xcode and the command line tools installed, but just pointing that out for those who don’t have that setup yet. The first prerequisite is to have Xcode installed along with the Xcode command line tools as well. Install Xcode and Xcode command line tools. I’ve used this process on Mac OS X 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion) and 10.9 (Mavericks) without issue. This doesn’t mean you can’t install GNU tools on your own. And the other answer is technically correct, but it still does not explain the actual hands-on process required to install the GNU versions of autoconf, automake and libtool in Mac OS X.įirst, Xcode-since at least version 4.3 I believe-no longer includes the GNU versions of autoconf, automake and libtool. I realize this question is about 3+ years old, but the accepted answer is a link only answer and that link is now dead. Old answer content below for reference purposes. I would recommend avoiding compiling anything from raw source code on macOS unless you really have no choice. Now I use Homebrew (aka brew) on macOS as regularly as I use apt-get on Ubuntu and yum on CentOS. At that time I preferred to use raw source compilation on macOS for a task like this rather than a package manager like Homebrew because I simply found Homebrew and MacPorts to be a tad immature back then. When I wrote this answer about 3+ years ago, it was to correct a previous answer that was outdated, link-only and vague in explanation. Install Homebrew and just install the autoconf, automake and libtool packages like this: brew install autoconf automake libtool Update: Just use Homebrew to install these packages and move on with life.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |