Fwd: py27_wxpython

Ulrich Wienands wienands at gmail.com
Fri Feb 10 17:28:32 PST 2012

---------- Forwarded message ----------
From: Ulrich Wienands <wienands at gmail.com>
Date: Fri, 10 Feb 2012 17:27:57 -0800
Subject: Re: py27_wxpython
To: Ryan Schmidt <ryandesign at macports.org>

Verbatim copy of /opt/local/etc/macports/macports.conf:
# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
# the default is x86_64 if the CPU supports it, i386 otherwise.
#build_arch                     powerpc

# CPU architectures to use for Universal Binaries (+universal variant)
universal_archs         i386 ppc
So seems all good, and I have installed many a port w/o problem on this machine.

One should not forget that wxWidgets comes in as a dependency.. could
it be that +universal is spec'd for that? If so, where would that be?

Maybe I need to try installing wxWidgets by itself... I don't remember
now whether I did although it seems like an obvious thing to try.


2012/2/9, Ryan Schmidt <ryandesign at macports.org>:
> On Feb 9, 2012, at 21:17, Ulrich Wienands wrote:
>> Ok, coming back to the original question: why, then, does wxWidgets
>> not want to build on 10.4 ppc?? ppc is listed as supported
>> architecture, and the platform darwin 11 {} will be ignored, so what
>> gives? Anyway I can force this?
> Ok, looking back at the message you posted before:
> On Feb 4, 2012, at 20:53, Ulrich Wienands wrote:
>> I try py27-wxpython: no go; it claims wxWidgets cannot install on ppc:
>> ------ Error msg I get:
>> sudo port install py27-wxpython
>> Password:
>> Warning: port definitions are more than two weeks old, consider using
>> selfupdate
>> --->  Computing dependencies for py27-wxpython
>> Error: Cannot install py27-wxpython for the arch(s) 'i386' because
>> Error: its dependency wxWidgets does not build for the required
>> arch(s) by default
>> Error: and does not have a universal variant.
>> Error: Unable to execute port: architecture mismatch
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>> ------- End error msg.
> If you're on ppc, I can't explain why it would be trying to do anything for
> i386. What are the values of build_arch and universal_archs in
> macports.conf? Are you trying to install any ports universal?
> Note that Tiger is considered old at this point, and it wouldn't be
> unexpected for a port to fail to build. However, in this case, we haven't
> even gotten to trying to build the port yet, and I don't quite see yet why.

More information about the macports-users mailing list