wxWidgets was Re: tk problem was Re: py26-wxpython trouble

Jim Busser jbusser at interchange.ubc.ca
Sat Jun 19 11:41:16 PDT 2010


On 2010-06-18, at 10:05 AM, Jim Busser wrote:

> On 2010-06-17, at 9:19 PM, Jim Busser wrote:
> 
>> 	http://trac.macports.org/ticket/24312
> 
> Unfortunately, despite that this went fine:
> 	sudo port install cairo +no_x11 +quartzgtk2 +no_x11 +quartz
> this still hit an error:
> 	sudo port -d install gtk2 +no_x11 +quartz 

Even trying to install *just* tk + quartz fails, so the "tk" problem referenced in the ticket above may persist (the patches over on "tk" seem to have already been applied).

So, I started over and retried the above "cairo" workaround, inserting the space missing between "+quartz" and "gtk2" (typo in the original ticket) but the following still errors on wxWidgets:

sudo port -d install cairo +no_x11 +quartz gtk2 +no_x11 +quartz
sudo port -d install py26-psycopg2 +postgresql84
sudo port -d install wxWidgets-python +carbon

Do I file a bug report on wxWidgets-python (or wxWidgets itself) using the output below?

...
-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
Log for wxWidgets-python is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/main.log
Error: Status 1 encountered during processing.


More information about the macports-users mailing list