On Fri, Apr 20, 2018 at 06:22:26PM +0200, Pierre Labastie wrote:
> On 20/04/2018 04:38, Ken Moffat wrote:
> > I'm on a new build, and I was hoping to build gimp-2.10.0-RC2 (I
> > build -RC1 on a new build on a different machine a couple of weeks
> > ago).  But the gimp errored out with:
> > 
> >   CC       gimpuimodule.lo
> > gimpuimodule.c:26:10: fatal error: pygtk/pygtk.h: No such file or directory
> >  #include <pygtk/pygtk.h>
> >           ^~~~~~~~~~~~~~~
> 
> Hmmm, could it be related to the failure to install pkgconfig and headers for
> pycairo, as you described on -dev? I've built pycairo 1.17.0 adding:
> python2 setup.py install_pkgconfig # as root
> python2 setup.py install_pycairo_header # as root
> 
> and same with python3
> 
> then built gimp and its deps by the book, and everything went well...
> 
> Pierre

Thanks, Pierre, you've nailed it.

I had to come back to this machine and unhibernate it before I could
be sure, but I now see that my build order was

pycairo-1.17.0
pygobject2
pygtk
pygobject3 failed
pycairo-1.16.3
pygobject3

and looking at the log from pygtk I can now see
checking for PYCAIRO... no
no
not checking for gtk due to missing pycairo

I've now reinstalled pygtk, it added the header and python2
site-packages/gtk-2.0/ files/ and gimp-2.10-RC2 is now installed.

Cheers, I'm calming down now and I might even change my .sig

ĸen
-- 
Misquoting "The Plan" : Python modules tend towards a crock of
shite, which stinks to heaven -- me
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to