Subject: py-wxWindows import error
To: None <netbsd-help@netbsd.org>
From: Audun Arnesen Nordal <audun@stud.cs.uit.no>
List: netbsd-help
Date: 06/06/2002 09:51:37
Hi.

I just installed the py20-wxPython package, but I can't get python to 
import it. I tried both compiling myself and installing the needed 
packages (wxGTK, python20 and py-wxWindows):

Python 2.0.1 (#2, Mar 26 2002, 22:38:35) 
[GCC egcs-2.91.66 19990314 (egcs-1.1.2 release)] on netbsd1
Type "copyright", "credits" or "license" for more information.
>>> import wxPython
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/pkg/lib/python2.0/site-packages/wxPython/__init__.py", line 
20, in ?
    import wxc
ImportError: /usr/pkg/lib/python2.0/site-packages/wxPython/wxc.so: 
Undefined symbol "__pure_virtual" (reloc type = 1, symnum = 2523)

wxGTK is wxGTK-2.2.7nb1
python is python20-2.0.1nb2
wxWindows is py20-wxWindows-2.2.2nb1

I run current as of May 31st.

Btw, perhaps this is the same as reported in
http://mail-index.netbsd.org/netbsd-help/2001/10/24/0000.html

Any clues?

Regards


-- 
Audun Nordal