Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have just installed my first copy of Linux. I have downloaded Mandrake 10.0 Official the other day and have installed it on my laptop. Most of the things ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Location
    UK
    Posts
    6

    Compiling Kernel 2.6.6 for Mandrake 10.0


    Hi,

    I have just installed my first copy of Linux. I have downloaded Mandrake 10.0 Official the other day and have installed it on my laptop.

    Most of the things are working fine but ACPI and a few other things not. I was searching the internet and found that I have to upgrade my kernel to 2.6.6 and do some patches etc.

    Anyway, I have downloaded the kernel source code and applied the patches I needed. But when I try to configure the kernel, I get the error message:

    [root@cpc4-blfs1-5-0-cust202 linux-2.6.6]# make menuconfig
    HOSTCC scripts/basic/fixdep
    /bin/sh: line 1: gcc: command not found
    make[1]: *** [scripts/basic/fixdep] Error 127
    make: *** [scripts_basic] Error 2

    I have searched the internet but really could not find any solution and this is driving me mad.

    Please help...

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Code:
    rpm -ivh gcc
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    don
    don is offline
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    101
    in simple english.. what sarumont meant to say is.. you dont have GCC installed.. which is required if u are "compiling" the kernel. so install gcc first before continuing
    I\'m just a simple fisherman blessed with a lot of friends

  4. #4
    Just Joined!
    Join Date
    Jun 2004
    Location
    UK
    Posts
    6
    Thanks guys, I was expecting it to be installed by default but obviously I haven't selected it during installation. I was thinking I did not have previliges to run gcc or some path was not defined.

    I am compiling my kernel at the moment. Hope it works...

    Thanks again...

Posting Permissions

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