WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pygtk-2.0 not found ?  (Read 2801 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
pygtk-2.0 not found ?
« 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?
« Last Edit: October 27, 2009, 10:24:39 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14761
Re: pygtk-2.0 not found ?
« Reply #1 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pygtk-2.0 not found ?
« Reply #2 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14761
Re: pygtk-2.0 not found ?
« Reply #3 on: October 27, 2009, 11:02:35 AM »
hmm - not much of a clue there then  :-\

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: pygtk-2.0 not found ?
« Reply #4 on: October 27, 2009, 12:14:43 PM »
try installing pyobject, pycairo
dCore user

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: pygtk-2.0 not found ?
« Reply #5 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?
« Last Edit: October 27, 2009, 12:27:29 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."