Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: wxpython anyone?< Next Oldest | Next Newest >
py-guy Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 24 2006,16:16 QUOTE

Ok - I've tried this a couple of ways but no go....
Has anyone been successful getting the wxpython lib installed?

Help!!!!!


--------------
----------------------------------------
Thanks for the Reply...
and not a py - in - the - eye!
----------------------------------------
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 25 2006,15:27 QUOTE

From your email (please don't send me email questions...it's best if others can help and/or be helped as well :) )...
Quote
apt-get install python-wxgtk2.4 -o apt::force-loopbreak=1
I did this as root with X server shutdown to avoid any conflicts.

All goes well until updating libc6(2.3.6-3) - it prompts for the time zone info then reports that :
glibc.sh: applet not found
dpkg: error processing libc6 (--configure)
Sub-process /usr/bin/dpkg returned error code (1)

I can't help, really, but i can say that some things are just a pain in the butt to try to install with a package management system.  It will want to "update" all kinds of stuff just because those particular libs were installed on the machine on which the package was compiled.

It seems as though the most pressing issue is incompatible versions of libc.  At this point I can only recommend trying to find a wxpython package that was built with an earlier version of libc6...I think DSL's is 2.3.2, but that's a guess.  Another option is to attempt to compile your own lib, either in DSL or in Knoppix (2.4? again, I'm not good at remembering version numbers).  I've installed wxgtk for DSL by compiling it in suse, but I'm not sure how much different it would be for wxpython.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
py-guy Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 27 2006,19:50 QUOTE

After spending a couple of days in the dependency forest, here is what seems to work:

enable apt
edit /etc/apt/sources.list to pull from stable ! This was causing the above error in libc6.
apt-get update
apt-get install libgtk1.2-dev
-- you will get an error-sub-process /usr/bin/dpkg
dpkg -i --force-overwrite /var/cache/apt/archives/libx11-6_4.3.0.dfsg.1-14sarge1_i386.deb
dpkg -i --force-overwrite /dir/as/above/libxext6_4.3.0.blah.blah.deb
dpkg -i --force-overwrite /dir/as/above/libxi6_4.3.0.blah.blah.deb
dpkg -i --force-overwrite /dir/as/above/libxv1_4.3.0.blah.blah.deb

apt-get -f install

apt-get install libwxgtk2.4-python
-- this will install python2.3 under /usr/bin
ln python2.3 python
run python
(type the following program to test)
 import wx
 app = wx.PySimpleApp()
 frame = wx.Frame(None, -1, "Hello Dave")
 frame.Show(1)
 app.MainLoop()

You should see a nice window!!!!!!!

I've only tested this on a HD install at the moment with DSL-2.2b and have rebooted numerous times without any problems.

:cool:


--------------
----------------------------------------
Thanks for the Reply...
and not a py - in - the - eye!
----------------------------------------
Back to top
Profile PM 
2 replies since Mar. 24 2006,16:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: wxpython anyone?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code