Subject: Can't build pkg py-wxWindows
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 05/03/2003 07:32:02
Trying to install Python's /usr/pkgsrc/x11/py-wxWindows
get this error on 'make
<snip>
running build_ext
building 'wxc' extension
cc -O2 -I/usr/pkg/include -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -D__WX__ -DSCI_LEXER -Isrc
-Icontrib/ogl/contrib/include
-Icontrib/stc/contrib/src/stc/scintilla/include
-Icontrib/stc/contrib/src/stc/scintilla/src
-Icontrib/stc/contrib/include -I/usr/pkg/include/python2.0 -c
src/helpers.cpp -o
build/temp.netbsd-1.6-i386-2.0/src/helpers.o
-I/usr/pkg/lib/wx/include/gtk-2.4 -I/usr/pkg/include
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -I/usr/X11R6/include/gtk-1.2
-I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include
-I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include
src/helpers.cpp: In method `void
wxPyEvent::CopyObject(wxObject &) const':
src/helpers.cpp:509: no method `wxEvent::CopyObject'
src/helpers.cpp: In function `class wxObject *
wxConstructorForwxPyEvent()':
src/helpers.cpp:514: cannot allocate an object of type `wxPyEvent'
src/helpers.cpp:514: since the following virtual functions
are abstract:
/usr/pkgsrc/x11/py-wxWindows/work/.buildlink/include/wx/event.h:372:
class wxEvent * wxEvent::Clone() const
src/helpers.cpp: In method `void
wxPyCommandEvent::CopyObject(wxObject &) const':
src/helpers.cpp:525: no method `wxCommandEvent::CopyObject'
src/helpers.cpp: In function `class wxAcceleratorEntry *
wxAcceleratorEntry_LIST_helper(PyObject *)':
/usr/pkgsrc/x11/py-wxWindows/work/.buildlink/include/wx/accel.h:99:
`int wxAcceleratorEntry::m_flags' is private
src/helpers.cpp:824: within this context
/usr/pkgsrc/x11/py-wxWindows/work/.buildlink/include/wx/accel.h:100:
`int wxAcceleratorEntry::m_keyCode' is private
src/helpers.cpp:825: within this context
/usr/pkgsrc/x11/py-wxWindows/work/.buildlink/include/wx/accel.h:101:
`int wxAcceleratorEntry::m_command' is private
src/helpers.cpp:826: within this context
error: command 'cc' failed with exit status 1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/py-wxWindows
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/py-wxWindows
baal: {11}
</snip>
Any clues?
TIA
Gan
--
Mistera Sturno - Rarest Extinct Bird
<(+)__ Gan Uesli Starling
((__/)=- Kalamazoo, MI, USA
`||`
++ http://starling.us