[wxPython-users] problems with setup.py
Ketan Maheshwari
kmaheshw at science.uva.nl
Mon Oct 2 03:01:23 PDT 2006
On Sat, 2006-09-30 at 14:11 -0700, Robin Dunn wrote:
> K. Maheshwari wrote:
> >> K. Maheshwari wrote:
> >>> Hi!
> >>> I tried to install the wxPython from the instructions given on its
> >>> homepage.
> >>> Everything went fine until i ran
> >>>
> >>> python2.3 setup.py build_ext --inplace --debug
> >>> This is giving a lot of error messages ....
> >>>
> >>> I already have wx-config on my PATH, which is a symlink to
> >>> gtk2-unicode-debug-2.6 which is also present.
> >>>
> >>> My question is why i am still not able to get wx-config command?
> >> Are you sure that wx-config is on the path also in the environment where
> >> you are running setup.py?
> > Yes, i am sure about it.
> > What happens if you manually type wx-config
> >> there?
> > works. i get help message.
> > If all else fails you can pass WX_CONFIG=/path/to/wx-config
> >> (using the real pathname of course) on the setup.py command line.
> > seems I am running into something else...
> > see the error messages ....
> > AFTER SOME WARNINGS ...
> > *****************************
> > 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:
>
> which wx-config
kmaheshw > which wx-config
wx-config is /scratch/kmaheshw/wx/2.6/bin/wx-config
> wx-config --version
kmaheshw > wx-config --version
2.6.3
> wx-config --prefix
kmaheshw > wx-config --prefix
/scratch/kmaheshw/wx/2.6
> 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
> wx-config --libs
kmaheshw > wx-config --libs
-L/scratch/kmaheshw/wx/2.6/lib -pthread -L/usr/X11R6/lib -
lwx_gtk2ud_xrc-2.6 -lwx_gtk2ud_html-2.6 -lwx_gtk2ud_adv-2.6 -
lwx_gtk2ud_core-2.6 -lwx_baseud_xml-2.6 -lwx_baseud_net-2.6 -
lwx_baseud-2.6
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061002/4040f11c/attachment.htm
More information about the wxpython-users
mailing list