py-wxpython build problem

Bas den Hond lists at butdifferent.com
Fri Dec 29 02:46:22 PST 2006


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





More information about the macports-users mailing list