[wxPython] wxPython 2.3.2 problem (mandrake 8.1/linux)

has anyone else tried the 2.3.2 rpms on Mandrake 8.1?
after i install the wxGTK-2.3.2-1.i386.rpm and wxPython-2....
on my vanilla (i think) Mandrake box, i get the following
problem when i try a simple import:

$ python
Python 2.1.1 (#1, Aug 30 2001, 17:36:05)
[GCC 2.96 20000731 (Mandrake Linux 8.1 2.96-0.61mdk)] on linux-i386
Type "copyright", "credits" or "license" for more information.

from wxPython.wx import *

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: /usr/lib/python2.1/site-packages/wxPython/wxc.so: undefined
symbol: __pure_virtual

is this some sort of a libc or libgcc problem?

i tried compiling 2.3.2-b7 last week, but failed. i'll try again.

Hello !

I tried to build wxPython 2.3.2 on both my linux and a sun solaris and
i get the same error message :

gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1
-c src/helpers.cpp -o build/temp.linux-i686-2.1/src/helpers.o -I/usr/local/include
-I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WXGTK__
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include

src/helpers.cpp: In function `PyObject *wxPyMake_wxObject
(wxObject *,

bool)’:

src/helpers.cpp:297: no matching function for call to

`wxEvtHandler::GetClientObject ()’

src/helpers.cpp:318: no matching function for call to

`wxEvtHandler::SetClientObject (wxPyClientData *&)’

src/helpers.cpp: In function `PyObject *wxPyMake_wxSizer
(wxSizer *)’:

src/helpers.cpp:341: no matching function for call to

`wxSizer::GetClientObject ()’

src/helpers.cpp:350: no matching function for call to

`wxSizer::SetClientObject (wxPyClientData *&)’

error: command ‘gcc’ failed with exit status 1

Can anybody help ?

I didn t find anything on such a problem

Python version is the same on linux and solaris : 2.1.1

Thx !

Emmanuel Olart

has anyone else tried the 2.3.2 rpms on Mandrake 8.1?
after i install the wxGTK-2.3.2-1.i386.rpm and wxPython-2....
on my vanilla (i think) Mandrake box, i get the following
problem when i try a simple import:

$ python
Python 2.1.1 (#1, Aug 30 2001, 17:36:05)
[GCC 2.96 20000731 (Mandrake Linux 8.1 2.96-0.61mdk)] on linux-i386
Type "copyright", "credits" or "license" for more information.
>>> from wxPython.wx import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/wxPython/__init__.py", line 20,

in ?

    import wxc
ImportError: /usr/lib/python2.1/site-packages/wxPython/wxc.so: undefined
symbol: __pure_virtual
>>>

The wxPython RPM was built on a Mandrake 8.1 system, so this is a bit
surprising.

is this some sort of a libc or libgcc problem?

That's my guess.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

I tried to build wxPython 2.3.2 on both my linux and a sun solaris and i

get the

same error message :

gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c

src/helpers.cpp -o

build/temp.linux-i686-2.1/src/helpers.o -I/usr/local/include
-I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WX

GTK__

-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include
src/helpers.cpp: In function `PyObject *wxPyMake_wxObject (wxObject *,
bool)':
src/helpers.cpp:297: no matching function for call to
`wxEvtHandler::GetClientObject ()'
src/helpers.cpp:318: no matching function for call to
`wxEvtHandler::SetClientObject (wxPyClientData *&)'
src/helpers.cpp: In function `PyObject *wxPyMake_wxSizer (wxSizer *)':
src/helpers.cpp:341: no matching function for call to
`wxSizer::GetClientObject ()'
src/helpers.cpp:350: no matching function for call to
`wxSizer::SetClientObject (wxPyClientData *&)'
error: command 'gcc' failed with exit status 1

Can anybody help ?
I didn t find anything on such a problem

Is your wxGTK also version 2.3.2?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

can you tell me what version of gcc you used?

···

On Wednesday 12 December 2001 12:44 pm, you wrote:

...

The wxPython RPM was built on a Mandrake 8.1 system, so this is a bit
surprising.

mmmm I ve check, you were right it was 2.3.1 ..

Sorry for that

Thx !

Robin Dunn wrote:

···

>
> I tried to build wxPython 2.3.2 on both my linux and a sun solaris and i
get the
> same error message :
>
> gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
> -DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c
src/helpers.cpp -o
> build/temp.linux-i686-2.1/src/helpers.o -I/usr/local/include
> -I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WX
GTK__
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include
> src/helpers.cpp: In function `PyObject *wxPyMake_wxObject (wxObject *,
> bool)':
> src/helpers.cpp:297: no matching function for call to
> `wxEvtHandler::GetClientObject ()'
> src/helpers.cpp:318: no matching function for call to
> `wxEvtHandler::SetClientObject (wxPyClientData *&)'
> src/helpers.cpp: In function `PyObject *wxPyMake_wxSizer (wxSizer *)':
> src/helpers.cpp:341: no matching function for call to
> `wxSizer::GetClientObject ()'
> src/helpers.cpp:350: no matching function for call to
> `wxSizer::SetClientObject (wxPyClientData *&)'
> error: command 'gcc' failed with exit status 1
>
> Can anybody help ?
> I didn t find anything on such a problem

Is your wxGTK also version 2.3.2?

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

>
> The wxPython RPM was built on a Mandrake 8.1 system, so this is a bit
> surprising.
>

can you tell me what version of gcc you used?

2.96, the version that came with Mdk 8.1.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!