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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-08-2005, 07:20 AM
|
#1
|
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:
|
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
________________________________________________________________________
|
|
|
03-08-2005, 07:31 AM
|
#2
|
Member
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502
Rep:
|
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.
|
|
|
03-08-2005, 07:46 AM
|
#3
|
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:
|
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
_________________________________________________________________
|
|
|
03-08-2005, 11:18 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
|
|
|
03-08-2005, 11:47 AM
|
#5
|
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:
|
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
|
|
|
03-08-2005, 12:07 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Try
#rpmbuild --rebuild package.src.rpm
|
|
|
03-08-2005, 12:13 PM
|
#7
|
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:
|
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
|
|
|
03-08-2005, 12:16 PM
|
#8
|
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:
|
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
|
|
|
03-08-2005, 02:14 PM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|