Skip to content

Instantly share code, notes, and snippets.

@seveas

seveas/build-git.sh Secret

Created Apr 5, 2018
Embed
What would you like to do?
Git builder
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
@Jecvay

This comment has been minimized.

Copy link

@Jecvay Jecvay commented Dec 11, 2018

ldd: /home/liujiewei/git-test-inst/libexec/git-core/git-remote-https: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.