-
./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?
-
Re: ./configure issue
Lawsan wrote:
[color=blue]
>
> 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?[/color]
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).
-
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" <spammers-go-here@spam.invalid> wrote in message
news:436d99a9$0$41139$14726298@news.sunsite.dk...[color=blue]
> Lawsan wrote:
>[color=green]
>>
>> 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?[/color]
>
> 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).[/color]
-
Re: ./configure issue
Lawsan wrote:
[color=blue]
> It is not in /usr/src/linux. That directory does not exist at this time. I[/color]
Of course it does not. Do you have a kernel-source or a kernel-headers
package installed ?
-
Re: ./configure issue
[ Top-posting corrected ]
[color=blue][color=green][color=darkred]
>>>>> Lawsan writes:[/color][/color][/color]
[color=blue]
> "Madhusudan Singh" <spammers-go-here@spam.invalid> wrote...[color=green]
>> Lawsan wrote:
>>[color=darkred]
>>>
>>> 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?[/color]
>>
>> 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).[/color][/color]
[color=blue]
> 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.[/color]
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.
[color=blue]
> 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?).[/color]
Once you've done it once it becomes easier the next time. Good luck!
--
Neil.