Created
March 1, 2026 20:51
-
-
Save AlisterH/15d63961e303e29778fa18e3acf2cbfe to your computer and use it in GitHub Desktop.
solaris junk
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
| export CFLAGS="-m32" | |
| export CXXFLAGS="-m32" | |
| export LDFLAGS="-m32 -L/opt/csw/lib -R/opt/csw/lib" | |
| export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig |
Author
Author
wget https://download.gnome.org/sources/gdk-pixbuf/2.28/gdk-pixbuf-2.28.2.tar.xz
tar xf gdk-pixbuf-2.28.2.tar.xz
cd gdk-pixbuf-2.28.2
mkdir build && cd build
export PKG_CONFIG_PATH=
export LDFLAGS="-lm"
export CPPFLAGS=""
../configure --prefix=/opt/csw --with‑out‑mlib
gmake
gmake install
export PATH=/opt/csw/bin:$PATH
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:$PKG_CONFIG_PATH
Author
wget https://download.gnome.org/sources/glib/2.28/glib-2.28.8.tar.xz
tar xf glib-2.28.8.tar.xz
cd glib-2.28.8
Configure to install locally
./configure --prefix=/opt/local --enable-static --disable-shared
gmake
gmake install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
echo 'int main() { return 0; }' | cc -x c - -lmlib -o /tmp/test_mlib && echo "mlib found" || echo "mlib NOT found"