Created
September 3, 2021 06:19
-
-
Save Mirochiu/fe62ee021bca521f0f6d70e1cc06a1c1 to your computer and use it in GitHub Desktop.
build gnutls for ffmpeg 4.4
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
echo "install uncompress utils" | |
sudo apt install xz-utils lzip | |
echo "download source codes" | |
wget -c https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz -O - | tar -xJ | |
wget -c https://ftp.gnu.org/gnu/nettle/nettle-3.4.1.tar.gz -O - | tar -xz | |
wget -c https://gmplib.org/download/gmp/gmp-6.2.1.tar.lz -O - | tar --lzip -x | |
wget -c http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.9.tar.gz -O - | tar -xz | |
wget -c https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.xz -O - | tar -xJ | |
wget -c https://github.com/libffi/libffi/archive/refs/tags/v3.0.9.tar.gz -O - | tar -xz | |
echo "start to build gmp" | |
cd gmp-6.2.1 && ./configure --prefix=/usr --enable-static && make -j$(nproc) && make install && cd - | |
echo "start to build nettle" | |
cd nettle-3.4.1 && ./configure --prefix=/usr --enable-static && make -j$(nproc) && make install && cd - | |
echo "start to build libtasn1" | |
cd libtasn1-4.9 && ./configure --prefix=/usr --enable-static && make -j$(nproc) && make install && cd - | |
echo "start to build libunistring" | |
cd libunistring-0.9.10 && ./configure --prefix=/usr --enable-static && make -j$(nproc) && make install && cd - | |
echo "start to build libffi" | |
cd libffi-3.0.9 && ./configure --prefix=/usr --enable-static && make -j$(nproc) && make install && cd - | |
echo "install gettext" | |
apt-get -y install gettext | |
echo "start to build gnutls" | |
cd gnutls-3.6.16 && ./configure --prefix=/usr --enable-static --without-p11-kit && make -j$(nproc) && make install && cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment