Find the answer to your Linux question:
Results 1 to 3 of 3
I'm having a problem using xconfig. I have read I need to go to /usr/src/linux and type "make xconfig. " However, I don't seem to have that directory. If fact ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    12

    xconfig

    I'm having a problem using xconfig. I have read I need to go to /usr/src/linux and type "make xconfig. "

    However, I don't seem to have that directory. If fact /usr/src appears to be empty. Is there another equivalent directory that would allow me to get into xconfig?

    thanks, Mike

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    make xconfig it's a command that you allow you to see the kernel configuration from the current source code of the kernel,then you can change some setting and compile the kernel,sure that you can't do it if you don't have the kernel source code installed,the typical directory it's /usr/src wish will be empty unless you install something in it,so if you want to access the kernel configuration and recompile the kernel you should install the kernel source from the Debian DVD or from the mirrors.


    Hope this help.

  3. #3
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    just as aliov said , install the kernel source

    apt-get install linux-source-`uname -r`

    it's will install a directory to /usr/src on name linux-2.6.x.x
    you might need create a symlink to the source directory , the linux sir isn't a dir it's just a symlink so if not exist after installation create it

    ln -s /usr/src/linux-2.6.x.x /usr/src/linux

    and now you can enter to linux and use "make xconfig" or "make menuconfig" maneuconfig is an ncurses based ,menu ordered , kernel config utility, if you want use menuconfig you might need install ncurses

    apt-get install libncurses5 libncurses5-dev

Posting Permissions

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