[wxPython] Building wxPython on Irix 6.5.15

I have been trying to build wxPython on this Irix
version and have come across a road-block. I hope
someone here can help.

versions:
MipsPro - 7.3.1.3 Compiler
python - 2.1.1 freeware.sgi.com version
wxPython - wxPythonSrc-2.3.3.1
wxGTK - 2.3.3-M freeware.sgi.com version

env:

CXX = CC
CC = cc
MAKE = gmake
LD_LIBRARY_PATH=/usr/freeware/lib32

commandline:
python2 setup.py IN_CVS_TREE=1
WX_CONFIG=/usr/freeware/bin/wx-config build

result:

Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
Preparing GIZMOS...
Preparing DLLWIDGET...
running build
running build_py
creating build/lib.irix64-6.5-2.1
creating build/lib.irix64-6.5-2.1/wxPython
copying wxPython/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/printfw.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/controls.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/dllwidget.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/streams.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/events.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/xrc.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/oglshapes.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/misc2.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/frames.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/stc_.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/misc.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/controls2.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/stc.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/mdi.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/gdi.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/fonts.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/wizard.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/sizers.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/oglbasic.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/__version__.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/image.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/ogl.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/oglcanvas.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/glcanvas.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/wx.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/clip_dnd.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/cmndlgs.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/windows.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/gizmos.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/stattool.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/grid.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/htmlhelp.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/dllwidget_.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/help.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/utils.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/oglshapes2.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/windows2.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/windows3.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/html.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/calendar.py ->
build/lib.irix64-6.5-2.1/wxPython
copying wxPython/filesys.py ->
build/lib.irix64-6.5-2.1/wxPython
creating build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/rightalign.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/dialogs.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/layoutf.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/colourselect.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/printout.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/filebrowsebutton.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/rcsizer.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/imagebrowser.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/CDate.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/vtk.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/grids.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/sheet.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/wxpTag.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/floatbar.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/ClickableHtmlWindow.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/ErrorDialogs.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/wxPlotCanvas.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/buttons.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/colourdb.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/splashscreen.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/mvctree.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/infoframe.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/pyshell.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/timectrl.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/anchors.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/PythonBitmaps.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/shell.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/activexwrapper.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/fancytext.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/stattext.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/calendar.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/ErrorDialogs_wdr.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
copying wxPython/lib/rpcMixin.py ->
build/lib.irix64-6.5-2.1/wxPython/lib
creating build/lib.irix64-6.5-2.1/wxPython/lib/editor
copying wxPython/lib/editor/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/editor
copying wxPython/lib/editor/images.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/editor
copying wxPython/lib/editor/selection.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/editor
copying wxPython/lib/editor/editor.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/editor
creating build/lib.irix64-6.5-2.1/wxPython/lib/mixins
copying wxPython/lib/mixins/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/mixins
copying wxPython/lib/mixins/rubberband.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/mixins
copying wxPython/lib/mixins/grid.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/mixins
copying wxPython/lib/mixins/imagelist.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/mixins
copying wxPython/lib/mixins/listctrl.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/mixins
creating build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/images.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/pseudo.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/crust.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/introspect.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/interpreter.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyShellApp.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyCrustApp.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/filling.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/version.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyFillingApp.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/shell.py ->
build/lib.irix64-6.5-2.1/wxPython/lib/PyCrust
creating build/lib.irix64-6.5-2.1/wxPython/tools
copying wxPython/tools/img2png.py ->
build/lib.irix64-6.5-2.1/wxPython/tools
copying wxPython/tools/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/tools
copying wxPython/tools/img2img.py ->
build/lib.irix64-6.5-2.1/wxPython/tools
copying wxPython/tools/img2py.py ->
build/lib.irix64-6.5-2.1/wxPython/tools
copying wxPython/tools/img2xpm.py ->
build/lib.irix64-6.5-2.1/wxPython/tools
creating build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
copying wxPython/tools/XRCed/__init__.py ->
build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
copying wxPython/tools/XRCed/images.py ->
build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
copying wxPython/tools/XRCed/xrced.py ->
build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
copying wxPython/tools/XRCed/xxx.py ->
build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
copying wxPython/tools/XRCed/params.py ->
build/lib.irix64-6.5-2.1/wxPython/tools/XRCed
running build_ext
building 'wxc' extension
creating build/temp.irix64-6.5-2.1
creating build/temp.irix64-6.5-2.1/src
cc -n32 -O -OPT:Olimit=0 -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc
-I/usr/freeware/include/python2.1 -c src/helpers.cpp
-o build/temp.irix64-6.5-2.1/src/helpers.o
-I/usr/freeware/lib32/wx/include/gtk-2.3
-I/usr/freeware/include -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_REENTRANT
-I/usr/freeware/include/gtk-1.2
-I/usr/freeware/include/glib-1.2
-I/usr/freeware/lib32/glib/include -UNDEBUG
cc-1020 cc: ERROR File = src/helpers.cpp, Line = 117
  The identifier "Later" is undefined.

          if ( m_exitOnFrameDelete == Later ) {
                                      ^

cc-1020 cc: ERROR File = src/helpers.cpp, Line = 118
  The identifier "Yes" is undefined.

              m_exitOnFrameDelete = Yes;
                                    ^

cc-1132 cc: ERROR File = src/helpers.cpp, Line = 185
  The class "wxApp" has no member "CheckBuildOptions".

      wxApp::CheckBuildOptions(wxBuildOptions());
             ^

cc-1020 cc: ERROR File = src/helpers.cpp, Line = 185
  The identifier "wxBuildOptions" is undefined.

      wxApp::CheckBuildOptions(wxBuildOptions());
                               ^

cc-1132 cc: ERROR File = src/helpers.cpp, Line = 562
  The class "wxThread" has no member "GetCurrentId".

      return wxThread::GetCurrentId();
                       ^

cc-1020 cc: ERROR File = src/helpers.cpp, Line = 688
  The identifier "wxMemoryBuffer" is undefined.

      wxMemoryBuffer buf;
      ^

cc-1020 cc: ERROR File = src/helpers.cpp, Line = 723
  The identifier "wxMemoryBuffer" is undefined.

      wxMemoryBuffer buf;
      ^

7 errors detected in the compilation of
"src/helpers.cpp".
error: command 'cc' failed with exit status 2

···

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

star gazer wrote:

I have been trying to build wxPython on this Irix
version and have come across a road-block. I hope
someone here can help.

versions:
MipsPro - 7.3.1.3 Compiler
python - 2.1.1 freeware.sgi.com version
wxPython - wxPythonSrc-2.3.3.1 wxGTK - 2.3.3-M freeware.sgi.com version

env:

CXX = CC
CC = cc
MAKE = gmake
LD_LIBRARY_PATH=/usr/freeware/lib32

commandline:
python2 setup.py IN_CVS_TREE=1
WX_CONFIG=/usr/freeware/bin/wx-config build

result:

[...]

cc -n32 -O -OPT:Olimit=0 -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc
-I/usr/freeware/include/python2.1 -c src/helpers.cpp
-o build/temp.irix64-6.5-2.1/src/helpers.o
-I/usr/freeware/lib32/wx/include/gtk-2.3
-I/usr/freeware/include -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_REENTRANT
-I/usr/freeware/include/gtk-1.2
-I/usr/freeware/include/glib-1.2
-I/usr/freeware/lib32/glib/include -UNDEBUG
cc-1020 cc: ERROR File = src/helpers.cpp, Line = 117
  The identifier "Later" is undefined.

[...]

You have an old set of wxGTK headers installed on the system. Either remove the old package or ensure that the new ones are found some other way.

[Interestingly enough, I answered this exact same question yesterday on wx-users. At first I thought you were the same person and so was going to ignore this message...]

···

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