wxPython build fails

Hello,

I’m trying to build wxPython from source on Debian Jessie (the binary package works fine, but is compiled with UCS4 unicode; I need a UCS2 version)

The wxPython version is 3.0.2.0

Here are the last couple of compiler messages:

src/helpers.cpp: In function ‘bool wxColour_helper(PyObject*, wxColour**)’:

src/helpers.cpp:3086:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

         if (((pos = spec.Find(':', true)) != wxNOT_FOUND) && (pos == spec.length()-3)) {

                                                                   ^

error: command ‘gcc’ failed with exit status 1

seems to me that the last line before the failure is only a warning, and there no message to explain the actual error that makes gcc quit? Anyhow, any hints would be appreciated.

Thanks, M.