Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on October 27, 2009, 10:23:07 AM

Title: pygtk-2.0 not found ?
Post by: bmarkus on October 27, 2009, 10:23:07 AM
Just trying to update my vte extension in the current up to date environment on TC 2.4.1 Everyting is OK, except the python vte module creation, as configure do not find pygtk:

Quote
pygtk-2.0... not found

First glance looks OK, pygtk dev files, pkgconfig, etc. at the expected location. Same script compiled it back in September with no problem. Any similar experience or succes using pygtk recently?
Title: Re: pygtk-2.0 not found ?
Post by: Juanito on October 27, 2009, 10:26:56 AM
does config.log show anything just before this message?

Sometimes a test just prior to one you think is being tested fails and the wrong error message is given.
Title: Re: pygtk-2.0 not found ?
Post by: bmarkus on October 27, 2009, 10:39:02 AM
This is the Python related part of the log:

Quote
configure:19026: checking for python
configure:19044: found /usr/local/bin/python
configure:19056: result: /usr/local/bin/python
configure:19079: checking for python version
configure:19086: result: 2.6
configure:19098: checking for python platform
configure:19105: result: linux2
configure:19112: checking for python script directory
configure:19133: result: ${prefix}/lib/python2.6/site-packages
configure:19142: checking for python extension module directory
configure:19163: result: ${exec_prefix}/lib/python2.6/site-packages
configure:19182: checking for python >= 2.2
configure:19193: result: okay
configure:19204: checking for headers required to compile python extensions
configure:19234: gcc -E  -I/usr/local/include/python2.6 -I/usr/local/include/python2.6 conftest.c
conftest.c:71:1: warning: "HAVE_WINT_T" redefined
conftest.c:70:1: warning: this is the location of the previous definition
configure:19241: $? = 0
configure:19246: result: found
configure:19264: checking for pygtk-2.0
configure:19433: result: not found
configure:19440: result: Python bindings disabled.
Title: Re: pygtk-2.0 not found ?
Post by: Juanito on October 27, 2009, 11:02:35 AM
hmm - not much of a clue there then  :-\
Title: Re: pygtk-2.0 not found ?
Post by: jls on October 27, 2009, 12:14:43 PM
try installing pyobject, pycairo
Title: Re: pygtk-2.0 not found ?
Post by: bmarkus on October 27, 2009, 12:22:00 PM
try installing pyobject, pycairo

Thanks, it is the solution! pygtk.tczl dependency file lists pygobject and pycairo so obviously their -dev counterparts are needed also. Unfortunately there are no pygtk-dev.tcz.dep which would help. May I ask you to add it to the repo?