Yes successfully wxPython-2.9.1.1 on Mandriva 2010.2.
For the moment I have stopped tests with wxPython-2.9.x because my programs don't work in unicode
I modify /usr/local/wxPython-src-2.xxx/wxPython/config.py
class MyUnixCCompiler(distutils.unixccompiler.UnixCCompiler):
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs)
# Mandriva -----------------------------------------
self.linker_so = [el for el in self.linker_so \
if el != '-Wl,--no-undefined']
compiler_so = [el for el in compiler_so \
if el != '-Werror=format-security']
# Mandriva -----------------------------------------
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)
except DistutilsExecError, msg:
raise CompileError, msg
Then :
cd wxPython-src-2.xxx...
mkdir bld
cd wxPython
python build-wxpython.py --build-dir=../bld --debug --install --installdir=/usr/lib
well....
python build-wxpython.py BUILD_BASE=bld --debug
built successfully.
how do I install this now...
You need to be root or use sudo to install to the system paths. Or you can run in-place from the build folders by setting PYTHONPATH and LD_LIBRARY_PATH in the environment.