I don't know if it is the problem, but I see you use wx 3.1.2. C::B had problems with this version, at least on Windows (I don't know on Linux). Are you able to find a wx 3.1.3 version ?
You can also try the ready-to-use version for debian/ubuntu provided by xaviou (see link in the post for nightly versions). It works with wx 3.0.4 I think, not the last one, but not too old !
gd_on