With these versions: ii autoconf 2.54-2 automatic configure script builder ii automake1.6 1.6.3-2 A tool for generating GNU Standards-complian I am unable to build the autoconfiscations. autoheader gives: autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in What versions are you using? (btw, I do think it would be a very good idea to start using AC_CONFIG_HEADERS instead of passing so many of -D's on the compiler command line) -- - mdz
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.shYou 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
Hi! 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: sm@woody3:/tmp/flac-1.0.4.orig$ ./autogen.sh configure.in:284: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:285: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:286: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:287: warning: AC_TRY_RUN called without default to allow cross compiling /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$ What I must do now? -- ? ?????????, ????????? ????????.
--- Matt Zimmerman <mdz@debian.org> wrote:> With these versions: > > ii autoconf 2.54-2 automatic configure script builder > ii automake1.6 1.6.3-2 A tool for generating GNU > Standards-complian > > I am unable to build the autoconfiscations. autoheader gives: > > autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in > > What versions are you using? >$ autoconf --version autoconf (GNU Autoconf) 2.53 $ automake --version automake (GNU automake) 1.6.3 how did you get the 'dash' number in the version?> (btw, I do think it would be a very good idea to start using > AC_CONFIG_HEADERS instead of passing so many of -D's on the compiler > command > line)Yeah, it's a good idea... can you take care of this one? I'm kind of swamped lately. Just check it in on the trunk. Thanks, Josh __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
On Mon, Oct 07, 2002 at 11:16:13PM -0700, Josh Coalson wrote:> --- Matt Zimmerman <mdz@debian.org> wrote: > > With these versions: > > > > ii autoconf 2.54-2 automatic configure script builder > > ii automake1.6 1.6.3-2 A tool for generating GNU > > Standards-complian > > > > I am unable to build the autoconfiscations. autoheader gives: > > > > autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in > > > > What versions are you using? > > > $ autoconf --version > autoconf (GNU Autoconf) 2.53 > $ automake --version > automake (GNU automake) 1.6.3 > > how did you get the 'dash' number in the version?Debian package version numbers are of the form <upstream version>-<Debian revision>. flac, for example, is currently at 1.0.4-2.> > (btw, I do think it would be a very good idea to start using > > AC_CONFIG_HEADERS instead of passing so many of -D's on the compiler > > command > > line) > > Yeah, it's a good idea... can you take care of this one? I'm > kind of swamped lately. Just check it in on the trunk.OK, I'll look into this soon. -- - mdz
(btw, after mangling all the autoconfiscations to use config.h, autoheader works for me...) On Mon, Oct 07, 2002 at 11:16:13PM -0700, Josh Coalson wrote:> > (btw, I do think it would be a very good idea to start using > > AC_CONFIG_HEADERS instead of passing so many of -D's on the compiler > > command line) > > Yeah, it's a good idea... can you take care of this one? I'm kind of > swamped lately. Just check it in on the trunk.Done. I ran a full make distclean/configure/make check cycle and everything worked for me. I haven't tested all possible combinations, though, so I may have missed a thing or two. Basically, all that should be necessary is to add some: #ifdef HAVE_CONFIG_H #include <config.h> #endif at the top of any file which needs the config stuff. -- - mdz