LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-18-2006, 09:13 PM   #1
Ariox
Member
 
Registered: Oct 2004
Location: California
Distribution: Fedora
Posts: 87

Rep: Reputation: 15
Installing in Slackware with rpm/pkgtool


I'm having trouble installing a favorite game (this Tron clone for the curious http://armagetronad.net/downloads.php) and experienced a major problem. Specifically, I don't know how. I tried to install the rpm but get a list of failed dependencies (including /bin/bash and /bin/sh), and ended up googling this for hours with no help. I've considered converting the rpm to use pkgtool, but I don't know how that would help. I have a basic knowledge of Linux, and I don't mind doing my research, but I've googled for 3 hours with out yield, though I'm betting that it's because I'm not sure what to look for.

Full list of failed dependencies:
Code:
error: Failed dependencies:
        /bin/bash is needed by armagetronad-0.2.8.2-1.final.1
        /bin/sh is needed by armagetronad-0.2.8.2-1.final.1
        libGL.so.1 is needed by armagetronad-0.2.8.2-1.final.1
        libGLU.so.1 is needed by armagetronad-0.2.8.2-1.final.1
        libSDL-1.2.so.0 is needed by armagetronad-0.2.8.2-1.final.1
        libSDL_image-1.2.so.0 is needed by armagetronad-0.2.8.2-1.final.1
        libc.so.6 is needed by armagetronad-0.2.8.2-1.final.1
        libc.so.6(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
        libc.so.6(GLIBC_2.1) is needed by armagetronad-0.2.8.2-1.final.1
        libc.so.6(GLIBC_2.1.3) is needed by armagetronad-0.2.8.2-1.final.1
        libgcc_s.so.1 is needed by armagetronad-0.2.8.2-1.final.1
        libgcc_s.so.1(GCC_3.0) is needed by armagetronad-0.2.8.2-1.final.1
        libm.so.6 is needed by armagetronad-0.2.8.2-1.final.1
        libm.so.6(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
        libpng.so.3 is needed by armagetronad-0.2.8.2-1.final.1
        libpthread.so.0 is needed by armagetronad-0.2.8.2-1.final.1
        libpthread.so.0(GLIBC_2.0) is needed by armagetronad-0.2.8.2-1.final.1
        libstdc++.so.5 is needed by armagetronad-0.2.8.2-1.final.1
        libstdc++.so.5(CXXABI_1.2) is needed by armagetronad-0.2.8.2-1.final.1
        libstdc++.so.5(GLIBCPP_3.2) is needed by armagetronad-0.2.8.2-1.final.1
        libxml2 >= 2.6.12 is needed by armagetronad-0.2.8.2-1.final.1
        libxml2.so.2 is needed by armagetronad-0.2.8.2-1.final.1
Thanks for any help you can give.

Last edited by Ariox; 06-18-2006 at 09:15 PM.
 
Old 06-18-2006, 09:20 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
It looks like whatever distro the RPM was packaged for keeps all those files in a different place and so can't find them. Probably the easiest thing to do would be to get the source and build it for Slack.
 
Old 06-18-2006, 10:15 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,059

Rep: Reputation: 295Reputation: 295Reputation: 295
Also, I don't think Slackware's RPM database is pre-rolled with all the standard system software. I've always just used rpm2tgz to convert RPMs to Slackware TGZs and then just used installpkg to get them running. Compiling from source is definitely an option if that doesn't work.
 
Old 06-18-2006, 11:33 PM   #4
Ariox
Member
 
Registered: Oct 2004
Location: California
Distribution: Fedora
Posts: 87

Original Poster
Rep: Reputation: 15
After messing with the .rpm for too long, I ended up looking for source code, but found a .package file. Went to autopackage.org and had it working in 5 minutes after that.

I read that Slackware isn't .rpm friendly, because they are compiled for each distro, and Slackware happens to have very few. If so, what are the differences between using .rpm files or pkgtool? And why is compiling from source presented as a secondary option?
 
Old 06-19-2006, 12:19 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,059

Rep: Reputation: 295Reputation: 295Reputation: 295
RPM and TGZ files are simply different formats for packages. The TGZs are simpler because they don't handle dependencies (users need to figure that out on their own). The pkgtool program and the other SDlackware package utilities support TGZs, but the rpm copmmand is included. Howeverthe RPM databases is not AFAIK ever built to contain the depndencies provided by Slackware packages, hence some of your problems.

Compiling from source is always about the safest way to get something going, since source code is compatible with all distros. However, if you compile from source you won't be able to get the system package tools to 'see" the software, unless you use checkinstall or similar software.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAMP on Slackware;Use pkgtool or compile? Swift&Smart Slackware 2 03-20-2005 10:45 AM
where does pkgtool install slackware packages? salviadud Slackware 3 02-25-2005 11:58 AM
Installing *rpm on Slackware Linux ? ? ? caovankhanhvn Linux - Software 4 08-23-2004 12:58 AM
installing lilo from pkgtool paul62 Slackware - Installation 1 03-31-2004 09:08 AM
How do I upgrade a package or lib without using rpm or pkgtool? purpleburple Linux - General 4 10-16-2002 08:45 PM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration