LinuxQuestions.org
Help answer threads with 0 replies.
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 03-08-2005, 07:20 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
failed dependencies


Hi,

I am using Fedora Core1

Many of the times while installing rpm packages i get dependency problems

So i guess i will have to build the rpm packages from the source i.e. the .src.rpm

packages on my machine or i will have to install them directly from the source

(or something like that). But i don't know what .src.rpm packages are and how to

install them or build rpm packages from them

Please anybody help me in this or provide a link to a good HOWTO on this subject







________________________________________________________________________

I hate cigarettes, that's why i burn them
________________________________________________________________________
 
Old 03-08-2005, 07:31 AM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Try using YUM if you're not already. It does an OK job of resolving dependencies, there's good support for it through FC, and there's a lot of rpm's available, depending on how you set up your repositories through the yum configuration files.
 
Old 03-08-2005, 07:46 AM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Ya thanks,

I know about yum.

But i would like to be able to compile from source myself

as i am a computer science student

and this linux stuff excites me a lot

and so i wish to learn more and moreof it





_________________________________________________________________
I hate cigarettes, that's why i burn them
_________________________________________________________________
 
Old 03-08-2005, 11:18 AM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
http://la-samhna.de/library/compile/buildrpm.html
 
Old 03-08-2005, 11:47 AM   #5
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi,

I read the HOWTO and tried the following commands

[koodoo@localhost koodoo]$ ls
Desktop important~ share swfdec-0.3.1-1.1.fc1.fr.src.rpm
[koodoo@localhost koodoo]$ rpm --rebuild swfdec-0.3.1-1.1.fc1.fr.src.rpm
--rebuild: unknown option

I don't think that i even have the rpm directory structure

coz a ls -a in the home directory dosen't show

any .rpmmacros directory or any oter related directory
 
Old 03-08-2005, 12:07 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try
#rpmbuild --rebuild package.src.rpm
 
Old 03-08-2005, 12:13 PM   #7
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Quote:
Originally posted by reddazz
Try
#rpmbuild --rebuild package.src.rpm

Hi,

I tried the command and got the following message:

[koodoo@localhost koodoo]$ rpmbuild --rebuild swfdec-0.3.1-1.1.fc1.fr.src.rpm
Installing swfdec-0.3.1-1.1.fc1.fr.src.rpm
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
error: swfdec-0.3.1-1.1.fc1.fr.src.rpm cannot be installed
 
Old 03-08-2005, 12:16 PM   #8
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi,

I also tried the following :

[koodoo@localhost koodoo]$ su
Password:
[root@localhost koodoo]# rpmbuild --rebuild swfdec-0.3.1-1.1.fc1.fr.src.rpm
Installing swfdec-0.3.1-1.1.fc1.fr.src.rpm
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
error: Failed build dependencies:
mozilla-devel is needed by swfdec-0.3.1-1.1.fc1.fr
libart_lgpl-devel is needed by swfdec-0.3.1-1.1.fc1.fr
gtk2-devel >= 2.1.2 is needed by swfdec-0.3.1-1.1.fc1.fr
libmad-devel is needed by swfdec-0.3.1-1.1.fc1.fr
SDL-devel is needed by swfdec-0.3.1-1.1.fc1.fr
gdk-pixbuf-devel is needed by swfdec-0.3.1-1.1.fc1.fr
liboil-devel is needed by swfdec-0.3.1-1.1.fc1.fr
gimp-devel >= 2.0 is needed by swfdec-0.3.1-1.1.fc1.fr
 
Old 03-08-2005, 02:14 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You have to rebuild some source rpms as root, coz you need write permissions to /usr/src. You also need to install the msiing dependencies for the package to build properly, so use yum or apt to install them.
 
  


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
Failed dependencies! Please help! ananya Slackware 10 03-05-2005 04:52 AM
Failed Dependencies Johnburrell Linux - Newbie 3 03-03-2005 11:18 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM
Failed dependencies Umbrella Linux - Software 10 08-01-2003 07:11 PM
failed dependencies emanners Linux - Newbie 2 09-27-2001 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

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