Hi All. I have a problem with building gajim pygtk and pygobject are installed... _______________________________________ note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead note: I will now try to invoke pygobject-codegen-2.0 in the same directory Traceback (most recent call last): File "/usr/share/pygobject/2.0/codegen/codegen.py", line 1717, in <module> sys.exit(main(sys.argv)) File "/usr/share/pygobject/2.0/codegen/codegen.py", line 1675, in main p.startParsing() File "/usr/share/pygobject/2.0/codegen/scmexpr.py", line 113, in startParsing for statement in statements: File "/usr/share/pygobject/2.0/codegen/scmexpr.py", line 27, in parse fp = open(filename, 'r') IOError: [Errno 2] No such file or directory: '/usr/share/pygtk/2.0/defs/gdk-types.defs' make[3]: *** [trayicon.c] Error 1 make[3]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1' make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/contrib/gajim/gajim#0.12.1-2.pkg.tar.gz' failed. _______________________________________ Any ideas?
Hello, Yu. On Thu, 07 May 2009 14:09:11 +0400 Yu <dober@linuxproject.ru> wrote:
Hi All. I have a problem with building gajim pygtk and pygobject are installed...
_______________________________________ note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead note: I will now try to invoke pygobject-codegen-2.0 in the same directory Traceback (most recent call last): File "/usr/share/pygobject/2.0/codegen/codegen.py", line 1717, in <module> sys.exit(main(sys.argv)) File "/usr/share/pygobject/2.0/codegen/codegen.py", line 1675, in main p.startParsing() File "/usr/share/pygobject/2.0/codegen/scmexpr.py", line 113, in startParsing for statement in statements: File "/usr/share/pygobject/2.0/codegen/scmexpr.py", line 27, in parse fp = open(filename, 'r') IOError: [Errno 2] No such file or directory: '/usr/share/pygtk/2.0/defs/gdk-types.defs' make[3]: *** [trayicon.c] Error 1 make[3]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/ports/contrib/gajim/work/src/gajim-0.12.1' make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/contrib/gajim/gajim#0.12.1-2.pkg.tar.gz' failed. _______________________________________
Any ideas?
Seems like you are missing the '/usr/share/pygtk/2.0/defs/gdk-types.defs' file somehow. Try rebuilding pygtk. A complete build log would be also interesting to look at. However, I am using another pygtk version, from gnome repo: http://crux.nu/portdb/?a=getup&q=gnome If you'll be able to solve the issue with this version, please, let me know. -- Mikhail Kolesnik JID: mike_k at jabber.org ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta
On Thu, 07 May 2009 14:09:11 +0400 Yu wrote:
Hi All. I have a problem with building gajim pygtk and pygobject are installed...
<snip>
IOError: [Errno 2] No such file or directory: '/usr/share/pygtk/2.0/defs/gdk-types.defs' <snip>
You seem to be missing gdk-types.defs, which is odd, because it's provided by pygtk. Gajim builds fine here, so I suggest you rebuild pygtk and it's dependencies(pygobject,pycairo,libglade).That might work [tm] Pedja -- Never settle with words what you can accomplish with a flame thrower.
participants (3)
-
Mikhail Kolesnik
-
Predrag Ivanovic
-
Yu