[Flac-dev] autoheader failing?

Matt Zimmerman
Fri, 10 Sep 2004 16:45:36 -0000

On Wed, Oct 09, 2002 at 10:55:25PM +0400, Severny Morskoy wrote:

>
> I have Debian Woody box. I've tried to compile flac-1.0.4 (because I
> use it very active and often), but process failed:

If you are using the Debian packaged sources, why not build the package
properly?

apt-get build-dep flac
apt-get source -b flac

Or if you already have the source package:

dpkg-source -x flac_1.0.4-2.dsc
cd flac-1.0.4
dpkg-buildpackage -b

This will ensure that everything is built properly.

> sm@woody3:/tmp/flac-1.0.4.orig$ ./autogen.sh

You do not need to run autogen when building flac unless you have modified
configure.in, Makefile.am, etc.

> /usr/bin/autoheader2.13: Symbol `FLAC__ALIGN_MALLOC_DATA' is not
covered by /usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__CPU_IA32' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__CPU_PPC' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__CPU_SPARC' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__EXHAUSTIVE_TESTS' is not covered
by /usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__HAS_ID3LIB' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__HAS_NASM' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__HAS_OGG' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__NO_ASM' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__SSE_OS' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `FLAC__USE_3DNOW' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `ID3LIB_MAJOR' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `ID3LIB_MINOR' is not covered by
/usr/share/autoconf2.13/acconfig.h
> /usr/bin/autoheader2.13: Symbol `ID3LIB_PATCH' is not covered by
/usr/share/autoconf2.13/acconfig.h
> sm@woody3:/tmp/flac-1.0.4.orig$

The problem here is that you are using autoconf 2.13, when flac requires
autoconf 2.5.  As I said above, you don't need to deal with any of this, and
even if you did, you could avoid it by using the package.  This is what it
is for.

--
 - mdz