failure of wxWidgets to build (as dependency for py26-wxpython)

Jim Busser jbusser at interchange.ubc.ca
Tue Jan 19 20:58:27 PST 2010


On 2010-01-19, at 1:50 AM, Jim Busser wrote:

> should try any or all of
> 1) going back and uninstalling / reinstalling python26 *without* selecting +universal

 I did the above

	sudo port -d uninstall --follow-dependents python26

followed by

	sudo port -d install python26 +darwin

> 2) installing wxWidgets 2.8.9 selecting +nonmonolithic
> 	not that I am creating anything in Xcode, but...  ... 
> 	http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications

then tried

	sudo port -d install wxWidgets +darwin_10 +nonmonolithic

but hit an error on account of requested variants not matching original selection... "port clean wxWidgets" was not enough to clear it, I had to do

	sudo port -d clean --all  wxWidgets

I then got, after retrying

	ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture

so...	
	sudo port -d uninstall --follow-dependents zlib
	sudo port -d clean --all zlib

then

	sudo port -d install zlib	# i.e. *not* specifying +universal
	sudo port -d install python26 +darwin
	sudo port -d install wxWidgets +darwin_10 +nonmonolithic

but I *still* got

	ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture

and ending in the following. I am now really "stuck". How do I get the above to be of "required architecture" (I am using a 2+ year old MacBook Intel Core 2 Duo which does not support native 64-bit kernel).

*****************
rest of log:

ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build/lib/libwx_base_carbonu-2.8.0.5.0.dylib] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build" && /usr/bin/make " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build" && /usr/bin/make " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for wxWidgets): 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:~ djb$ 




More information about the macports-users mailing list