Skip to contentSkip to conversation

macro `AM_PATH_ALSA' not found in library

DISCUSSION Lee Revell 2 participants 4 messages Jul 5, 2006 – Jul 6, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

I have a script that builds alsa-lib and alsa-utils for an embedded platform.

It works perfectly on all my Ubuntu machines. But when I try it on an FC4 box, alsa-lib builds correctly, but alsa-utils fails like so:

config.status: executing depfiles commands
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run aclocal-1.9 -I m4 aclocal:configure.in:30: warning: macro `AM_PATH_ALSA' not found in library
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run automake-1.9 --foreign
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run autoconf configure.in:30: error: possibly undefined macro: AM_PATH_ALSA
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1

What is AM_PATH_ALSA? How can I make it work?

Lee

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

author
#1 lore raw
Quoted 6 lines · Lee Revell

I have a script that builds alsa-lib and alsa-utils for an embedded platform.

It works perfectly on all my Ubuntu machines. But when I try it on an FC4 box, alsa-lib builds correctly, but alsa-utils fails like so:

OK, I've tried to resolve this by having my script run "cvscompile". But it stops at:

"Copying file m4/xsize.m4

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.5 (or newer) to do this. Then run 'autoconf' to regenerate the configure file.

You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.

Press Return to acknowledge the previous two paragraphs."

I cannot press return here because I must be able to build non-interactively using a script.

How can I silence these warnings? Even if I run "aclocal -I m4" then "autoconf" I still get this prompt on the next build.

Lee

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#2 lore raw

At Wed, 05 Jul 2006 18:20:26 -0400,

Quoted 24 lines · Lee Revell
Quoted 6 lines · Lee Revell

I have a script that builds alsa-lib and alsa-utils for an embedded platform.

It works perfectly on all my Ubuntu machines. But when I try it on an FC4 box, alsa-lib builds correctly, but alsa-utils fails like so:

OK, I've tried to resolve this by having my script run "cvscompile". But it stops at:

"Copying file m4/xsize.m4

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file. You need aclocal from GNU automake 1.5 (or newer) to do this. Then run 'autoconf' to regenerate the configure file.

You might also want to copy the convenience header file gettext.h from the /usr/share/gettext directory into your package. It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.

Quoted 7 lines

Press Return to acknowledge the previous two paragraphs."

I cannot press return here because I must be able to build non-interactively using a script.

How can I silence these warnings? Even if I run "aclocal -I m4" then "autoconf" I still get this prompt on the next build.

Try to run "autoreconf -fi" then "make", instead.

Takashi

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
In reply to Lee Revell

At Wed, 05 Jul 2006 15:24:19 -0400,

Quoted 17 lines · Lee Revell

I have a script that builds alsa-lib and alsa-utils for an embedded platform.

It works perfectly on all my Ubuntu machines. But when I try it on an FC4 box, alsa-lib builds correctly, but alsa-utils fails like so:

config.status: executing depfiles commands
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run aclocal-1.9 -I m4 aclocal:configure.in:30: warning: macro `AM_PATH_ALSA' not found in library
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run automake-1.9 --foreign
cd . && /bin/sh /home/lee/perforce/Alchemy/ppc/linux/rootfs/filesystem/packages/alsa-utils-1.0.11/missing --run autoconf configure.in:30: error: possibly undefined macro: AM_PATH_ALSA
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1

Quoted 1 line

What is AM_PATH_ALSA? How can I make it work?

AM_PATH_ALSA is an m4 macro for alsa-lib. It must be installed in standard path for autoconf before building alsa-utils.

Takashi

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642