Skip to content

Instantly share code, notes, and snippets.

@Aniketh01
Last active May 4, 2022 01:56
Show Gist options
  • Save Aniketh01/5a55f60d68db69eb069934dbf62f4745 to your computer and use it in GitHub Desktop.
Save Aniketh01/5a55f60d68db69eb069934dbf62f4745 to your computer and use it in GitHub Desktop.
For VLC configure to detect QUIC and HTTP3 libraries
Openssl
./config enable-tls1_3 --prefix=/home/devbox/devel/quic_research/build_openssl
make -j$(nproc)
make install_sw
nghttp3
autoreconf -i
./configure --prefix=/home/devbox/devel/quic_research/nghttp3_build --enable-lib-only
make -j$(nproc)
make install // sudo if needed
ngtcp2
autoreconf -i
./configure PKG_CONFIG_PATH=../build_openssl/lib/pkgconfig:../nghttp3_build/lib/pkgconfig LDFLAGS="-Wl,-rpath,../build_openssl/lib" --prefix=/home/devbox/devel/quic_research
make -j$(nproc)
Finally within VLC:
mkdir build && cd build
PKG_CONFIG_PATH=/home/devbox/devel/quic_research/build_openssl/lib/pkgconfig:/home/devbox/devel/quic_research/nghttp3_build/lib/pkgconfig:/home/devbox/devel/quic_research/ngtcp2/lib ../configure --disable-qt
make -j$(nproc)
make install
For globle installation of the libraries so that it is avaible to use the headers:
Openssl
./config enable-tls1_3
make -j$(nproc)
sudo make install_sw
nghttp3
./configure --enable-lib-only
make -j$(nproc)
sudo make install
ngtcp2
./configure PKG_CONFIG_PATH=../build_openssl/lib/pkgconfig:../nghttp3_build/lib/pkgconfig LDFLAGS="-Wl,-rpath,../build_openssl/lib"
make -j$(nproc) check
make -j$(nproc)
sudo make install
Finally within VLC:
mkdir build && cd build
./configure (should be enough: Have to test though)
make -j$(nproc)
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment