py26-wxpython trouble (even without pgAdmin3)

Jim Busser jbusser at interchange.ubc.ca
Wed Jun 16 00:07:28 PDT 2010


On 2010-06-15, at 1:26 PM, Ryan Schmidt wrote:

> gtk2, in turn, by default uses X11. gtk2 has no_x11 and quartz variants which can be used (together? separately? I don't know) to have gtk2 use Quartz methods instead of X11. But I don't know if py26-wxpython can use a gtk2 that isn't using X11, or if it can, whether that's better than using its carbon variant. If you want to try the no_x11 and/or quartz variants, you probably have to first uninstall all ports; using those variants is a decision you need to make at the beginning, before anything is installed.

Hit a snag on the last sudo line trying to go with non-X11 / carbon

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 on account of a bug in wxWidgets as per list
# but maybe unneeded with wxWidgets non-default (non x11) variant
# not sure if it would have gunned something up

sudo port -d install gtk2 +no_x11 +quartz
# the above seemed happy
sudo port -d install wxWidgets-python +carbon
# see bottom lines of debug output, below ****

**************************************************

-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/wxPython-src-2.8.10.1/build/lib/wx/include/mac-unicode-release-2.8 -I../include -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -I/opt/local/include -I/opt/local/include -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing ../src/html/htmlctrl/webkit/webkit.mm
../src/html/htmlctrl/webkit/webkit.mm: In member function 'bool wxWebKitCtrl::Create(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)':
../src/html/htmlctrl/webkit/webkit.mm:439: error: 'WebInitForCarbon' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:440: error: 'HIWebViewCreate' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:442: error: 'HIWebViewGetWebView' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:445: error: 'HIViewSetVisible' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:449: error: 'HIViewChangeFeatures' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:451: error: 'GetControlEventTarget' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm: In member function 'void wxWebKitCtrl::OnSize(wxSizeEvent&)':
../src/html/htmlctrl/webkit/webkit.mm:726: error: 'HIViewGetRoot' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm:726: error: 'HIViewConvertRect' was not declared in this scope
../src/html/htmlctrl/webkit/webkit.mm: In member function 'virtual void wxWebKitCtrl::MacVisibilityChanged()':
../src/html/htmlctrl/webkit/webkit.mm:754: error: 'IsControlVisible' was not declared in this scope
make: *** [monodll_webkit.o] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/wxPython-src-2.8.10.1/build" && /usr/bin/make " returned error 2
Error: Target org.macports.build 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 wxWidgets-python): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
MacBook:client djb$ 


More information about the macports-users mailing list