wxPython - cygwin setup.py errors

Karl Kobata karl.kobata at syncira.com
Tue Sep 4 12:30:48 PDT 2007


_) when I do the clean, where do I find pkg-config to find what command it
could not find.

*         I have the same error when executing the build.

_) compile error - object not in wxWindow class.

 

Any thoughts?

 

> python setup.py clean

==> /bin/sh: pkg-config: command not found

Preparing CORE...

Preparing GLCANVAS...

Preparing STC...

Preparing GIZMOS...

running clean

removing 'build-gtk2/temp.cygwin-1.5.24-i686-2.5' (and everything under it)

removing 'wx/build/config.py'

removing 'wx/build/build_options.py'

removing 'wx/__version__.py'

removing 'wx/_core.py'

removing 'wx/__init__.py'

removing 'licence/preamble.txt'

removing 'licence/licence.txt'

removing 'licence/licendoc.txt'

removing 'licence/lgpl.txt'

removing 'licence'

removing 'wx/_gdi.py'

removing 'wx/_windows.py'

removing 'wx/_controls.py'

removing 'wx/_misc.py'

removing 'wx/calendar.py'

removing 'wx/combo.py'

removing 'wx/grid.py'

removing 'wx/html.py'

removing 'wx/media.py'

removing 'wx/webkit.py'

removing 'wx/wizard.py'

removing 'wx/xrc.py'

removing 'wx/richtext.py'

removing 'wx/aui.py'

removing 'wx/animate.py'

removing 'wx/glcanvas.py'

removing 'wx/stc.py'

removing 'wx/gizmos.py'

removing 'src/wx.pth'

running clean

running clean

 

> python setup.py build_ext --compiler=cygwin --inplace

==> /bin/sh: pkg-config: command not found

Preparing CORE...

Preparing GLCANVAS...

Preparing STC...

Preparing GIZMOS...

running build_ext

building '_core_' extension

creating build-gtk2/temp.cygwin-1.5.24-i686-2.5

creating build-gtk2/temp.cygwin-1.5.24-i686-2.5/src

creating build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/gtk

g++ -mcygwin -mdll -O -DSWIG_TYPE_TABLE=_wxPython_table
-DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=

1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -DWXUSINGDLL
-D__WXMSW__ -Iinclude -I

src -I/opt/wx/2.8/lib/wx/include/msw-ansi-debug-2.8
-I/opt/wx/2.8/include/wx-2.8 -I/usr/include/pyth

on2.5 -c src/helpers.cpp -o
build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/helpers.o -O3

==> g++ -mcygwin -mdll -O -DSWIG_TYPE_TABLE=_wxPython_table
-DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=

1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -DWXUSINGDLL
-D__WXMSW__ -Iinclude -I

src -I/opt/wx/2.8/lib/wx/include/msw-ansi-debug-2.8
-I/opt/wx/2.8/include/wx-2.8 -I/usr/include/pyth

on2.5 -c src/gtk/_core_wrap.cpp -o
build-gtk2/temp.cygwin-1.5.24-i686-2.5/src/gtk/_core_wrap.o -O3

src/gtk/_core_wrap.cpp: In function `PyObject*
_wrap_GetAccelFromString(PyObject*, PyObject*, PyObje

ct*)':

src/gtk/_core_wrap.cpp:32501: warning: `wxGetAccelFromString' is deprecated
(declared at /opt/wx/2.8

/include/wx-2.8/wx/utils.h:571)

src/gtk/_core_wrap.cpp:32501: warning: `wxGetAccelFromString' is deprecated
(declared at /opt/wx/2.8

/include/wx-2.8/wx/utils.h:571)

src/gtk/_core_wrap.cpp: In function `PyObject*
_wrap_Window_SetDoubleBuffered(PyObject*, PyObject*,

PyObject*)':

==> src/gtk/_core_wrap.cpp:36678: error: 'class wxWindow' has no member
named 'SetDoubleBuffered'

error: command 'g++' failed with exit status 1

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070904/6af11488/attachment.htm


More information about the wxpython-users mailing list