Hi All,
I have a crash when I try to build wxPython :
Linux Mandriva 2009.1 (Spring)
Python 2.6.1
wxPython 2.8.10.1
1) ../configure --prefix=/usr --with-gtk --with-gnomeprint --with-opengl
--enable-debug --enable-geometry --enable-graphics_ctx --enable-sound
--with-sdl --enable-mediactrl --enable-display --disable-debugreport
Configured wxWidgets 2.8.10 for `i686-pc-linux-gnu'
Which GUI toolkit should wxWidgets use? GTK+ 2 with
support for gnomeprint
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? yes
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? no
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg sys
png sys
regex sys
tiff sys
zlib sys
odbc no
expat sys
libmspack no
sdl yes
2) make && make -C contrib/src/gizmos && make -C contrib/src/stc
No error.
Seems to work fine
3) make install && make -C contrib/src/gizmos install && make -C
contrib/src/stc install
No error.
Seems to work fine
4) cd ../wxPython ; python setup.py build_ext --inplace --debug UNICODE=0
Crash :
WARNING: WXWIN not set in environment. Assuming '..'
Found wx-config: /usr/bin/wx-config
Using flags: --toolkit=gtk2 --unicode=no --version=2.8
Preparing CORE...
Preparing GLCANVAS...
Preparing STC...
Preparing GIZMOS...
running build_ext
building '_core_' extension
creating build-gtk2
creating build-gtk2/temp.linux-i686-2.6
creating build-gtk2/temp.linux-i686-2.6/src
creating build-gtk2/temp.linux-i686-2.6/src/gtk
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wformat
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer
-march=i586 -mtune=generic -fasynchronous-unwind-tables -g -fPIC -g
-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/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/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/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/python2.6 -c src/helpers.cpp -o
build-gtk2/temp.linux-i686-2.6/src/helpers.o -pthread -g -O0
src/helpers.cpp: In member function 'virtual void
wxPyApp::OnAssertFailure(const wxChar*, int, const wxChar*, const
wxChar*, const wxChar*)':
src/helpers.cpp:304: erreur: le format n'est pas une cha�ne litt�rale et
pas d'argument de format
src/helpers.cpp:367: erreur: le format n'est pas une cha�ne litt�rale et
pas d'argument de format
src/helpers.cpp: In member function 'void wxPyApp::_BootstrapApp()':
src/helpers.cpp:510: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:511: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In function 'PyObject* __wxPySetDictionary(PyObject*,
PyObject*)':
src/helpers.cpp:735: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:740: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In function 'void
wxPyOORClientData_dtor(wxPyOORClientData*)':
src/helpers.cpp:903: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In static member function 'static wxPyCBInputStream*
wxPyCBInputStream::create(PyObject*, bool)':
src/helpers.cpp:1383: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1384: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1385: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In static member function 'static wxPyCBOutputStream*
wxPyCBOutputStream::create(PyObject*, bool)':
src/helpers.cpp:1578: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1579: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1580: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp: In member function 'void
wxPyCallback::EventThunker(wxEvent&)':
src/helpers.cpp:1781: attention : deprecated conversion from string
constant to 'char*'
src/helpers.cpp:1781: attention : deprecated conversion from string
constant to 'char*'
error: command 'gcc' failed with exit status 1
I have tried with "python2.4 setup.py build_ext --inplace --debug
UNICODE=0", but it's exactly the same result.
I had no problem with Mandriva 2009.0, Python 2.5.2 and wxPython 2.8.10.1
In this hardware configuration, I need Mandriva 2009.1 witch resolve my
problem of video card.
Thanks, in advance for your help.
Cheers.
--
Hugues JEAN-BAPTISTE (
h...@agorinfo.fr)
AGORINFO S.A.S. (
http://www.agorinfo.fr)