The configure script computes a PYGTK_CODEGENDIR variable by reading the
pkg-config variable 'codegendir' from the pygtk-2.0 project. The functionality
has been moved to pygobject with a backwards-compatibility variable being kept
in pygtk-2.0. However, the value of this variable is such that it works only if
pygobject and pygtk are installed with the same prefix. This may be the case
most of the time but pywebkitgtk cannot be built if they are installed in
different places for some reason.
The solution would at least include this patch:
diff -u -d -r pywebkitgtk-1.1.7/configure.ac
pywebkitgtk-1.1.7-patched/configure.ac
--- pywebkitgtk-1.1.7/configure.ac 2009-10-03 05:35:23.000000000 +0200
+++ pywebkitgtk-1.1.7-patched/configure.ac 2010-07-11 21:39:27.474455577 +0200
@@ -66,7 +66,7 @@
dnl check for pygtk codegen dir
AC_MSG_CHECKING(for pygtk codegendir)
-PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygtk-2.0`
+PYGTK_CODEGENDIR=`$PKG_CONFIG --variable=codegendir pygobject-2.0`
AC_SUBST(PYGTK_CODEGENDIR)
AC_MSG_RESULT($PYGTK_CODEGENDIR)
Also, renaming the PYGTK_CODEGENDIR variable accordingly might be a good idea.
Original issue reported on code.google.com by tho...@thomas-lotze.de on 12 Jul 2010 at 3:31
Original issue reported on code.google.com by
tho...@thomas-lotze.de
on 12 Jul 2010 at 3:31