Hi,<br><br>I saw that you are discussing the pygtk-2.0 problem on [1].<br>The problem is more severe than the pkgconfig path settings.<br><br>Today, I compiled webkit from Debian GIT repository "pkg-webkit/webkit.git".<br>
<br>[CODE]<br>git clone git://<a href="http://git.debian.org/git/pkg-webkit/webkit.git">git.debian.org/git/pkg-webkit/webkit.git</a><br>chmod +x debian/rules<br>fakeroot debian/rules binary<br>[/CODE]<br><br>Trying to compile "epiphany-webkit" fails, I left over the gecko part (by commenting in debian/rules).<br>
<br>[CODE]<br>wget <a href="http://ftp.gnome.org/pub/gnome/sources/epiphany/2.22/epiphany-2.22.1.tar.bz2">http://ftp.gnome.org/pub/gnome/sources/epiphany/2.22/epiphany-2.22.1.tar.bz2</a><br>tar -xjvf epiphany-2.22.1.tar.bz2<br>
cd epiphany-2.22.1<br>svn co svn://<a href="http://svn.debian.org/svn/pkg-gnome/desktop/experimental/epiphany-browser/debian">svn.debian.org/svn/pkg-gnome/desktop/experimental/epiphany-browser/debian</a><br>chmod +x debian/rules<br>
fakeroot debian/rules binary<br>[/CODE]<br><br>NOTE:<br>In "debian/rules" you have to _un_comment the webkit-stuff, e.g. "FLAVORS := webkit #gecko" (instead of FLAVORS := gecko #webkit).<br><br>$ ./configure --with-engine=webkit --enable-python<br>
[...]<br>checking for WEBKIT... yes<br>checking X11/XF86keysym.h usability... yes<br>checking X11/XF86keysym.h presence... yes<br>checking for X11/XF86keysym.h... yes<br>checking whether Python support is requested... yes<br>
checking for a Python interpreter with version >= 2.3... python<br>checking for python... /usr/bin/python<br>checking for python version... 2.5<br>checking for python platform... linux2<br>checking for python script directory... ${prefix}/lib/python2.5/site-packages<br>
checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages<br>checking for headers required to compile python extensions... found<br>checking whether we can build a shared library depending on libpython... yes<br>
checking for PYGTK... no<br>configure: error: Python not found<br><br>As you can see PYGTK is not found, I suppose the problem in python-gtk2-dev.<br>The only advice is to uncomment the configure-flag "--enable-python" in debian/rules and to do without python-support.<br>
I can live with that because I do not use ephy-extensions.<br><br>Greetz,<br>Sedat<br><br>[1] <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476229">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476229</a><br>
<br><br>P.S.: SYSTEMS PYTHON SETTINGS:<br><br>$ ls -l /usr/bin/python*<br>lrwxrwxrwx 1 root root 9 2008-04-17 11:55 /usr/bin/python -> python2.5<br>-rwxr-xr-x 1 root root 1173364 2008-03-09 05:42 /usr/bin/python2.5<br>
-rwxr-xr-x 1 root root 1419 2008-03-09 05:41 /usr/bin/python2.5-config<br>lrwxrwxrwx 1 root root 16 2008-04-17 11:56 /usr/bin/python-config -> python2.5-config<br><br>$ ls -l /usr/lib/pkgconfig/py*<br>-rw-r--r-- 1 root root 567 2008-03-25 01:15 /usr/lib/pkgconfig/pygobject-2.0.pc<br>
lrwxrwxrwx 1 root root 22 2008-04-17 11:57 /usr/lib/pkgconfig/pygtk-2.0.pc -> python2.5/pygtk-2.0.pc<br><br>/usr/lib/pkgconfig/python2.4:<br>total 4<br>-rw-r--r-- 1 root root 648 2008-01-12 04:18 pygtk-2.0.pc<br><br>
/usr/lib/pkgconfig/python2.5:<br>total 4<br>-rw-r--r-- 1 root root 648 2008-01-12 04:18 pygtk-2.0.pc<br><br>$ cat pygtk-2.0.pc<br>prefix=/usr<br>exec_prefix=${prefix}<br>includedir=${prefix}/include<br>datarootdir=${prefix}/share<br>
datadir=${datarootdir}<br>pyexecdir=${exec_prefix}/lib/python2.5/site-packages<br><br># you can use the --variable=pygtkincludedir argument to<br># pkg-config to get this value. You might want to use this to<br># install additional headers.<br>
pygtkincludedir=${includedir}/pygtk-2.0<br><br># same here. Useful when calling the code generator in addon packages.<br>defsdir=${datadir}/pygtk/2.0/defs<br>codegendir=${datadir}/pygtk/2.0/codegen<br><br>Name: PyGTK<br>
Description: Python bindings for GTK+ and related libraries<br>Requires: pygobject-2.0<br>Version: 2.12.1<br>Cflags: -I${pygtkincludedir}<br><br>