Opened 11 years ago

Closed 11 years ago

#39409 closed defect (fixed)

wxWidgets-devel @2.9.4_4 +sdl +stdlib Compile Error

Reported by: aj4est@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: wxWidgets-devel

Description

Attempting to build wxWidgets-devel v 2.9.4 with variant +stdlib on Mountain Lion fails with a compiler error while compiling src/generic/spinctlg.cpp indicating 'isfinite' (which is referenced in the macro wxFinite itself defined in include/wx/math.h) is undeclared.

Attachments (1)

main.log (554.8 KB) - added by aj4est@… 11 years ago.
log of failed wxWidgets-devel +stdlib build

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by aj4est@…

Attachment: main.log added

log of failed wxWidgets-devel +stdlib build

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

Owner: changed from macports-tickets@… to jwa@…
Port: wxWidgets-devel added; wxWidgets-devel@2.9.4_4 removed

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

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

The version 2.9.5 works for me on Lion. See #39806. Can you please test it on Mountain Lion?

comment:3 in reply to:  2 Changed 11 years ago by aj4est@…

Replying to mojca@…:

The version 2.9.5 works for me on Lion. See #39806. Can you please test it on Mountain Lion?

I'd be happy to test building it on Mountain Lion but need guidance as to how to do so.

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

See http://guide.macports.org/#development.local-repositories and try to add a local repository with graphics/wxWidgets-devel:

svn co https://svn.macports.org/repository/macports/trunk/dports/graphics/wxWidgets-devel

Apply the patch attached to the ticket #39806 (patch -p0 < wxWidgets-devel.2.9.5.patch) and try

sudo port -v install wxWidgets-devel +stdlib

Alternatively you can just as well try

sudo port -v install wxWidgets30 +stdlib

since that port has already been upgraded to 2.9.5.

comment:5 Changed 11 years ago by aj4est@…

Thanks, those instructions were helpful.

The patch enables it to build without error now on Mountain Lion.

(wxWidgets30 +stdlib also works of course).

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

Resolution: fixed
Status: newclosed

Fixed in r108794.

Note: See TracTickets for help on using tickets.