LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-26-2005, 12:01 AM   #1
khsater
LQ Newbie
 
Registered: Mar 2005
Location: Central Minnesota
Distribution: Fedora Core 4 Test 1
Posts: 16

Rep: Reputation: 0
FVWM Install FC4 Test 1


I attemted to install FCWM via RPM by using the following:

Code:
[root@localhost Desktop]# rpm -ivh fvwm-2.4.19-1.i386.rpm
error: Failed dependencies:
        libreadline.so.4 is needed by fvwm-2.4.19-1.i386
        libstroke.so.0 is needed by fvwm-2.4.19-1.i386
and that's what happened. I'm not quite sure what those are so help would be appreciated!
 
Old 03-26-2005, 01:00 PM   #2
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
First of all, if you don't know what dependencies are, you are obviously a Linux newbie. There is absolutely nothing wrong with that. No one is born with an innate knowledge of Linux, so everyone is a newb at one time. However, I would not recommend ANY test release of Fedora Core for a newbie. The test releases are intended for experienced testers, which also leaves me out. IMHO at this point you would be far better served with Fedora Core 3.

Anyway, back to your question. When you try to install a package, and you get Failed dependencies, it means that the package you are trying to install uses code from other packages. In this case, fvwm needs sections of code from libreadline and libstroke. Instead of reinventing the wheel all the time, programmers often reuse chunks of code that performs a frequently used function. These chunks of code that do common tasks are often collected in a library. Just as books are collected in a library. So, if you need information on a particular subject, instead of starting from scratch researching said subject, you can go to the library and see if someone else has already done the research and written a book on it. If so, it saves you a lot of time and work. Same when writing programs. If you need to send info to the screen, or get info from the keyboard, instead of writing this code yourself, use code that someone else wrote and has been put in a library.

Almost every package that starts with the three letters "lib" is a library. fvwm uses functions contained in libraries libreadline and libstroke. What you ran into is referred to as "Dependency Hell". The more complex the application, the more chance you have of "Dependency Hell".

One way to avoid dependency problems is to use yum to install packages. Yum checks for dependencies and automatically downloads and installs all dependencies for the package you are trying to install. http://www.fedorafaq.org/ describes how to set up yum in Fedora Core 3.

Pudge

Last edited by Pudge; 03-26-2005 at 01:05 PM.
 
Old 03-26-2005, 03:46 PM   #3
khsater
LQ Newbie
 
Registered: Mar 2005
Location: Central Minnesota
Distribution: Fedora Core 4 Test 1
Posts: 16

Original Poster
Rep: Reputation: 0
Sorry I didn't specify. I understand what dependencies are I'm just asking whether this is a known problem. I've been having problems with yum and can't update correctly. This may be because of some things in the development section of the FC4 install I didn't check. As far as "I don't know what these are." I meant I wasn't sure exactly what libreadline.so.4 etc.. were as far as whether or not this may have been included when I installed. As to the fact of why I'm using FC4: I wanted to try out Gnome 2 and knew I could get help from people if I ran into a problem.

Last edited by khsater; 03-26-2005 at 03:48 PM.
 
Old 03-26-2005, 05:29 PM   #4
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
Ooops, sorry I misunderstood your question.

Pudge
 
  


Reply



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
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
All 4 CDs (FC4) fails the test Ephracis Fedora 5 07-24-2005 12:49 PM
FC4 Test 1 login problem khsater Fedora - Installation 2 04-11-2005 03:50 PM
FC4 Test 1 No C compiler khsater Fedora 2 03-26-2005 09:12 AM
FC4 Test 1 CD Test failes every DISC Jimbo99 Linux - Software 1 03-18-2005 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration