-
-
Save seveas/6a00d20aa40f9ca677c96eb44a6c5140 to your computer and use it in GitHub Desktop.
Git builder
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
set -x | |
set -e | |
export LD_LIBRARY_PATH=~/git-test-inst/lib | |
mkdir git-test | |
cd git-test/ | |
wget https://dl.uxnr.de/mirror/curl/curl-7.59.0.tar.gz | |
wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz | |
wget https://github.com/git/git/archive/v2.16.3.tar.gz | |
mv v2.16.3 git-2.16.3.tar.gz | |
tar -xf openssl-1.1.0h.tar.gz | |
cd openssl-1.1.0h | |
./config --prefix=/home/dkaarsemaker/git-test-inst | |
make -j16 | |
make -j16 install | |
cd ../ | |
tar xf curl-7.59.0.tar.gz | |
cd curl-7.59.0 | |
./configure --with-ssl=/home/dkaarsemaker/git-test-inst/ --prefix=/home/dkaarsemaker/git-test-inst/ | |
make -j16 | |
make install | |
ldd ~/git-test-inst/lib/libcurl.so.4.5.0 | |
cd .. | |
tar xf git-2.16.3.tar.gz | |
cd git-2.16.3 | |
make configure | |
./configure --prefix=/home/dkaarsemaker/git-test-inst/ --with-openssl=/home/dkaarsemaker/git-test-inst/ --with-curl=/home/dkaarsemaker/git-test-inst/ | |
make -j16 | |
make install | |
ldd ~/git-test-inst/libexec/git-core/git-remote-https | |
cd .. | |
~/git-test-inst/bin/git clone https://github.com/github/debug-repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ldd: /home/liujiewei/git-test-inst/libexec/git-core/git-remote-https: No such file or directory