building aplay / arecord

aitor aitor_czr at gnuinos.org
Wed Nov 2 22:52:37 CET 2022


Hi David,

On 2/11/22 16:15, ael wrote:

> On Mon, Oct 31, 2022 at 06:04:26PM -0700, David Jaffe wrote:
>> Newbie question...
>>
>> I downloaded the alsa-utils source and it says to run ./configure.  But no
>> such file exists.  And if I go to aplay and type “make aplay” it can’t find
>> a file called “aconfig.h”, which is presumably written by
>> ./configure.  What am I missing?
> I think that you need to run autoconf on the configure.ac file which
> you should have: it is there in the git directory.
>
> Perhaps read
>   man autoconf ?
>
> The INSTALL file does indeed say run ./configure without explaining that
> you need autoconf if ./configure is not present.

Projects making use of the autotools often provide a script named `autogen.sh`
to do the job concerning to autoconf. Try with this:

$ autoreconf -f -i -s

This will generate the configure script.

On the other hand, as suggested by ael, the manpages will give you the meaning
of the arguments passed to the command:

$ man autoreconf

Hope this helps,

Aitor.



More information about the Alsa-devel mailing list