LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-22-2005, 10:39 PM   #1
steveman2000
Newbie
 
Registered: Feb 2005
Location: cardiff uk
Distribution: fedora 2
Posts: 15

Rep: Reputation: 0
Unhappy Failed dependancy even though its there


hi,

Well having seemingly successfully compiled and installed a kernel when trying to make rpms of ndiswrapper I now get:

Fail dependences /lib/modules/2.6.13-prep/buil/Makefile is needed etc.....

This file DOES exist at that location, ive looked and found it so what on earth is it complaining about?!?!

Please help .... i am in the several day ling route to getting ndiswrapper working for wireless internet!
 
Old 10-23-2005, 12:29 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you're installing via RPM, it will check the RPM database for dependencies. If you did not install your new kernel via RPM, its data won't be in the RPM database. You can use the --nodeps option to rpm to force it to skip dependencies checking, but only do this if you're really sure you have everything it needs. Be prepared for the package to not work anyway.
 
Old 10-23-2005, 12:19 PM   #3
steveman2000
Newbie
 
Registered: Feb 2005
Location: cardiff uk
Distribution: fedora 2
Posts: 15

Original Poster
Rep: Reputation: 0
hi,

Ah ok that makes more sense now HOWEVER!!!! Yea I compiled the kernel using a tutorial which seemed to you "make all" "make kernel_modules" and "make install" which even though I have very little idea as to what they do caused my new kernel to be in the bootup menu so it seems to have worked.

Yes the rpmbuild -ta filename.src..gz (or whatever the filename was) didnt work but also the "make distclean" "make" and "make rpm" didn't work either. Ok the first two of thoughs were OK but the "make rpm" one returned the same dependency error.

Just to say that in terms of the file existing i tried "less the-file-name-and-path-that-apparently-doesnt-exist" and it loaded up the file fine! So is this rpm dependencies stuff still to do with rpm's if the make thing didnt work either?

again cheers!

Would almost there be true? Or have I got lots more hurdles to get over? Oh what do I care I've been at it for almsot 3 days, im not gonna give up now!
 
  


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
rpm failed dependancy for a file that exists mrtumnus Linux - Software 2 03-03-2005 02:39 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
Dependancy HELL! JustinS Linux - Newbie 2 10-16-2004 12:29 PM
apt - failed dependancy: linux-kernel-headers shack Linux - Software 0 12-19-2003 08:09 AM
Dependancy Nightmare slooper Linux - Software 2 08-17-2003 03:33 AM

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

All times are GMT -5. The time now is 07:28 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