Getting a dependency problem...Python related.

Place to discuss Fedora and/or Red Hat

Getting a dependency problem...Python related.

Postby topsoill » Thu May 01, 2003 11:09 pm

Trying to install the following:

http://sourceforge.net/project/showfile ... _id=136390

So, i did this:

[root@localhost topsoill]# rpm -ivh IDLEfork-0.9a2-1.noarch.rpm
error: Failed dependencies:
python2-tkinter is needed by IDLEfork-0.9a2-1
[root@localhost topsoill]# rpm -ivh python2-tkinter-2.2-2.i386.rpm
error: Failed dependencies:
python2 = 2.2-2 is needed by python2-tkinter-2.2-2
libtcl.so.0 is needed by python2-tkinter-2.2-2
libtk.so.0 is needed by python2-tkinter-2.2-2
[root@localhost topsoill]# locate libtcl.so.0
[root@localhost topsoill]# whereis libtcl.so.0
libtcl.so: /usr/lib/libtcl.so
[root@localhost topsoill]# whereis libtk.so.0
libtk.so: /usr/lib/libtk.so

Are python 2.2.2 and 2.2-2 the same thing? i have python 2.2.2 installed and it looks like python-2-tkinter wants 2.2-2. Weird. Plus as you can see, i have both libtcl.so.0 and libtk.so.0 installed but i still get a dependency error.

Using RH 9.
topsoill
user
user
 
Posts: 33
Joined: Sun Apr 13, 2003 10:25 pm

Postby Void Main » Fri May 02, 2003 12:10 am

No, those are not the same versions. What you want in Red Hat 9 is "tkinter" not "python-tkinter". It's on disk 3 of your installation CD or save some hassle by doing "# apt-get install tkinter". Now when you try and install the IDLE RPM it will complain that "python-tkinter" is required and not installed (which it's not because the new name is "tkinter"). You have two or more options, use the "--nodeps" which I would not recommend because it will break dependencies or do this:

Code: Select all
# cd /
# rpm2cpio /path/to/IDLEfork*.rpm | cpio -i


which will extract the files from the RPM and install them in the proper locations but will not register it in the RPM database. Now you can just type "idlefork" to start the interface. A better option would be to rebuild the RPM for RH9 which I would have done for you had there been a SRC RPM lying around there. None to be found for some reason.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby topsoill » Fri May 02, 2003 5:28 am

thanks. I tried it but get the following:

[root@localhost topsoill]# cd /
[root@localhost /]# rpm2cpio /home/topsoill/IDLEfork-0.9a2-1.noarch.rpm | cpio -i
cpio: usr/lib/python2.2/site-packages/idleforklib/AutoExpand.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/AutoExpand.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Bindings.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Bindings.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/CREDITS.txt: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/CallTipWindow.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/CallTipWindow.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/CallTips.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/CallTips.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/ClassBrowser.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/ClassBrowser.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/ColorDelegator.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/ColorDelegator.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Debugger.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Debugger.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Delegator.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Delegator.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/EditorWindow.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/EditorWindow.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/FileList.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/FileList.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/FormatParagraph.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/FormatParagraph.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/GrepDialog.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/GrepDialog.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/HISTORY.txt: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/INSTALL.txt: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/IOBinding.py: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/IOBinding.pyc: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Icons/folder.gif: No such file or directory
cpio: usr/lib/python2.2/site-packages/idleforklib/Icons/minusnode.gif: No such file or directory
topsoill
user
user
 
Posts: 33
Joined: Sun Apr 13, 2003 10:25 pm

Postby Void Main » Fri May 02, 2003 8:29 am

Sorry about that, use "-idu" rather than just "-i" on the cpio command.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby topsoill » Fri May 02, 2003 1:10 pm

thanks.
topsoill
user
user
 
Posts: 33
Joined: Sun Apr 13, 2003 10:25 pm


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron