py-wxpython build problem

Jyrki Wahlstedt jwa at macports.org
Sun Dec 31 06:51:02 PST 2006


On 29.12.2006, at 12.46, Bas den Hond wrote:

> Hi all,
>
> I hope someone can help me with the following problem:
>
> On a clean, updated, synced installation of MacPorts, OSX 10.4.8, I  
> cannot build py-wxpython. All dependencies build and install fine,  
> but py-wxpython itself fails with a slew of errors, the first few  
> of which are:
>
> src/helpers.cpp:2763: error: 'stream' was not declared in this scope
> src/helpers.cpp:2763: error: expected %<,%> or %<;%> before '{' token
> src/helpers.cpp:2786: error: 'bool wxPyImageHandler::LoadFile' is  
> not a static member of 'class wxPyImageHandler'
> src/helpers.cpp:2786: error: 'wxImage' was not declared in this scope
> src/helpers.cpp:2786: error: 'image' was not declared in this scope
> src/helpers.cpp:2786: error: 'wxInputStream' was not declared in  
> this scope
> src/helpers.cpp:2786: error: 'stream' was not declared in this scope
> src/helpers.cpp:2787: error: expected primary-expression before "bool"
> src/helpers.cpp:2787: error: expected primary-expression before "int"
> src/helpers.cpp:2787: error: initializer expression list treated as  
> compound expression
>
> I get the impression there's a small typo somewhere in helpers.cpp,  
> but I don't know any c++...
>
> TIA
>
> Bas

Hi,
wxWidgets (2.8.0) and py-wxpython (2.8.0.1) seem to be out of sync at  
the moment, can you wait a while!? Current py-wxpython port is  
targeted to wxWidgets 2.6.3 (its version is 2.6.3.2), it is no wonder  
it does not build.

The current wxWidgets tarball is missing a file (at least one) making  
it impossible to build py-wxpython just now.
!
! Jyrki Wahlstedt
!	skype:jyrkiwahlstedt
!	http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780  
6366 EFD9 139C C386






More information about the macports-users mailing list