Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-29-2008, 08:16 PM   #1
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
compiling python-gtkextra

I'm trying to compile the python bindings to the gtk extra widget set. I am using Arch Linux and have python, pygtk, pygobject, and python-numeric installed. The program I'm trying to work on specifies the latest cvs version, so I checked it out and did ./ and make, but get the following error almost instantly:
Making all in gtkextra
make[1]: Entering directory
(cd . \
        && /usr/bin/python ./ \
           --register /usr/share/pygtk/2.0/defs/pango-types.defs \
           --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
           --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
           --override gtkextra.override \
           --prefix pygtkextra gtkextra.defs) > gen-gtkextra.c \
       && cp gen-gtkextra.c gtkextra.c \
       && rm -f gen-gtkextra.c
Traceback (most recent call last):
 File "./", line 11, in <module>
   from codegen.argtypes import matcher
ImportError: No module named codegen.argtypes
make[1]: *** [gtkextra.c] Error 1
make[1]: Leaving directory
make: *** [all-recursive] Error 1
Can anyone help?

btw the python-gtkextra project seems pretty dead - the last cvs revision was in 2005! But my fellow student (who wrote the program) apparently managed to compile it on ubuntu and is happily hacking away using it. Could the Arch packages for pygtk etc be too new? Seeing as this looks unmaintained, are we going to have problems using this software?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling python program ? mahbouba Linux - Newbie 2 10-28-2008 11:25 PM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 04:44 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 08:54 PM
Cross Compiling Python for StrongARM hiteshmaisheri Linux - Laptop and Netbook 2 04-15-2004 07:40 AM
compiling Python scripts lex1dr Linux - Software 1 06-16-2003 05:24 PM

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration