Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13602 closed defect (invalid)

py-wxpython 2.8.6.0 build error

Reported by: skip@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: wxpython wxwidgets Cc: mww@…, jyrkiwahlstedt
Port:

Description

While attempting to install the py-wxpython package (sudo port install py-wxpython) I got this output:

--->  Fetching py-wxpython
--->  Attempting to fetch wxPython-src-2.8.6.0.tar.bz2 from http://downloads.sourceforge.net/wxpython
--->  Verifying checksum(s) for py-wxpython
--->  Extracting py-wxpython
--->  Configuring py-wxpython
--->  Building py-wxpython with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-wxpython/work/wxPython-src-2.8.6.0/wxPython" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: src/helpers.cpp:3055: error: expected ',' or ';' before '{' token
src/helpers.cpp:3083: error: 'bool wxPyImageHandler::DoCanRead' is not a static member of 'class wxPyImageHandler'
src/helpers.cpp:3083: error: 'wxInputStream' was not declared in this scope
src/helpers.cpp:3083: error: 'stream' was not declared in this scope
src/helpers.cpp:3083: error: expected ',' or ';' before '{' token
src/helpers.cpp:3105: error: 'wxInputStream' has not been declared
src/helpers.cpp: In member function 'virtual bool wxPyImageHandler::LoadFile(wxImage*, int&, bool, int)':
src/helpers.cpp:3115: error: 'py_InputStream' was not declared in this scope

followed by a long stream of other errors once the compiler got out-of-sync with the source.

Skip

Change History (5)

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

Cc: mww@… jwa@… added
Owner: changed from macports-tickets@… to mww@…
Summary: py-wxpython compile errorpy-wxpython 2.8.6.0 build error

Assign/Cc maintainers.

comment:2 Changed 16 years ago by jyrkiwahlstedt

One thing to do here is to sync the port tree, because py-wxpython is currently at 2.8.7.1 with wxWidgets at 2.8.7.0!

comment:3 Changed 16 years ago by skip@…

I think I'm on the right track now. Had an ancient wx in /usr/local and some other fragments in /opt/local. You can close this ticket I think.

Skip

comment:4 Changed 16 years ago by mww@…

Keywords: wxpython wxwidgets added
Resolution: invalid
Status: newclosed

o.k.!

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.