The python bindings for gtk 2.4 (pygtk2>=2.3.4) could not be found.

Paul Beard paulbeard at gmail.com
Tue Mar 6 15:51:13 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mar 6, 2007, at 12:54 PM, Yves de Champlain wrote:

>> So if I go to 2.4, all should be well? Cool.
>
> Should be.

Not out of the woods just yet: I keep seeing trouble on py-gnome.  
errors, crash log and installed ports below.

Using $(sysconfdir)/gconf/schemas as install directory for schema files
Using directory $(prefix)/share/mime for installation of mime type  
definitions
checking for msgfmt... /opt/local/bin/msgfmt
checking for msgconv... /opt/local/bin/msgconv
checking for iconv... /opt/local/bin/iconv
checking for a Python interpreter with version >= 2.3... python
checking for python... /opt/local/bin/python
checking for python version... 2.4
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.4/site- 
packages
checking for python extension module directory... ${exec_prefix}/lib/ 
python2.4/site-packages
checking for sh... /bin/sh
checking Python bindings for gtk2.4 (pygtk2>=2.3.4)... ok
checking Python bindings for gnome... ./configure: line 2324:  7857  
Bus error               $PYTHON conftest.py
cat: conftest.out: No such file or directory
configure: error:
**** The python bindings for gnome 2.0 (gnome-python2) could not be  
found.

Error: Status 1 encountered during processing.

the crashlog:

Date/Time:      2007-03-06 15:48:20.217 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  sh [8279]

Version: ??? (???)

PID:    8467
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x0258ce90 PyDict_GetItemString + 48  
(dictobject.c:504)
1   _gnome.so          	0x005ef17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196  
(importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c: 
2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532  
(import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104  
(bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords +  
272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c: 
2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c: 
2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304  
(import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008  
(import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c: 
2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532  
(import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104  
(bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords +  
272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c: 
2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c: 
2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3d58 PyRun_FileExFlags + 216  
(pythonrun.c:1266)
25  org.python.python  	0x002c3f90 PyRun_SimpleFileExFlags + 448  
(pythonrun.c:860)
26  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
27  python             	0x000028ec _start + 760
28  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
   srr0: 0x000000000258ce90 srr1:  
0x000000000200f030                        vrsave: 0x0000000000000000
     cr: 0x44244224          xer: 0x0000000000000004   lr:  
0x000000000258ce88  ctr: 0x0000000090130fc0
     r0: 0x000000000258ce88   r1: 0x00000000bfffd550   r2:  
0x0000000000000000   r3: 0x0000000000059390
     r4: 0x00000000005f5386   r5: 0x000000000000000f   r6:  
0x0000000000000000   r7: 0x000000004f626a65
     r8: 0x0000000000059368   r9: 0x000000000006e000  r10:  
0x0000000000059390  r11: 0x00000000003269cc
    r12: 0x00000000000593b2  r13: 0x00000000ffffffff  r14:  
0x0000000000000000  r15: 0x00000000ffffffff
    r16: 0x0000000000016b74  r17: 0x0000000000062650  r18:  
0x0000000000061dc8  r19: 0x0000000000000000
    r20: 0x0000000000000000  r21: 0x0000000000308d48  r22:  
0x0000000000066630  r23: 0x00000000003294ac
    r24: 0x00000000bfffd6b0  r25: 0x00000000bfffdba0  r26:  
0x00000000005ef120  r27: 0x00000000bfffd6b0
    r28: 0x0000000000000000  r29: 0x0000000000000000  r30:  
0x0000000000059390  r31: 0x000000000258ce70

Binary Images Description:
     0x1000 -     0x3fff python 	/opt/local/bin/python
    0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/ 
libgthread-2.0.0.dylib
    0xa4000 -    0xe4fff libgobject-2.0.0.dylib 	/opt/local/lib/ 
libgobject-2.0.0.dylib
    0xfb000 -    0xfcfff libgmodule-2.0.0.dylib 	/opt/local/lib/ 
libgmodule-2.0.0.dylib
   0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/ 
Library/Frameworks/Python.framework/Versions/2.4/Python
   0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site- 
packages/gtk-2.0/gobject/_gobject.so
   0x5ee000 -   0x5f5fff _gnome.so 	/opt/local/lib/python2.4/site- 
packages/gtk-2.0/gnome/_gnome.so
   0x705000 -   0x7b8fff libglib-2.0.0.dylib 	/opt/local/lib/ 
libglib-2.0.0.dylib
   0x7d3000 -   0x7dbfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
0x1008000 -  0x1101fff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
0x1152000 -  0x1161fff libgnome-2.0.dylib 	/opt/local/lib/ 
libgnome-2.0.dylib
0x1188000 -  0x1299fff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
0x14d2000 -  0x14f1fff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus- 
glib-1.2.dylib
0x14fe000 -  0x1554fff libdbus-1.3.dylib 	/opt/local/lib/ 
libdbus-1.3.dylib
0x156b000 -  0x15a5fff libssl.0.9.8.dylib 	/opt/local/lib/libssl. 
0.9.8.dylib
0x15bb000 -  0x16bdfff libcrypto.0.9.8.dylib 	/opt/local/lib/ 
libcrypto.0.9.8.dylib
0x172a000 -  0x173cfff libz.1.dylib 	/opt/local/lib/libz.1.dylib
0x1740000 -  0x1741fff libORBitCosNaming-2.0.dylib 	/opt/local/lib/ 
libORBitCosNaming-2.0.dylib
0x1755000 -  0x175afff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
0x1771000 -  0x177afff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
0x177e000 -  0x17cefff libbonobo-2.0.dylib 	/opt/local/lib/ 
libbonobo-2.0.dylib
0x2008000 -  0x2014fff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
0x2157000 -  0x217dfff libaudiofile.0.dylib 	/opt/local/lib/ 
libaudiofile.0.dylib
0x21fe000 -  0x224cfff libgnomevfs-2.0.dylib 	/opt/local/lib/ 
libgnomevfs-2.0.dylib
0x2355000 -  0x2365fff libbonobo-activation.4.dylib 	/opt/local/lib/ 
libbonobo-activation.4.dylib
0x2372000 -  0x239bfff libgconf-2.4.dylib 	/opt/local/lib/ 
libgconf-2.4.dylib
0x2407000 -  0x243dfff libORBit-2.0.dylib 	/opt/local/lib/ 
libORBit-2.0.dylib
0x254a000 -  0x2646fff libpython2.4.dylib 	/opt/local/lib/ 
libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/ 
libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/ 
System/Library/Frameworks/CoreFoundation.framework/Versions/A/ 
CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/ 
Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/ 
Library/Frameworks/SystemConfiguration.framework/Versions/A/ 
SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/ 
Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

my installed ports and versions:

The following ports are currently installed:
   aspell @0.60.5_0 (active)
   aspell-dict-en @6.0_0 (active)
   at-spi @1.7.11_0 (active)
   atk @1.12.4_0 (active)
   audiofile @0.2.6_0 (active)
   autoconf @2.60_0
   autoconf @2.61_0 (active)
   automake @1.10_0 (active)
   bison @2.3_0 (active)
   bittorrent @4.20.9_0 (active)
   boehmgc @6.8_0+darwin_8 (active)
   bzip2 @1.0.4_0
   bzip2 @1.0.4_1 (active)
   cairo @1.2.6_0 (active)
   cairomm @1.2.2_0
   cairomm @1.2.4_0 (active)
   control-center @2.16.2_0 (active)
   cups-headers @1.1.15_1 (active)
   db4 @4.3.29_0+darwin_8 (active)
   db44 @4.4.20_0+darwin_8
   db44 @4.4.20_1+darwin_8 (active)
   dbus @1.0.2_1 (active)
   dbus-glib @0.72_0 (active)
   desktop-file-utils @0.11_0 (active)
   docbook-xml @4.3_0 (active)
   docbook-xml-412 @4.1.2_0 (active)
   docbook-xml-scrollkeeper @4.2_0 (active)
   docbook-xsl @1.69.1_0 (active)
   eel @2.16.3_0 (active)
   esound @0.2.36_0 (active)
   evolution-data-server @1.8.2_0
   evolution-data-server @1.8.3_0 (active)
   exif @0.6.9_0 (active)
   expat @2.0.0_1 (active)
   flex @2.5.33_0 (active)
   fontconfig @2.4.2_0+macosx (active)
   freetype @2.1.10_1 (active)
   gail @1.9.2_0 (active)
   gconf @2.14.0_0
   gconf @2.16.0_0
   gconf @2.18.0.1_0 (active)
   gettext @0.16.1_0 (active)
   gimp-print @4.2.7_0 (active)
   gimp2 @2.2.13_0 (active)
   glib1 @1.2.10_5 (active)
   glib2 @2.12.7_0
   glib2 @2.12.9_0 (active)
   glibmm @2.12.4_0 (active)
   gnome-desktop @2.16.2_0 (active)
   gnome-doc-utils @0.8.0_0 (active)
   gnome-icon-theme @2.16.1_1
   gnome-icon-theme @2.17.91_1 (active)
   gnome-keyring @0.6.0_0 (active)
   gnome-menus @2.16.1_0 (active)
   gnome-mime-data @2.4.3_0 (active)
   gnome-panel @2.16.2_0 (active)
   gnome-platform-suite @2.16.2_0 (active)
   gnome-session @2.16.2_0 (active)
   gnome-themes @2.16.2_0 (active)
   gnome-vfs @2.16.3_1 (active)
   gnumeric @1.6.3_0
   gnumeric @1.7.6_1 (active)
   gnupg @1.4.6_0 (active)
   gnutls @1.4.1_0+darwin_8 (active)
   goffice @0.2.1_0
   goffice @0.3.5_0 (active)
   gst-plugins-base @0.10.7_0 (active)
   gstreamer @0.10.8_0 (active)
   gtk-engines2 @2.8.0_0 (active)
   gtk1 @1.2.10_6 (active)
   gtk2 @2.10.9_0 (active)
   gtkmm @2.10.6_0 (active)
   HandBrake @0.7.1_1 (active)
   heimdal @0.7.2_0 (active)
   hicolor-icon-theme @0.9_0 (active)
   howl @0.9.10_0 (active)
   icon-naming-utils @0.8.1_0 (active)
   inkscape @0.44.1_2
   inkscape @0.45_1 (active)
   intltool @0.35.4_0 (active)
   iTerm @0.8.2_0 (active)
   jam @2.5_1 (active)
   jpeg @6b_1 (active)
   lame @3.97_0 (active)
   lcms @1.15_0 (active)
   libart_lgpl @2.3.17_0 (active)
   libbonobo @2.16.0_0 (active)
   libbonoboui @2.16.0_2 (active)
   libcroco @0.6.1_0 (active)
   libexif @0.6.12_0 (active)
   libgcrypt @1.2.2_0+darwin_8
   libgcrypt @1.2.4_0+darwin_8 (active)
   libglade2 @2.6.0_1 (active)
   libgnome @2.16.0_1 (active)
   libgnomecanvas @2.14.0_1 (active)
   libgnomecups @0.2.2_0 (active)
   libgnomeprint @2.12.1_0 (active)
   libgnomeprintui @2.12.1_0 (active)
   libgnomeui @2.16.1_1 (active)
   libgpg-error @1.3_0
   libgpg-error @1.5_0 (active)
   libgsf @1.14.3_1 (active)
   libiconv @1.11_4+darwin_8 (active)
   libidl @0.8.7_0 (active)
   libmad @0.15.1b_0 (active)
   libmikmod @3.2.0-beta2_0 (active)
   libmng @1.0.8_0
   libmng @1.0.9_0 (active)
   libogg @1.1.3_0 (active)
   libpng @1.2.15_0+darwin_8
   libpng @1.2.16_0+darwin_8 (active)
   librsvg @2.16.1_1 (active)
   libsdl @1.2.11_0+darwin_8 (active)
   libsdl_mixer @1.2.7_0+darwin_8 (active)
   libsigcxx2 @2.0.17_0+darwin_8 (active)
   libsoup @2.2.99_0 (active)
   libtasn1 @0.3.4_0 (active)
   libtool @1.5.22_0 (active)
   libtorrent @0.11.1_0 (active)
   libvorbis @1.1.2_0 (active)
   libwmf @0.2.8.4_0 (active)
   libwnck @2.16.2_0 (active)
   libxklavier @3.1_0 (active)
   libxml2 @2.6.27_0 (active)
   libxslt @1.1.15_0 (active)
   libzvt @2.0.1_0 (active)
   loudmouth @1.0.5_0 (active)
   lzo @1.08_0 (active)
   m4 @1.4.4_0
   m4 @1.4.8b_1 (active)
   metacity @2.16.3_0 (active)
   MPlayer @1.0rc1_3+darwin_8+darwin_powerpc+macosx+real (active)
   nautilus @2.16.3_0+darwin_8 (active)
   ncurses @5.5_1+darwin_8 (active)
   ncursesw @5.5_0+darwin_8 (active)
   neon @0.26.3_0 (active)
   opencdk @0.5.8_0 (active)
   openssl @0.9.8d_0+darwin_8
   openssl @0.9.8e_0+darwin_8 (active)
   orbit2 @2.14.3_0 (active)
   p5-xml-namespacesupport @1.09_0 (active)
   p5-xml-parser @2.34_3 (active)
   p5-xml-simple @2.16_0 (active)
   pango @1.14.10_0 (active)
   pango @1.14.9_0
   perl5.8 @5.8.8_0+darwin_8 (active)
   pkgconfig @0.21_0 (active)
   popt @1.10.4_3 (active)
   py-bsddb @2.4.3_1 (active)
   py-cairo @1.2.6_0 (active)
   py-crypto @2.0.1_0 (active)
   py-gnome @2.16.2_0 (active)
   py-gobject @2.12.2_0
   py-gobject @2.12.3_0 (active)
   py-gtk2 @2.10.4_0 (active)
   py-libxml2 @2.6.23_0 (active)
   py-numeric @24.2_0+darwin_8+macosx (active)
   py-orbit @2.0.1_0 (active)
   py-twisted @2.5.0_0 (active)
   py-wxpython @2.8.1.1_1 (active)
   py-xml @0.8.4_0 (active)
   py-zopeinterface @3.3.0_0 (active)
   python24 @2.4.3_1+darwin_8 (active)
   qemu @0.8.2_0+darwin_8+macosx
   qemu @0.9.0_0+darwin_8+macosx (active)
   render @0.9_0 (active)
   rtorrent @0.7.1_0 (active)
   scrollkeeper @0.3.14_3 (active)
   shared-mime-info @0.15_0 (active)
   smartmontools @5.36_1 (active)
   smpeg @0.4.4_6+darwin_8 (active)
   startup-notification @0.8_0 (active)
   tiff @3.8.2_0+darwin_8 (active)
   vorbis-tools @1.1.1_2 (active)
   vte @0.15.2_0 (active)
   wget @1.10.2_0+darwin_8 (active)
   wxWidgets-devel @2.8.2-rc1_1+darwin_8 (active)
   Xft2 @2.1.7_0 (active)
   xrender @0.9.0_0+darwin_8 (active)
   zlib @1.2.3_0 (active)

- --
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf
pictures: http://www.flickr.com/photos/pdb206/
Are you trying to win an argument or solve a problem?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF7f5zfHLPwpj1/JQRAnXAAKCAdcgcPS61WZELfCKDaVjsiohSbwCguUk7
KySsQa4j0OPDOZUFkO5GB9w=
=/q7/
-----END PGP SIGNATURE-----



More information about the macports-users mailing list