[MacPorts] #13602: py-wxpython compile error

MacPorts trac at macosforge.org
Sun Dec 16 05:11:02 PST 2007


#13602: py-wxpython compile error
----------------------------+-----------------------------------------------
 Reporter:  skip at pobox.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:  Port Bugs                            
Component:  ports           |     Version:  1.5.2                                
 Keywords:                  |  
----------------------------+-----------------------------------------------
 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

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13602>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list