Fedora :: Installing Older Kernel Header Files With Yum Or Rpm
Feb 3, 2011
I just had a hard drive failure on my mythtv box that I had been running F14 on. I reinstalled F14 and just got about everything up and running like normal again except that I upgraded the kernel by mistake when I was upgrading everything else to current levels. The problem is that I run a hauppauge pvr150 on this mythtv box, and the code for capturing on this card is broken on the latest kernel version. I have the kernel headers and development files installed for the newest kernel that I can't really use, but I didn't install the kernel headers for the older kernel before the upgrade. Now, I am looking for a way to forcefully install the older kernel development files so that I can compile my the proprietary nvidia drivers against it for my adapter. I downloaded the rpm files from the fedora 14 repository directly. Is there an option for rpm that I can use to force the installation?
Not I recently installed a package (Vision Egg) that requires the Open GL libraries and headers, specifically, gl.lib and gl.h. I used Synaptic to install nvidia-current and nvidia-current-dev and it now looks as if the required libraries (under different names) are installed in /usr/lib/nvidia-current and as if the required headers are in /usr/include/nvidia-current. I am a bit confused because I also have /usr/lib/nvidia and /usr/lib/nvidia-173.
The installation of Vision Egg fails with "cannot find GL/gl.h" and "/usr/bin/ld: cannot find -lGL"There is a related post a few years ago under thread 200901 but it relates only to a single file problem that is fixed manually. I'd rather avoid that because it looks like it is easily breakable.Is there a standard way --- that is, a method that does not require error-prone manually changing or linking a multitude of file names --- of ensuring that programs which require GL/gl.h actually find the correct nvidia header file and also that the link loader finds the GL libraries.
I used Backtrack 5 and Fedora, basically I'm trying to install my wireless card but I don't have these installed to make && sudo. I burned the iso images for backtrack and fedora and booted my computer from them but can't figure out how to install kernel-devel on backtrack for example. I dled yum onto my flash drive but can't figure out how to install it.
I need to install some module which needs to be interated into OS's.
It asks me: "What is the location of the directory of C header files that match your running kernel? "
I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/
Now when I run configuration it does not work
Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?
I am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
I am trying to install VMware on my machine. I have downloaded VMware and I am now trying to configure it. After accepting the EULA, the program states;
Code:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] y Then;
Code:
Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/bin/gcc The path "/usr/bin/gcc" is not an existing directory. What is the location of the directory of C header files that match your running kernel?[/usr/src/linux/include] How do i find where the C header files are?
I'm running BackTrack4r2 which is based on Intrepid. I'm pulling my hair out over this problem. As I try to install VMWare Server 2.0 I'm getting stuck at a question the installer poses: Where are the kernel header files located? It would make sense that they're in /usr/src/linux-2.6.35.8 but when I put that it just says there's no subfolder "linux" as expected and to try again. If I use the default location that VMWare says (/lib/modules/2.6.35.8/build/include) I get an error:
I`m trying to install Intel EXPI9402PT PRO/1000 PT Dual Port Server Adapter on my machine. I download the drivers for this card from intel web page, but I can`t make it work. I`m running OpenSuse 11.3 version. When I tried to install it for the first time I got this message:
Makefile:71: *** Kernel header files not in any of the expected locations. Makefile:72: *** Install the appropriate kernel development package, e.g. Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop
Then I install the kernel-source package and I got this one:
Makefile:107: *** Linux kernel source not configured - missing version header file. Stop.
I also installed kernel-devel package, but I get the same message.
not sure what how to sort out this problem but i am trying to install map server and it errors out because i don not have this header. i get this exact error message configure: checking whether we should include ESRI SDE support... configure: error: "Could not find sdetype.h or libsde.a/libsde.so in /u01/arcgis93sdk/sdeexe93/."
I am running a vmware on a 64 bit fedora 9. I have already installed kernel header, but the vmware could not find the kernel header, and ask to input the kernel header path. I added /usr/include to the vmware, it complained not a right kernel header.
How can I install older fedora kernel? Because I accidentally removed the working kernel among three kernels. I've tried yum install kernel-2.6.30.10-105.2.4.fc11.i586 but fails.
My company offers Linux preloads in RHEL, Fedora and Ubuntu. I have Fedora 13 installed on my laptop. I want to install it on a desktop but the 2.6.33 kernel hangs the desktop when the Fedora 13 or Ubuntu Lucid DVD boots. I have the Ubuntu Jaunty preload on the desktop but would prefer Fedora. The preload includes a few apps for my job that aren't included with Ubuntu. Is it possible to select an older kernel to boot to and/or use that during the install? I think it is the SCSI controller causing this. I have the same model machine at home configured the same way except the onboard SCSI is disabled, I am using SATA drives in it.
I am building a series of custom kernels...for one of them i am using a kernel that is older than my currently installed ones.
I am using rpm to install this kernel and it will not install, period. i don't get why i can't install this....what does it matter that i am installing an older kernel? and why is fedora/rpm designed to not let me do this?
Code:
There should be an easy way to get around this, but i haven't figured it out yet. i've googled around, no luck. i bounce between kernel versions all the time without problems on my system, so why is rpm setup for strict versions on a kernel? and is there no way around this, and i just have to delete all three of those kernels, i don't really want to. 2 of them are awesome and i shouldn't have to build them again, that would be complete crap! and i wouldn't have this problem on my debian setup, so why fedora? (i generally think fedora is better)
I just did an upgrade and it included the kernel. As time goes by, I will be stuck with a lot of kernels to choose from, and lower disk space. How do I remove an older kernel and everything it's related to it without breaking stuff?
I've installed Fedora 12 (KDE version) on VMware workstation running under Windows 7.
I've been able to configure the VMware tools fine up until this point:
Code:
What is the location of the directory of C header files that match your running kernel? After some searching online I deduced I should install all of the latest updates and kernel-devel.
I then nuked the previous VMware tools install and started over with it again, but alas, no directory I try works (i.e. /usr/src/kernels/, /usr/src/kernels/2.6.31.5-127.fc12.i686/ and so forth).
I am installing the quake4SDK on RHEL , it needs gcc-3.3 , but I have gcc 4.1.How can I install an alternative gcc3.3, without getting rid of the newest one , and solely to get this program to compile ??? I know there is an "alternative" managing system , but don't know how it works.
i have a c++ program and i tried to run it using gcc command and it gives header files error i got the header file now but dont know where to place those files?can any one got the idea??? we could not place header files in usr/include folder!
When I installed the suse11.3, I running the "uname -r",the system shows "2.6.34-12-desktop",for some reasons,i need the kernel header for "2.6.34-12-desktop". I down the "kernel-source", "kernel-default" and "kernel-desktop" and I check the "/usr/src/" path, but only have these stuff "linux-2.6.34.7-0.7 linux-2.6.34.7-0.7-obj linux-obj", where can I get the kernel -header for "2.6.34-12-desktop".
When is it good to use separate translation units and object files and link them into the main C program, and when is it good to include the header files in the main C program? I don't understand if most people include header files or if most people just link in object files and use their contents in the main program. It's sort of a simple question, but it's confusing to me and that's why I need help with it. I sort of don't understand the difference, or if there's really no difference other than the way the final result is achieved, which way is better or preferred, etc...
For example:
Code:
or:
Code:
Simple explanation of the difference? or which one is preferred or better? I've read a little on the ELF format... so is there no difference in the end result? It's just a matter of preference or necessity, and where the information is to begin with?
After getting everything running nicely on 10.10 (after dozens of installs - long story, partially raid problem, partially noob, partially partitioning and Windows), I'm stuck with an unbootable 10.10.I selected all the "important security updates" when the update manager told me I needed to update everything. Upon rebooting, and picking ubuntu in grub, I get:
Error: unknown command 'record fail'Error: cannot read the Linux header Error: you need to load the kernel first Not exactly sure why at this point. Can anyone point me in the right direction? I can probably get in either through a 10.04 version that I have on another HDD, or through the livecd.
Note: if it's important, I did not elect to install the ATI proprietary drivers, and this is also the first update that I've done after installing medibuntu - a few boot cycles in between, so I don't think it's related.
A few days ago yast did update my computer to a new kernel-desktop 2.6.31.12-0.1.1.
My mainboard is an ASUS P4P800-VM with Intel ICH5 chipset. This new kernel is not able, to poweroff my computer. Older kernels were able to poweroff the computer.
How can I roll back to the older kernel? Yast does only offer the recent kernel.
In /boot there are only files of the recent kernel.
ASUS P4P800 Intel Pentium 4 HT, 3000 MHz, Frontside 800 MHz/Cache 1 MB 3 GB Ram AGP nVidia 7600GS/512 MB, nVidia driver 190.53, installed from yast. PCI WLan TP-Link 951N (Atheros chipset, WLan N, driver ath9 was automatically installed)
I am using ubuntu 9.10 and the vmware player 3 was working fine. But after the kernel headers updated to 2.6.31-22 the vmware player shows the pop up and says it cannot find the kernel headers. But actually, the linux-headers-2.6.31-22-generic are installed. I tried to re-install the vmware player but with no sucess. Is there any way to correct this error.
I just installed a fresh CentOS 5.2 32bit system. I used "The Perfect Server" server document from Howtoforge and went through those steps and then added Webmin administration console. I then tried to install VMware Workstation 6.5 onto the system. I downloaded the latest VMware bundle, ran it and everything went fine. I then try to run vmware and I get the following messages
C header files matching your running kernel were not found
Before youcan run VMware Workstation, several modules must be compiled and loaded into the running kernel
Kernel Headers 2.6.18-92.1.22.el5.centos.plusPAE
Kernel headers for version 2.6.18-92.1.22.el5.centos.plusPAE were not found. If you installed them in non-default path you can..
I have tried installing both 10.10 and 11.04 on a older motherboard . The install seems to go smooth till it gets to the "who are you" screen and then there is no forward button lite up.
I used to keep a back level kernel on all my systems along with the latest upgraded kernel. How is that done using Yast/zypper? I don't see an option to keep the older version.