Created
May 26, 2013 12:59
-
-
Save carsonmcdonald/5652712 to your computer and use it in GitHub Desktop.
Build script that will download and install valgrind.
This file contains hidden or 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
mkdir installroot | |
INSTALLROOT=`pwd`/installroot | |
curl -OL http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz | |
tar xvzf pkg-config-0.28.tar.gz | |
cd pkg-config-0.28 | |
./configure --prefix=$INSTALLROOT --with-internal-glib | |
make | |
make install | |
cd .. | |
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=$INSTALLROOT | |
make | |
make install | |
cd .. | |
export PATH=$PATH:$INSTALLROOT/bin | |
cd $build | |
curl -OL http://ftpmirror.gnu.org/automake/automake-1.13.tar.gz | |
tar xzf automake-1.13.tar.gz | |
cd automake-1.13 | |
./configure --prefix=$INSTALLROOT | |
make | |
make install | |
cd .. | |
svn co svn://svn.valgrind.org/valgrind/trunk valgrind | |
cd valgrind | |
./autogen.sh | |
./configure --prefix=$INSTALLROOT | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment