cannot compile v2.8.8.1

Cody Precord wrote:

Hello,

    Hi, all.

    The system is running Slackware Current with kernel 2.6.26, gcc
    4.2.3. <http://4.2.3./>
    I got these errors while compiling, pls check
    http://pastebin.com/m58deb8ea .

    What's wrong there?\

When you built wxWidgets did you build it with open gl support?
If not and you don't need it, then you also need to disable it in your configure/build options for wxPython otherwise you need to rebuild wxWidgets with that support as the wxPython config is expecting it to be available.
If this is not the issue please post the build commands you used for wxWidgets/wxPython, also see http://wxpython.org/BUILD.html

To summarize/clarify, you either need to install development packages fr OpenGL or Mesa and then reconfigure/rebuild/reinstall wxGTK, or you need to prevent wxPython from trying to build the wrappers for it by adding BUILD_GLCANVAS=0 to the setup.py command line.

···

On 7/23/08, *Cherife Li* <cherife@dotimes.com > <mailto:cherife@dotimes.com>> wrote:

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

I do have /usr/include/GL dir.
So, I should install wxGTK.

···

On Thu, Jul 24, 2008 at 12:17 AM, Robin Dunn robin@alldunn.com wrote:

To summarize/clarify, you either need to install development packages fr OpenGL or Mesa and then reconfigure/rebuild/reinstall wxGTK, or you need to prevent wxPython from trying to build the wrappers for it by adding BUILD_GLCANVAS=0 to the setup.py command line.

Cherife Li wrote:

···

On Thu, Jul 24, 2008 at 12:17 AM, Robin Dunn <robin@alldunn.com > <mailto:robin@alldunn.com>> wrote:

    To summarize/clarify, you either need to install development
    packages fr OpenGL or Mesa and then reconfigure/rebuild/reinstall
    wxGTK, or you need to prevent wxPython from trying to build the
    wrappers for it by adding BUILD_GLCANVAS=0 to the setup.py command line.

I do have /usr/include/GL dir.
So, I should install wxGTK.

When you configure wxGTK check the configure output or log to ensure that it was able to enable the code for wxGLCanvas. It should give you a hint about what the problem was if it wasn't able to do so.

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