Building wxPython


diligentcircle

Well-Known Member
Joined
Aug 29, 2011
Messages
1,594
Age
30
Location
Milky Way galaxy
Website
onpon4.github.io
I want to build wxPython on my Pandora, but when I try to run the configure script, I get this error:

*** 'pkg-config --modversion gtk+-2.0' returned 2.20.1, but GTK+ (2.20.0)


*** was found! If pkg-config was correct, then it is best


*** to remove the old version of GTK+. You may also be able to fix the error


*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing


*** /etc/ld.so.conf. Make sure you have run ldconfig if that is


*** required on your system.


*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH


*** to point to the correct configuration files


no


configure: error:


The development files for GTK+ were not found. For GTK+ 2, please


ensure that pkg-config is in the path and that gtk+-2.0.pc is


installed. For GTK+ 1.2 please check that gtk-config is in the path,


and that the version is 1.2.3 or above. Also check that the


libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config


--libs' are in the LD_LIBRARY_PATH or equivalent.

I tried this:



Code:
sudo opkg install gtk+-dev


But that just gave me the following output:

* opkg_install_cmd: Cannot install package gtk+-dev

Any suggestions? No, "Use library X instead of wxPython" is not a helpful suggestion.
 
Last edited by a moderator:
Last edited by a moderator:
Cool! I'll definitely check these out. I take it they're supposed to be used on a Linux desktop (not necessarily the Pandora itself)?
Yes. I'm providing a VMware image with ubuntu/yactfeau too if you dont want to install linux on your PC.
 
Cool! I'll definitely check these out. I take it they're supposed to be used on a Linux desktop (not necessarily the Pandora itself)?
Yes. I'm providing a VMware image with ubuntu/yactfeau too if you dont want to install linux on your PC.

Heh, no need for that, I already use GNU/Linux. ;)
 
Last edited by a moderator:
Back
Top