cd wxPython-src-2.9.3/wxPython
python build-wxpython.py --build_dir=../bld
I got an error like below during python build-wxpython.py --install
include/wx/wxPython/wxPython_int.h:60:26: fatal error: wx/wrapsizer.h:
No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.
and I tried :
there is wx-config file in /wxPython-src-2.9.3.1/bld/ so I did export
PATH=../bld/:$PATH and sudo python build-wxpython.py --install but
there is still same error,.
cd wxPython-src-2.9.3/wxPython
python build-wxpython.py --build_dir=../bld
I got an error like below during python build-wxpython.py --install
include/wx/wxPython/wxPython_int.h:60:26: fatal error: wx/wrapsizer.h:
No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.
and I tried :
there is wx-config file in /wxPython-src-2.9.3.1/bld/ so I did export
PATH=../bld/:$PATH and sudo python build-wxpython.py --install but
there is still same error,.
It is using the 2.8 config instead of one for 2.9. wxWidgets allows multiple versions to be installed in the same prefix and then selected by passing a --version arg to wx-config. wxPython's setup.py will normally double check that an appropriate version is available unless an explicit WX_CONFIG value is given to it, which build-wxpython.py does, so that check is being skipped in this case.
how can I fix this issue?
Try applying the change in the attached patch and see if that fixes it for you. If not then you can work around the problem by changing the default configuration that wx-config will use, by changing which config that wx-config links to. For example, look in your {prefix}/bin (probably /usr/local/bin) and you'll see that wx-config is actually a symlink to a file in {prefix}/lib/wx/config. Change which one it links to and you'll change the default.