wxPython install question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DarkBlue

    #1

    wxPython install question

    Trying to install wxPython on Suse10.1 64 with gcc4.1.0
    and get
    wxPython-src-2.6.3.2/wxPython # python setup.py install
    Found wx-config: /usr/local/bin/wx-config
    Using flags: --toolkit=gtk2 --unicode=no --version=2.6
    Preparing CORE...
    Preparing GLCANVAS...
    Preparing STC...
    Preparing GIZMOS...
    Preparing ANIMATE...
    running install
    running build
    running build_py
    copying wx/__version__.py -> build-gtk2/lib.linux-x86_64-2.4/wx
    copying wx/build/build_options.p y ->
    build-gtk2/lib.linux-x86_64-2.4/wx/build
    running build_ext
    building '_glcanvas' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
    -D_FORTIFY_SOURC E=2 -g -fPIC -DSWIG_TYPE_TABL E=_wxPython_tab le
    -DHAVE_CONFIG_H -DWXP_USE_THREAD =1 -UNDEBUG -DGTK_NO_CHECK_C ASTS
    -D__WXGTK__ -D_FILE_OFFSET_B ITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Iinclude
    -Isrc -I/usr/local/lib/wx/include/gtk2-ansi-release-2.6
    -I/usr/local/include/wx-2.6 -I/usr/include/cairo -I/usr/include/freetype2
    -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0
    -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0
    -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0
    -I/opt/gnome/lib64/glib-2.0/include -I/usr/include/python2.4 -c
    contrib/glcanvas/gtk/glcanvas_wrap.c pp -o
    build-gtk2/temp.linux-x86_64-2.4/contrib/glcanvas/gtk/glcanvas_wrap.o -O3
    contrib/glcanvas/gtk/glcanvas_wrap.c pp: In function ‘PyObject*
    _wrap_new_GLCon text(PyObject*, PyObject*, PyObject*)’:
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1737: error: ‘wxGLCanvas†™ was not
    declared in this scope
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1737: error: ‘arg2’ was not declared
    in this scope
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1737: error: expected
    primary-expression before ‘)’ token
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1737: error: expected `;' before
    numeric constant
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1740: error: ‘wxGLContextâ €™ was not
    declared in this scope
    contrib/glcanvas/gtk/glcanvas_wrap.c pp:1740: error: ‘arg4’ was not declared
    in this scope

    then it errors out .
    What is wrong ? The wxwidgets compiled without a hitch.

    Thanks
Working...