Opened 12 years ago

Closed 11 years ago

#37154 closed defect (fixed)

py27-wxpython-devel @2.9.4.0_0 build failed on 10.5.8

Reported by: jdgleeson Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: py27-wxpython-devel

Description

The build script looks for a Carbon version of wxWidgets

/opt/local/bin/wx-config --toolkit=osx_carbon --unicode=yes --version=2.9 --version=2.9 --cxxflags

          Warning: No config found to match

instead of Cocoa version.

Build succeeds after changing line 42 of Portfile

if {${os.platform} == "darwin" && ${os.major} >= 10} {

to

if {${os.platform} == "darwin" && ${os.major} >= 9} {

Tested the resulting build on a large sampling of features in the wxpython demo, and it looks good.

Attachments (1)

Portfile.diff (366 bytes) - added by jdgleeson 12 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jwa@…

Changed 12 years ago by jdgleeson

Attachment: Portfile.diff added

comment:2 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Resolution: fixed
Status: newclosed
Version: 2.1.2

The patch is applied unconditionally now in py-wxpython-3.0 since r110279. If there are any more problems with building on 10.5, please let us know.

Note: See TracTickets for help on using tickets.