py26-wxpython trouble (even without pgAdmin3)

Jim Busser jbusser at
Thu Jun 17 16:32:22 PDT 2010

On 2010-06-17, at 12:06 AM, Jim Busser wrote:

> maybe I should start over and choose just one (not both) among variants
> 	gtk2 +no_x11  ***or*** +quartz

	sudo port -d install gtk2 +no_x11

does not work... cairo must be built with the +quartz variant enabled (see debug 1)

neither did uninstalling everything and then retrying without an install of mesa:

sudo port -f uninstall installed:
sudo port clean --work --archive all
sudo port selfupdate
# sudo port upgrade outdated
sudo port -d install py26-psycopg2 +postgresql84
# sudo port -d install mesa
# above needed in face of a bug in wxWidgets (x11 dep) as per list
sudo port -d install gtk2 +no_x11 +quartz

debug output ended:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXButton.o] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix" && /usr/bin/make -j2 all " returned error 2
Error: Target returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for tk): org.macports.activate org.macports.destroot org.macports.install
Log for tk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/main.log
Error: The following dependencies failed to build: atk gtk-doc gnome-doc-utils py26-libxml2 python26 tk rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils jasper jpeg pango cairo fontconfig freetype libpixman libpng shared-mime-info tiff
Error: Status 1 encountered during processing.
To report a bug, see <>
MacBook:client djb$ 

More information about the macports-users mailing list