Thanks for your reply. You're right, for yhafri port I get something different. You can see this under http://www.mml.ch.pwr.wroc.pl/wielgus/error-yhafri.log My wx-config gives me Default config is gtk2-unicode-release-2.6 So it's exactly the same as yours. Pawel Johannes Winkelmann wrote:
Hi Pawel,
On Mon, Apr 16, 2007 at 09:51:58 +0200, Pawel Wielgus wrote:
Hi CRUXers,
I tried to install wxpython from yhafri or hnc ports. They have two different versions, but in both cases I get the same error message. I'm not sure what does that mean and how to fix this.
The printout is quite long, so temporarily I put it under http://www.mml.ch.pwr.wroc.pl/wielgus/error.log
Well, as you see wx-config doesn't know the configuration requested in the ports you're trying (I'd guess BTW that the error isn't the same in for hnc and yhafri, since they use different choices for unicode and don't use the same version).
You should be able to understand the problem better by looking at the output of /usr/bin/wx-config --list
which on my system prints "Default config is gtk2-unicode-release-2.6"
Looking at your error.log and trying to run the command quoted, it will fail here due to the version=2.8 argument (i.e. it's expecting wxgtk 2.8) and the unicode=no. /usr/bin/wx-config --toolkit=gtk2 --unicode=no --version=2.8 --basename
The following command works on my system (note the correspondance to the output of `wx-config --list`): /usr/bin/wx-config --toolkit=gtk2 --unicode=yes --version=2.6 --basename
Yhafri's port seems to at 2.6, so it would be interesting which error you get there.
One more thing: I was just curious, and downloaded wxpython sources manually from Sourceforge. They compiled smoothly and without any errors. But so far I didn't try to install binaries, would be probably better to have them from ports.
That's probably because you didn't pass any specific values for WXPORT and UNICODE to setup.py.
HTH, Johannes