[wxPython] I can't install wxPython

Hello, I try to install wxPython2.3.2.1 on a Red-Hat7.2, but after 15min
the build process (python setup.py build) stop like this :

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc
-Icontrib/gizmos/contrib/include -I/usr/local/include/python2.2 -c
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp -o
build/temp.linux-i686-2.2/contrib/gizmos/contrib/src/gizmos/ledctrl.o
-I/usr/local/lib/wx/include/gtk-2.3 -I/usr/local/include
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp: In method `void
   wxLEDNumberCtrl::SetValue(const wxString&, bool)':
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:140: warning: unused
variable `
   char ch'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp: In member function `void
   wxLEDNumberCtrl::OnPaint(wxPaintEvent&)':
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:194: choosing `char
   wxString::operator[](int) const' over `char&
wxString::operator[](unsigned
   int)'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:194: because worst
conversion
   for the former is better than worst conversion for the latter
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp: In member function `void
   wxLEDNumberCtrl::RecalcInternals(const wxSize&)':
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:321: warning: assignment
to `int'
   from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:321: warning: argument to
`int'
   from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:326: warning: assignment
to `int'
   from `double'
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp:326: warning: argument to
`int'
   from `double'
error: command 'gcc' failed with exit status 1

I work with gcc3.0 and python2.2, all it's ok (wxGTK2.3.2 is installed).
Thank's a lot for your helps.

Lionel

Hello, I try to install wxPython2.3.2.1 on a Red-Hat7.2, but after 15min
the build process (python setup.py build) stop like this :

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc
-Icontrib/gizmos/contrib/include -I/usr/local/include/python2.2 -c
contrib/gizmos/contrib/src/gizmos/ledctrl.cpp -o
build/temp.linux-i686-2.2/contrib/gizmos/contrib/src/gizmos/ledctrl.o

You might try getting the latest ledctrl.cpp from CVS. I think I applied a
patch a while back that fixes these errors.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!