[Slackbuilds-users] wx(GTK|Python)-2.8 vs. wxGTK-3.0

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Sep 10 02:08:42 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/10/2014 03:20 AM, B Watson wrote:
> [Apologies for the wall o' text here, I got kinda carried away...]
> 
> Ran into trouble building stuff that uses wxWidgets. The 2.x and
> 3.x branches aren't API-compatible...
> 
> from the wxGTK3 README: "wxGTK3 can be installed alongside with
> wxGTK."
> 
> This is true, except for one detail: the symlink at
> /usr/bin/wx-config gets overwritten when wxGTK3 is installed.
> Afterwards, trying to build anything that depends on wxGTK (or
> wxPython) 2.x will fail. Attempting the naíve solution (removepkg
> wxGTK3) doesn't help, as it leaves the symlink in place (and
> dangling).
> 
> The same problem happens the other way around of course, if wxGTK3
> is installed first, then wx(GTK|Python). Either way, you end up
> with failed builds even though all the REQUIRES are installed.
> 
> Proposed solutions... I can think of a few, but someone else might
> think of something better.

I kept wxPython and wxGTK3 binaries after building and install both
when i need to build using wxGTK3, i just need to reinstall wxGTK3 and
the wx-config will point to the correct version

Same goes with wxPython or wxGTK (2)

i think i will add some notes on wxGTK3 README.


- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlQPsqoACgkQiHuDdNczM4E4zQCfeVBUS52HgeNYmxt7QnxljmHU
bJQAn0L+ysZbOoREe3IfT0OgSLh8knkC
=D7VU
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list