-
Notifications
You must be signed in to change notification settings - Fork 72
Building Linux ARM32 Third Party Dependencies
Pablo Tesone edited this page Aug 19, 2022
·
4 revisions
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz
tar xvfz openssl-1.1.1k.tar.gz
./config --prefix=/home/osboxes/dev/thirdParty-arm32 && make install
wget https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
tar xvfz libssh2-1.9.0.tar.gz
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/osboxes/dev/thirdParty-arm32/lib/pkgconfig" cmake . -DCMAKE_PREFIX_PATH=/home/osboxes/dev/thirdParty-arm32/ -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=/home/osboxes/dev/thirdParty-arm32/ -DBUILD_EXAMPLES=NO -DBUILD_TESTING=NO
make install
TAG v1.0.1
git clone https://github.com/libgit2/libgit2.git
cd libgit2
git checkout v1.0.1
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/osboxes/dev/thirdParty-arm32/lib/pkgconfig" cmake . -DBUILD_CLAR=OFF -DCMAKE_PREFIX_PATH=/home/osboxes/dev/thirdParty-arm32/ -DCMAKE_INSTALL_PREFIX:PATH=/home/osboxes/dev/thirdParty-arm32/ -DCMAKE_FIND_ROOT_PATH=/home/osboxes/dev/thirdParty-arm32/lib/ -DOPENSSL_SSL_LIBRARY=/home/osboxes/dev/thirdParty-arm32/lib/
make install
TAG v1.4.4
git clone https://github.com/libgit2/libgit2.git
cd libgit2
git checkout v1.4.4
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/osboxes/dev/thirdParty-arm32/lib/pkgconfig" cmake . -DBUILD_TESTS=OFF -DUSE_SSH=ON -DCMAKE_PREFIX_PATH=/home/osboxes/dev/thirdParty-arm32/ -DCMAKE_INSTALL_PREFIX:PATH=/home/osboxes/dev/thirdParty-arm32/ -DCMAKE_FIND_ROOT_PATH=/home/osboxes/dev/thirdParty-arm32/lib/ -DOPENSSL_SSL_LIBRARY=/home/osboxes/dev/thirdParty-arm32/lib/
make install
wget https://download.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.gz
./configure --prefix=/home/osboxes/dev/thirdParty-arm32/ && make install
sudo apt-get install libx11-dev \
libgl1-mesa-dev \
libxext-dev
wget https://libsdl.org/release/SDL2-2.0.7.tar.gz
./configure --prefix=/home/osboxes/dev/thirdParty-arm32/ && make install
wget https://www.cairographics.org/releases/pixman-0.40.0.tar.gz
./configure --prefix=/home/osboxes/dev/thirdParty-arm32/ && make install
wget https://zlib.net/zlib-1.2.11.tar.gz
./configure --prefix=/home/osboxes/dev/thirdParty-arm32/ && make install
wget https://download.sourceforge.net/libpng/libpng-1.6.37.tar.gz
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/osboxes/dev/thirdParty-arm32/lib/pkgconfig" cmake . -DCMAKE_PREFIX_PATH=/home/osboxes/dev/thirdParty-arm32/ -DCMAKE_INSTALL_PREFIX:PATH=/home/osboxes/dev/thirdParty-arm32/
make install
wget https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
tar xvf cairo-1.16.0.tar.xz
CFLAGS=-I/home/osboxes/dev/thirdParty-arm32/include LDFLAGS=-L/home/osboxes/dev/thirdParty-arm32/lib PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/osboxes/dev/thirdParty-arm32/lib/pkgconfig" ./configure --prefix=/home/osboxes/dev/thirdParty-arm32/
make install
zip -y openssl-1.1.1k.zip libssl.so* libcrypto.so*
zip -y zlib-1.2.11.zip libz.so*
zip -y libssh2-1.9.0.zip libssh2.so*
zip -y libgit2-1.0.1.zip libgit2.so*
zip -y libgit2-1.4.4.zip libgit2.so*
zip -y SDL2-2.0.14.zip libSDL*.so*
zip -y freetype-2.10.0.zip libfreetype.so*
zip -y pixman-0.40.0.zip libpixman-1.so*
zip -y cairo-1.16.0.zip libcairo*.so*
zip -y libpng-1.6.37.zip libpng*.so*
- Compiling and repo organization
- Participate!
- Misc