-
-
Save eegrok/1b4b1a9eb5fbc40245c5 to your computer and use it in GitHub Desktop.
install command line tools on osx / other libraries as well
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
# Install autoconf, automake, libtool and pkg-config smoothly on Mac OS X. | |
# Newer versions of these libraries may be available and may work better on OS X | |
# | |
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
# | |
export build=~/src # or wherever you'd like to build | |
mkdir -p $build | |
## | |
# Autoconf | |
# http://ftpmirror.gnu.org/autoconf | |
cd $build | |
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz | |
tar xzf autoconf-2.69.tar.gz | |
cd autoconf-2.69 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
## | |
# Automake | |
# http://ftpmirror.gnu.org/automake | |
cd $build | |
curl -OL http://ftpmirror.gnu.org/automake/automake-1.14.1.tar.gz | |
tar xzf automake-1.14.1.tar.gz | |
cd automake-1.14.1 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
## | |
# Libtool | |
# http://ftpmirror.gnu.org/libtool | |
cd $build | |
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz | |
tar xzf libtool-2.4.2.tar.gz | |
cd libtool-2.4.2 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
# install pkgconfig | |
cd $build | |
curl -OL http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz | |
cd pkg-config-0.28 | |
./configure --prefix=/usr/local --with-internal-glib | |
make | |
sudo make install | |
echo "Installation complete." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
# Install libxml2 on Mac OS X. | |
# Newer versions of these libraries may be available and may work better on OS X | |
# | |
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
# | |
export build=~/src # or wherever you'd like to build | |
mkdir -p $build | |
cd $build | |
git clone git://git.gnome.org/libxml2 | |
cd libxml2 | |
autoreconf -vif | |
./configure | |
make | |
sudo make install | |
echo "Installation complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment