wxPython-src-2.8.7.1

Agile Aspect agile.aspect at gmail.com
Sun Mar 9 16:56:57 PDT 2008


Hi -  it appears when I attempt to build wxPython the build
on a widget which I believe I haven't selected, namely

       wx/stc/stc.h: No such file or directory

I'm using Fedora 5, gcc 3.4.6, and python 2.5.2.

Both gcc and python are installed in the /usr/devtools tree.

Enclosed is the output of

       python setup.py build

after it bombed the first time,  and the scripts used for the building
of both wxWidgets and wxPython.

Any help would greatly appreciated!

Build output:
-----------------

 WARNING: WXWIN not set in environment. Assuming '..'
Found wx-config: /usr/wx/bin/wx-config
    Using flags:  --toolkit=gtk2 --unicode=yes --version=2.8
Preparing CORE...
Preparing GLCANVAS...
Preparing STC...
Preparing GIZMOS...
running build
running build_py
copying wx/__version__.py -> build-gtk2.unicode/lib.linux-i686-2.5/wx
copying wx/build/build_options.py -> 
build-gtk2.unicode/lib.linux-i686-2.5/wx/build
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not 
a regular file)
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not 
a regular file)
running build_ext
building '_stc' extension
/usr/devtools/bin/gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -fPIC -DSWIG_TYPE_TABLE=_wxPython_table 
-DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ 
-Iinclude -Isrc -I/usr/wx/lib/wx/include/gtk2-unicode-debug-2.8 
-I/usr/wx/include/wx-2.8 -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/devtools/include/python2.5 -c 
contrib/stc/gtk/stc_wrap.cpp -o 
build-gtk2.unicode/temp.linux-i686-2.5/contrib/stc/gtk/stc_wrap.o 
-pthread -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
C/ObjC but not for C++
contrib/stc/gtk/stc_wrap.cpp:2678:24: wx/stc/stc.h: No such file or 
directory
contrib/stc/gtk/stc_wrap.cpp:2681: error: `wxSTCNameStr' was not 
declared in this scope

$BLD/wxbuild.sh:
------------------------

#!/bin/sh
CC="/usr/devtools/bin/gcc"
LD_LIBRARY_PATH="/usr/devtools/lib"
PATH="/usr/devtools/bin:/usr/bin:/bin:"
export CC LD_LIBRARY_PATH PATH
make distclean
rm -f config.cache
./configure --prefix=/usr/wx \
--enable-optimize \
--enable-unicode \
--with-opengl \
--with-gtk \
--with-gnomeprint \
--enable-debug \
--enable-debug_gdb \
--enable-debug_flag \
--enable-geometry \
--enable-graphics_ctx \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \
--enable-rpath=/usr/wx/lib
make
make install

$BLD/wxPython/pythonbuild.sh:
---------------------------------------------
#!/bin/sh
CC="/usr/devtools/bin/gcc"
LD_LIBRARY_PATH="/usr/devtools/lib:/usr/wx/lib"
PATH="/usr/devtools/bin:/usr/wx/bin:/usr/bin:/bin:"
WX_CONFIG="/usr/wx/bin/wx-config"
export CC LD_LIBRARY_PATH PATH WX_CONFIG
python setup.py install






-- 

	"We are drowning in information and starving for knowledge."

					     - Rutherford D. Roger






More information about the wxpython-users mailing list