Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94
Rep:
fc5 missing kernel source/will not install
Trying to build gspca (webcam driver) and the make errors with :
make: *** /lib/modules/2.6.15-1.2054_FC5/build: No such file or directory. Stop.
make: *** [default] Error 2
The ./build/ softlink is broken.
I've tried to install the kernel sources (using the add/remove software gui) and the kernel source is still missing.
Searched other threads, but found nothing worthwhile.
Update1: Got part of the problem is that the gui update installed the wrong source (2.6.17-1.2187_FC5). It should have installed the source for my kernel (2.6.15-1.2054_FC5)
Stupid damn computer.
Last edited by babysparrow; 10-10-2006 at 02:09 PM.
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94
Original Poster
Rep:
Thanks lazlow I might try your last.
However, i've been in situations like this with Linux before and run into problems for months and months because of it.
Would I be better off reverting to trusty FC4 ?
(seriously - I've had enough of FC5 and I haven't even commissioned the goddamned box yet!!!)
EDIT : Just re-read your last - the strange thing is that the kernel source that _was_ installed was the 2.6.17 version - yet the actual kernel is 2.6.15. I downloaded the FC5 distro just 3 weeks ago. Why have I ended up with this hotchpotch of versions ?
Last edited by babysparrow; 10-10-2006 at 02:50 PM.
The Iso are the ones made when FC5 was released(the only official ones). In the linux world that was a long time ago. If you do a yum update (which you should do right after every fresh install) you will download a ton of updates.
Fc4 has been moved to legacy status. This essentially means that there will be no more development on it and very few updates. I would not even think about it. If you are looking for long term stability (which means few innovations too) look at Centos. Centos is essentially a rebadged version of redhat (free).
Once you get FC5 up and running I think you will be happy.
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94
Original Poster
Rep:
lazlow,
Thanks very much for the advice.
And - I did take your advice and have upgraded the kernel to 2.6.17-1.2187_FC5.
Now I have a kernel that matches the source ;-) - and can compile gspca. It errors when I modprobe, but that's a different matter.
I will be sticking with FC5 and tackle the teething troubles along the way.
One other question (I promise I'm not a noob) ... why does the source get suffixed "i586" and yet the kernel is "i686". Please don't shout ... eek...
(We need a new term for people who are not noob but rather ones who've been in IT for 20+ years and have used Linux/Unix/MS***/Cobol for too long and cannot remember _every_ single detail every step of the way!!)
There are both i586 and i686 version in both the kernel and the kernel source. If you are running i686 kernel and have i586 kernel-devel package I would remove it and reinstall it.
yum remove kernel-devel
yum clean all (just in case)
yum install kernel-dev (for the current kernel you should not need to specify version)
I would also strongly suggest getting all the updates.
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94
Original Poster
Rep:
Did :
yum remove kernel-devel - this removed the i585 src.
yum clean all - this cleared 3 cached files
yum install kernel-dev - this took a bit downloading then nothing
Now I'm back to having no source.
It's such fun!! :-)
What's worse - I cannot seem to locate _any_ useful source rpm's anywhere...
[root@ra kernels]# yum install kernel-dev
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
extras [2/3]
extras 100% |=========================| 1.1 kB 00:00
updates [3/3]
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 767 kB 00:03
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 20.38 seconds
primary.xml.gz 100% |=========================| 1.6 MB 00:10
extras : ################################################## 5351/5351
Added 5351 new packages, deleted 0 old in 49.05 seconds
primary.xml.gz 100% |=========================| 376 kB 00:01
updates : ################################################## 1024/1024
Added 1024 new packages, deleted 0 old in 12.34 seconds
Parsing package install arguments
No Match for argument: kernel-dev
Nothing to do
[root@ra kernels]#
[root@ra kernels]# pwd
/usr/src/kernels
[root@ra kernels]# ls -l
total 0
[root@ra kernels]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.