Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#37215 closed defect (wontfix)

wxWidgets@2.8.12 build fails on 10.8.2

Reported by: daniellord@… Owned by: jyrkiwahlstedt
Priority: Low Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: wxWidgets

Description

Env: OS X 10.8.2, XCode Version 4.5.2 (4G2008a) python27 and python33 ports installed

Summary: A compiler syntax issue occurs processing a Carbon header (private.h) when compiling wxWidgets 2.8. py27-wxpython30 does compile properly on my system.

Details: A compiler syntax issue occurs processing a Carbon header (private.h) when compiling wxWidgets. These are wx headers, not Apple headers. The specific errors are: ./include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type ../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type

Attempting compile with llvm-gcc-4.2 did not work nor did apple-gcc-4.2. Same errors. While this occurs during a build for py27-wxpython (@2.8.12.1 python/py-wxpython), it appears to be a wxWidgets 2.8 source issue. py27-wxpython30 does compile properly on my system so perhaps the 2.8 version should be superceded or the port marked to show it doesn't compile on 10.8.2.

:info:build In file included from ../include/wx/mac/private.h:4,
:info:build                  from ../src/common/dynlib.cpp:48:
:info:build ../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type
:info:build ../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type
:info:build make: *** [basedll_dynlib.o] Error 1

Attachments (1)

Macports-wxWidgets FAILmain.log (61.7 KB) - added by daniellord@… 11 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by daniellord@…

main.log

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Keywords: python27 wxPython wxWidgets removed
Owner: changed from macports-tickets@… to jwa@…
Port: wxWidgets added; wxWidgets@2.8.12 removed

In the future, please Cc the port maintainer(s).

comment:2 Changed 11 years ago by jyrkiwahlstedt

Resolution: wontfix
Status: newclosed

This is a known issue. Xcode does not have any SDK with Carbon support anymore on 10.8, so wxWidgets 2.8.12 won't build. It would be correct to make it an error to try to build it on 10.8, thanks for the suggestion.

comment:3 Changed 11 years ago by sangshuduo@…

Sorry still confuse what does this resolution mean. Do you mean we should wait next version of wxWidgets like 2.9 or 3.0? May I know what is ETA? Thanks.

comment:4 Changed 11 years ago by daniellord@…

3.0 is an available port. Just install py-wxpython30 specifically. Just make sure you clean the old and failed ports of wx first. In case you don't know you can search for ports two ways: 1) on the web site or 2) with the port command "list <search-string>, in this case: "list *wxpython*". It will show you what is available. Might be a good idea to update you ports installation first as well with "selfupdate" and then "upgrade outdated"

Note: See TracTickets for help on using tickets.