Last active
August 2, 2018 23:02
-
-
Save hedefalk/ac6a21aab8b775b3681563b792d53c5a to your computer and use it in GitHub Desktop.
Building gerbv on mac WIP
This file contains 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
Need autopoint which is part of gettext: | |
brew install gettext | |
Keg only so need to have the path: | |
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc | |
Unfortunatly libtool and libtoolize are prefixed with g on homebrew? So edited autoconf.sh accordingly, | |
didn't have time for anything more fancy | |
./autoconf.sh | |
./configure --disable-debug --disable-update-desktop-database | |
make | |
Stuck on: | |
callbacks.c:32:11: fatal error: 'gdk/gdkx.h' file not found | |
Trying rebuilding gdk+ like https://github.com/mltframework/mlt/issues/280#issuecomment-356219859 | |
brew uninstall gtk+ --ignore-dependencies | |
brew edit gtk+ | |
remove | |
--disable-visibility", | |
--with-gdktarget=quartz", | |
brew install --build-from-source --verbose gtk+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~/d/p/gerbv-git ❯❯❯ pkg-config --cflags gtk+-2.0 ⏎ master ✱ ◼
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
brew install gtkglext
pkg-config --cflags gtk+-2.0
/d/p/gerbv-git ❯❯❯ pkg-config --cflags gtk+-2.0 master ✱ ◼
-D_REENTRANT -I/usr/local/Cellar/cairo/1.14.12/include/cairo -I/usr/local/Cellar/gtk+/2.24.32_2/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.32_2/lib/gtk-2.0/include -I/usr/local/Cellar/pango/1.42.3/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/1.8.5/include/harfbuzz -I/usr/local/Cellar/graphite2/1.3.11/include -I/usr/local/Cellar/pango/1.42.3/include/pango-1.0 -I/usr/local/Cellar/fribidi/1.0.5/include/fribidi -I/usr/local/Cellar/atk/2.28.1_2/include/atk-1.0 -I/usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.13.0/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.35/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.36.12/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.35/include/libpng16 -I/usr/local/Cellar/glib/2.56.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.56.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.42/include