Subject: Anybody else tried to build pkg py-wxWindows -- I can't.
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <gan@starling.us>
List: netbsd-help
Date: 05/07/2003 08:58:36
I got this on trying to build py-wxWindows.

<snip>
creating build/temp.netbsd-1.6.1_STABLE-i386-2.0
creating build/temp.netbsd-1.6.1_STABLE-i386-2.0/src
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.1_STABLE-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: {34}
</snip>

Build failed similarly on NetBSD 1.6. So I updated to
NetBSD 1.6.1 per CVS to have a go. But it still won't
build.

Can't beleive I'm the only NetBSD fan who is wanting to
work with wxPython. Hoping somebody knows the way. Else
I'll maybe submit a PR.

TIA,

Gan

-- 

  Mistera Sturno - Rarest Extinct Bird

  <(+)__       Gan Uesli Starling
   ((__/)=-    Kalamazoo, MI, USA
    `||`
     ++        http://starling.us