Find the answer to your Linux question:
Results 1 to 9 of 9
Surprice, another noob.. I've just installed Fedora Core 2, love the looks of it. But have a probleme, after the installation I can't find any kernel-source ?? There is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    12

    Where is my Kernel-Source?


    Surprice, another noob..

    I've just installed Fedora Core 2, love the looks of it.

    But have a probleme, after the installation I can't find any kernel-source ??
    There is a valid file at cd 3, kernel-source-2.6.5-1.358.i386.rpm, but when I tried to install that one i get som, to me, strange messages.

    [root@localhost install]# rpm -ivh kernel-source-2.6.5-1.358.i386.rpm
    fel: Ouppfyllda beroenden:
    /usr/bin/strip behövs av kernel-source-2.6.5-1.358
    gcc >= 3.2 behövs av kernel-source-2.6.5-1.358
    gtk2-devel behövs av kernel-source-2.6.5-1.358
    ncurses-devel behövs av kernel-source-2.6.5-1.358
    qt-devel behövs av kernel-source-2.6.5-1.358
    readline-devel behövs av kernel-source-2.6.5-1.358
    [root@localhost install]#

    Most of this I might just solve, but how will I get a hold of for example /usr/bin/strip ??

    I would be very greatful if I could get som guidance, totaly lost here,,

    /Chris

    ps. This in swedish, "behövs av" is pretty much ta same as "will need" ds.

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    the sources are located in /usr/src
    and the current kernel sources are symlinked to /usr/src/linux

    mut i think i misunderstand.....language barrier
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    12
    That much I do know, but my /usr/src is empty

    [root@localhost src]# dir
    [root@localhost src]#

    [root@localhost src]# rpm -qa | fgrep kernel
    kernel-2.6.5-1.358
    kernel-utils-2.4-9.1.131
    [root@localhost src]#

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    Oh i get it...ok you need to install the development is it tools? well anyways you need to install the gcc compiler and it's libraries from the cd in order to compile the kernel and all that you will need is on the cd that you installed from
    But i'm not familar with fc2 so as how to do it in your distro i'm not shure.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  6. #5
    Just Joined!
    Join Date
    Jul 2004
    Posts
    12
    Tnx for your replies

    Although I'm on the edge to give up, atlest this distro.
    I keep instaling rpm's, and he's just asking for more of them, Is that normal..?!?

    Start to think my installation cd's fainling, hardly any of the files i need is to find on the,

  7. #6
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    Gentoo is a good choice but there is no gui installer for it, however the Gentoo doc's are the best and the handbook is great gentoo.org though the learning curve is sharp with it if you follow all the directions you will be better in the longrun from doing a manual install you will understand how linux works a little more

    But i would wait for mor ppl to see this before you jump ship.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  8. #7
    Just Joined!
    Join Date
    Jul 2004
    Posts
    12
    Oki, tnx man.
    I'll take that under concideration..

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Might I suggest trying the following:
    Code:
    yum install kernel-sourcecode

  10. #9
    Just Joined!
    Join Date
    Jul 2004
    Posts
    12
    Tnx Dolda2000, aplied this command.. but fell asleep so missed the install/upgrade confirmation
    Will try this tomorrow again..

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •