wxPython install question

DarkBlue nomail at nixmail.com
Wed Jun 14 20:36:53 EDT 2006


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.py ->
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_SOURCE=2 -g -fPIC -DSWIG_TYPE_TABLE=_wxPython_table
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_FILE_OFFSET_BITS=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.cpp -o
build-gtk2/temp.linux-x86_64-2.4/contrib/glcanvas/gtk/glcanvas_wrap.o -O3
contrib/glcanvas/gtk/glcanvas_wrap.cpp: In function ‘PyObject*
_wrap_new_GLContext(PyObject*, PyObject*, PyObject*)’:
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1737: error: ‘wxGLCanvas’ was not
declared in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1737: error: ‘arg2’ was not declared
in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1737: error: expected
primary-expression before ‘)’ token
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1737: error: expected `;' before
numeric constant
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1740: error: ‘wxGLContext’ was not
declared in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:1740: error: ‘arg4’ was not declared
in this scope     

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

Thanks                                                                  



More information about the Python-list mailing list