Re: install kernel-source

From: Lenard (Lenard_at_127.0.0.1)
Date: 07/12/05

  • Next message: Tajin: "Re: Grub - related"
    Date: Tue, 12 Jul 2005 21:18:44 GMT
    
    

    kevin wrote:

    > I had followed the steps in the release note, I can see the kernel
    > source code in '/usr/src/redhat/BUILD/kernel-2.6.9'
    > But, when I type command
    > rpm -q kernel-source
    >
    > it keeps saying that "package kernel-source is not installed". Is
    > there a step missing?

    No, the kernel-source package is normally not listed as an installed
    package.

    > I need the kernel source in order to install digium TDM400p in
    > asterisk. The install script will fail at "rpm -q kernel-source"

    Follow the directions in the RELEASE-NOTES and as root copy the kernel
    source directory to /usr/src and create the linux link, excerpt (edited
    for the 2.6.9 kernel source) below;

    [quoting]
           The kernel source tree will be located in the
           /usr/src/redhat/BUILD/kernel-<version> directory. It is common
           practice to move the resulting linux-<version> directory to the
           /usr/src tree; while not strictly necessary, we suggest that you
           do this to match the generally-available documentation.

    # cd /usr/src/redhat/BUILD/kernel-2.6.9 /usr/src/
    # mv linux-2.6.9 /usr/src/
    # cd /usr/src
    # ln -s ./linux-2.6.9 linux
    [/quoting]

    Then it's a simple matter to issue the 'make' and 'make install'
    commands from where you have the extracted asterisk-1.0.9 package
    located at.

    -- 
    "They that can give up essential liberty to obtain a little temporary
     safety deserve neither liberty nor safety."     -- B. Franklin, 1759
    

  • Next message: Tajin: "Re: Grub - related"

    Relevant Pages

    • Re: Upgrading from old Sarge (Testing) to Unstable
      ... > The package I'm most concerned about upgrading is the kernel. ... If you installed it via the debian tools, ie. via a .deb package it will be found in the 'Obsolete and locally created packages' section in aptitude. ... You can later install a new kernel or compile a new kernel, but as said in the release info, I strongly recommend to do this in a separate step: use your existing kernel to see if everything works fine; ... 50% Building Dependency Tree Reading extended state information... ...
      (Debian-User)
    • Yum upgrade from F8 to F9 with KDE desktop - installation notes
      ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... Use your preferred method to install the above file: ...
      (Fedora)
    • SUSE Security Announcement: several kernel security problems (SUSE-SA:2005:044)
      ... please install the update packages. ... Use the following command to determine which kind of kernel is ... Download the kernel RPM package for your distribution with the ... Starting from SUSE LINUX 9.2, ...
      (Bugtraq)
    • Re: Using yum to update livna nvidia packages?
      ... >> Yum by default does an install on new kernels and modules. ... >> package and since that comes from livna the issue at that point would ... 6629 drive installed for the existing kernel 2.6.10-1.770. ...
      (Fedora)
    • Re: I get it now! (smbfs support)
      ... > under dselect and no dependency warnings being issued. ... The smbfs package only gives you the programs to mount the shares. ... dependency system cannot see if your kernel has smbfs support. ... be annoying if you had to install another kernel only to get the smbfs ...
      (comp.os.linux.setup)