LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-29-2008, 07:16 PM   #1
samwise17
Member
 
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 ./autogen.sh and make, but get the following error almost instantly:
Code:
Making all in gtkextra
make[1]: Entering directory
`/home/samwise/ABS/python-gtkextra/src/python-gtkextra2-build/gtkextra'
(cd . \
        && /usr/bin/python ./mycodegen.py \
           --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 "./mycodegen.py", 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
`/home/samwise/ABS/python-gtkextra/src/python-gtkextra2-build/gtkextra'
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?
 
  


Reply


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 10:25 PM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM
Cross Compiling Python for StrongARM hiteshmaisheri Linux - Laptop and Netbook 2 04-15-2004 06:40 AM
compiling Python scripts lex1dr Linux - Software 1 06-16-2003 04:24 PM


All times are GMT -5. The time now is 02:08 AM.

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