configure failing due to ALSA in FreeBSD
Ricardo Nabinger Sanchez <[email protected]> Thu, 1 Mar 2007 14:15:36 -0300
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Organization | SYS_WAIT4 |
| Message-ID | <[email protected]> |
Hello,
Trying to build the latest XMMS from CVS on FreeBSD, I got this:
./configure: line 29857: syntax error near unexpected token `0.9.0,'
./configure: line 29857: `AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)'
Building the xmms.pot...
Wrote xmms.pot
done
configure stopped, there's no Makefile. The relevant portion of it:
29854 LIBS_save=$LIBS
29855 CFLAGS_save=$CFLAGS
29856 LDFLAGS_save=$LDFLAGS
29857 AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
29858
29859
29860 if test "x${have_alsa}" = "xyes"; then
29861 HAVE_ALSA_TRUE=
29862 HAVE_ALSA_FALSE='#'
29863 else
29864 HAVE_ALSA_TRUE='#'
29865 HAVE_ALSA_FALSE=
29866 fi
29867
29868 LIBS=$LIBS_save
29869 CFLAGS=$CFLAGS_save
29870 LDFLAGS=$LDFLAGS_save
Throughout the whole file, that "AM_PATH_ALSA" is the only occurence of its
kind, and I believe it's due to a message in the beginning of the process:
% nice ./autogen.sh
Generating configuration files for XMMS, please wait....
...
aclocal:configure.in:426: warning: macro `AM_PATH_ALSA' not found in library
...
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
...
Any tips?
System info:
% uname -a
FreeBSD sauron.lan.box 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7
04:32:43 UTC 2006 [email protected]:/usr/obj/usr/src/sys/GENERIC
i386
Sorry, but I'm not proficient enough in autotools to fix configure.in by
myself. For the moment, I'll comment out the ALSA stuff in the configure
script, so I can build it. But it would be nice to fix it. I can volunteer
to fix things related to FreeBSD as soon as I learn the tricks.
Thanks in advance. :)
--
Ricardo Nabinger Sanchez <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD
"Left to themselves, things tend to go from bad to worse."