wxPython-2.6.2.1 Won't Build on Slackware-10.2

Something's broken here; perhaps it's related to the lack of STL with
Slackware. I ran './configure --enable-shared --enable-optimized', then when
I run make I get (at the end of a long list of .cpp file errors):

src/common/event.cpp: In member function `wxString wxCommandEvent::GetString()
    const':
src/common/event.cpp:425: error: invalid static_cast from type `wxObject*
const
    ' to type onst wxTextCtrl*'
src/common/event.cpp:425: error: incomplete type `wxTextCtrl' does not have
    member `ms_classInfo'
src/common/event.cpp:427: error: `getValue' undeclared (first use this
    function)
src/common/event.cpp: At global scope:
src/common/event.cpp:500: error: `win' was not declared in this scope
src/common/event.cpp:501: error: `bool wxIdleEvent::CanSend' is not a static
    member of `class wxIdleEvent'
src/common/event.cpp:501: error: syntax error before {' token
src/common/event.cpp: In member function `wxPoint
    wxMouseEvent::GetLogicalPosition(const wxDC&) const':
src/common/event.cpp:714: error: `deviceToLogicalX' undeclared (first use this
    function)
src/common/event.cpp:714: error: `deviceToLogicalY' undeclared (first use this
    function)
src/common/event.cpp: At global scope:
src/common/event.cpp:764: error: syntax error before *' token
src/common/event.cpp:767: error: `win' was not declared in this scope
src/common/event.cpp:767: error: ISO C++ forbids declaration of
etEventObject
    ' with no type
src/common/event.cpp:767: error: nt wxWindowCreateEvent::SetEventObject' is
    not a static member of `class wxWindowCreateEvent'
src/common/event.cpp:768: error: syntax error before }' token
src/common/event.cpp:770: error: syntax error before *' token
src/common/event.cpp:773: error: `win' was not declared in this scope
src/common/event.cpp:773: error: ISO C++ forbids declaration of
`setEventObject
    ' with no type
src/common/event.cpp:773: error: nt wxWindowDestroyEvent::SetEventObject' is
    not a static member of `class wxWindowDestroyEvent'
src/common/event.cpp:774: error: syntax error before }' token
src/common/event.cpp:776: error: syntax error before *' token
src/common/event.cpp:1430: error: syntax error before *' token
src/common/event.cpp:1434: error: syntax error before *' token
make: *** [coredll_event.o] Error 1

   Thoughts?

Rich

···

--
Richard B. Shepard, Ph.D. | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic"
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863