Building GIMP 2.8.2 fails on help browser
Hi,
my system is a LUbuntu 12.04.
Lately I compiled GIMP 2.8.2 on Linux without help browser (WebKit) and
with no problems. Then I added the libwebkitgtk development package.
Configure resp. autogen.sh now tells me I have WebKit installed, but the
GIMP build fails with the following messages:
make[3]: Enter '/home/gimpdev/Workspace/gimp/plug-ins/help-browser'
CCLD help-browser
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_mutex_lock'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_cond_init'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libsoup-2.4.so:
undefined reference to `g_socket_client_event_get_type'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libsoup-2.4.so:
undefined reference to `g_main_context_ref_thread_default'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_mutex_unlock'
/usr/lib/i386-linux-gnu/libgstapp-0.10.so.0: undefined reference to
`g_cond_broadcast'
/usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0: undefined reference to
`g_cond_wait_until'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_cond_clear'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libsoup-2.4.so:
undefined reference to `g_mutex_trylock'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_mutex_init'
/usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0: undefined reference to
`g_thread_try_new'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libsoup-2.4.so:
undefined reference to `g_thread_new'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_mutex_clear'
/usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0: undefined reference to
`g_value_get_schar'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libsoup-2.4.so:
undefined reference to `g_thread_unref'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_cond_wait'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libwebkitgtk-1.0.so:
undefined reference to `g_cond_signal'
collect2: ld returned 1 exit status
I have now spent hours trying to fix it, removed *.la files from
/usr/lib and its subfolders, reinstalled libwebkitgtk-1.0.0 and
libglib2.0 including the developer packages several times and am no step
further.
This is my environment:
export INSTALL_PREFIX="$HOME/Builds"
export LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH"
export PATH="$INSTALL_PREFIX/bin:$PATH"
export PKG_CONFIG_PATH="$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export SRC_DIR="$HOME/Workspace"
export XDG_DATA_DIRS="$INSTALL_PREFIX/share"
export GIO_EXTRA_MODULES=/usr/lib/i386-linux-gnu/gio/modules
export ACLOCAL_FLAGS="-I $INSTALL_PREFIX/share/aclocal"
Can anybody give me a hint how to get it compiled, please?
Thank you in advance,
Sven