[wxPython-users] problems with setup.py
Robin Dunn
robin at alldunn.com
Mon Oct 2 10:49:32 PDT 2006
Ketan Maheshwari wrote:
> On Sat, 2006-09-30 at 14:11 -0700, Robin Dunn wrote:
>> K. Maheshwari wrote:
>> >> K. Maheshwari wrote:
>> > *****************************
>> > Preparing STC...
>> > Preparing GIZMOS...
>> > Preparing ANIMATE...
>> > running build_ext
>> > building '_core_' extension
>> > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386
>> > -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -g
>> > -DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1
>> > -UNDEBUG -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -Iinclude -Isrc
>> > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
>> > -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
>> > -I/usr/include/freetype2/config -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c
>> > src/gtk/_core_wrap.cpp -o
>> > build-gtk2/temp.linux-i686-2.3/src/gtk/_core_wrap.o -g -O0
>> > In file included from src/gtk/_core_wrap.cpp:1580:
>> > include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or directory
>>
>> I don't see the include dir for wxWidgets in the compiler parameter list
>> quoted above, so there may be some installation problem with wxWidgets.
>> Please report the output of the following commands:
>>
>> wx-config --cxxflags
> kmaheshw > wx-config --cxxflags
> -I/scratch/kmaheshw/wx/2.6/lib/wx/include/gtk2-unicode-debug-2.6
> -I/scratch/kmaheshw/wx/2.6/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
Looks like none of these values are being used for the compile flags,
but they should be. You may need to do some debugging of setup.py and
config.py to find out what is happening to these values.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list