[wxPython] oglc module import error in solaris machine

I'm interested only in wxOGL and so I enable BUILD_OGL only in setup.py

and

rebuild wxPython and got installed oglc.so file and restart the demo.

Now there is no such old import error while clicking in wxOGL in left

tree,

but got Segmentation fault.

Do i need to build wxPython freshly?

You shouldn't need to. Can you tell how far it gets in the python code
before it crashes? Also, if you can load the core file into the debugger
and do a backtrace that will be helpful.

Cud you please tell me indetail how to load the core file into the debugger?
Do you mean to use gdb? Or use any python specific debuggers....
I've just run "python demo.py" and it crashes without giving any trace info
in python coding.

There is another Q? I've already installed wxGTK-2.3.0 and wxPyhton-2.3.0,
If i wanna install wxPyhton-2.3.2,do i need the same version of

wxGTK[2.3.2]

Yes.

Thx, i'm in the process of installing wxGTK-2.3.2

or 2.3.0 is enough. Before installing 2.3.2, do i need to any kind of

clean

up process in [Python install dir]/site-packages/wxPython dir.

Usually not, but it wouldn't hurt to remove the wxPython dir.

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Wednesday, January 30, 2002 11:30 AM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] oglc module import error in solaris machine

--
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

You shouldn't need to. Can you tell how far it gets in the python code
before it crashes? Also, if you can load the core file into the debugger
and do a backtrace that will be helpful.

Cud you please tell me indetail how to load the core file into the

debugger?

Do you mean to use gdb?

If your wxGTK and wxPython are built with gcc, then yes.

Something like this:

    gdb /usr/bin/python
    cd /path/to/wxPython/demo
    core core
    bt

···

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