./configure issue - Debian

This is a discussion on ./configure issue - Debian ; After replacing 2.2.20-idepci with kernel-image-2.4.27-686, I installed gcc and related packages including libc6-dev. I am trying install Alsa-drivers, lib, util and oss. The first item I try to ./configure is the alsa-drivers, the ./configure says it is looking for the ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: ./configure issue

  1. ./configure issue


    After replacing 2.2.20-idepci with kernel-image-2.4.27-686, I installed gcc
    and related packages including libc6-dev. I am trying install Alsa-drivers,
    lib, util and oss. The first item I try to ./configure is the alsa-drivers,
    the ./configure says it is looking for the kernel version and to please
    install the kernel-source or direct the command to the correct directory.
    How can I find which is the correct directory to which to point?



  2. Re: ./configure issue

    Lawsan wrote:

    >
    > After replacing 2.2.20-idepci with kernel-image-2.4.27-686, I installed
    > gcc and related packages including libc6-dev. I am trying install
    > Alsa-drivers, lib, util and oss. The first item I try to ./configure is
    > the alsa-drivers, the ./configure says it is looking for the kernel
    > version and to please install the kernel-source or direct the command to
    > the correct directory. How can I find which is the correct directory to
    > which to point?


    The correct directory is usually /usr/src/linux, but that will be setup only
    if you have kernel source for your running kernel is installed (or maybe
    the headers package will do as well).

  3. Re: ./configure issue

    It is not in /usr/src/linux. That directory does not exist at this time. I
    simply apt-get install kernel-2.4.27-686 and rebooted. I'll bet that this
    has been my sound issue all along. I thought that a precompiled kernel image
    would be easier to get my sound working. I'll tell you what I have been
    doing. I have been wanting to get sound working after a Debian install for a
    long time but it seems like some new issue always comes up. I prefer a base
    install and then install x-window-system and a manager and certain packages
    as I want them. I enjoy this type of install. The 2.2.20-idepci kernel
    seemed not friendly to sound activation so I went for a newer kernel, but
    compiling myself needs work (my next project?).
    "Madhusudan Singh" wrote in message
    news:436d99a9$0$41139$14726298@news.sunsite.dk...
    > Lawsan wrote:
    >
    >>
    >> After replacing 2.2.20-idepci with kernel-image-2.4.27-686, I installed
    >> gcc and related packages including libc6-dev. I am trying install
    >> Alsa-drivers, lib, util and oss. The first item I try to ./configure is
    >> the alsa-drivers, the ./configure says it is looking for the kernel
    >> version and to please install the kernel-source or direct the command to
    >> the correct directory. How can I find which is the correct directory to
    >> which to point?

    >
    > The correct directory is usually /usr/src/linux, but that will be setup
    > only
    > if you have kernel source for your running kernel is installed (or maybe
    > the headers package will do as well).




  4. Re: ./configure issue

    Lawsan wrote:

    > It is not in /usr/src/linux. That directory does not exist at this time. I


    Of course it does not. Do you have a kernel-source or a kernel-headers
    package installed ?

  5. Re: ./configure issue

    [ Top-posting corrected ]

    >>>>> Lawsan writes:


    > "Madhusudan Singh" wrote...
    >> Lawsan wrote:
    >>
    >>>
    >>> After replacing 2.2.20-idepci with kernel-image-2.4.27-686, I installed
    >>> gcc and related packages including libc6-dev. I am trying install
    >>> Alsa-drivers, lib, util and oss. The first item I try to ./configure is
    >>> the alsa-drivers, the ./configure says it is looking for the kernel
    >>> version and to please install the kernel-source or direct the command to
    >>> the correct directory. How can I find which is the correct directory to
    >>> which to point?

    >>
    >> The correct directory is usually /usr/src/linux, but that will be
    >> setup only if you have kernel source for your running kernel is
    >> installed (or maybe the headers package will do as well).


    > It is not in /usr/src/linux. That directory does not exist at this time. I
    > simply apt-get install kernel-2.4.27-686 and rebooted. I'll bet that this
    > has been my sound issue all along. I thought that a precompiled kernel image
    > would be easier to get my sound working.


    Actually, you have a few choices here if you want to use ALSA.

    1. Install the latest 2.6 series kernel image: this already contains
    ALSA so you should be able to run without any kernel compilation
    required. This is probably the best option, as the 2.6 series has
    better hardware support (including sound) than the 2.4. OR...

    2. Since you've installed the latest 2.4 series kernel, there appears to
    be a corresponding alsa-modules package (alsa-modules-2.4.27-2-686 in
    your case). As long as the versions match (very important), simply
    install this package and all will be well. This is probably the
    easiest and quickest option in your case. Again, no compilation
    required. OR...

    3. Install the kernel source (either 2.4 or 2.6 series), and compile
    it. If installing a 2.4 kernel, don't forget you will need the
    alsa-source package. This is probably the best option in terms of
    learning about your system. You will also create a kernel specific to
    your hardware - a good thing.

    If you install the kernel source, Debian puts the bzip2 compressed tar
    archive in /usr/src. What I usually do is extract it there and create a
    symlink from the source directory to /usr/src/linux.

    > I'll tell you what I have been doing. I have been wanting to get sound
    > working after a Debian install for a long time but it seems like some
    > new issue always comes up. I prefer a base install and then install
    > x-window-system and a manager and certain packages as I want them. I
    > enjoy this type of install. The 2.2.20-idepci kernel seemed not
    > friendly to sound activation so I went for a newer kernel, but
    > compiling myself needs work (my next project?).


    Once you've done it once it becomes easier the next time. Good luck!
    --
    Neil.

+ Reply to Thread