I'm trying to build wxPython from source (wxPython-src-2.8.12.1). Any
ideas what I may be doing wrong?
Thanks,
Rick
Here's my environment
# uname -a
Linux xxxxx 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64
x86_64 x86_64 GNU/Linux
# gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
I ran configure with the following:
../configure \
--prefix=/opt/wx/2.8 \
--enable-unicode \
--with-gtk \
--with-gnomeprint \
--with-opengl \
--enable-debug_flag \
--enable-debug_gdb \
--enable-geometry \
--enable-graphics_ctx \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--enable-optimize \
--enable-rpath=/opt/wx/2.8/lib \
When I next run 'make', it fails with the following:
/opt/packages/wxPython-src-2.8.12.1/bld/bk-deps g++ -c -o
basedll_string.o -I./.pch/wxprec_basedll -D__WXGTK__ -DWXBUILDING -
I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib -I../src/regex -
I../src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -
fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -I/opt/
packages/wxPython-src-2.8.12.1/bld/lib/wx/include/gtk2-unicode-
debug-2.8 -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/
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/lib64/glib-2.0/
include -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -
pthread -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -O0 ../src/common/
string.cpp
../include/wx/string.h: In member function
âwxStringBase::reverse_iterator
wxStringBase::reverse_iterator::operator++(int)â:
../include/wx/string.h:339: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccbMtXwO.out file, please attach
this to your bugreport.
I can provide the /tmp/ccbMtXwO.out if that would prove to be useful.
Line 339 of ../include/wx/string.h is:
wxSTRING_REVERSE_ITERATOR(reverse_iterator, wxSTRING_CONST);