[Flac] Re: [Icecast] two problems with flac and ices 0.4 build

Brendan Cully brendan at xiph.org
Sun Jan 16 10:54:56 PST 2005


On Sunday, 16 January 2005 at 10:18, Darrell Berry wrote:
> i'm trying to build ices0.4 and vorbis-tools 1.0.1 with flac 1.1.1. 
> Neither seems happy, hence the crossposting (sorry).
> 
> ICES0.4
> 
> ices refuses to see the libFLAC library, even if i specify
> --with-flac=/usr/local/lib (or even just --with-flac=/usr/local/, as
> the configure script seems to look in the lib and include
> subdirectories of the specified path?). i get a configure error:

The correct form is --with-flac=/usr/local
although linux systems often check /usr/local by default, so this is
typically unnecessary.

> configure: error: Could not find libFLAC
> 
> (can provide trace of ./configure if that would help anyone). FWIW, 
> /usr/local/include contains (amongst other things):
> 
> FLAC, FLAC++ and OggFLAC

whoops, it looks like there's a typo in the header check. It's
looking for the faad (mp4) header instead. You can try the following patch,
which I'm about to commit.

Index: configure.ac
===================================================================
--- configure.ac        (revision 8703)
+++ configure.ac        (working copy)
@@ -367,7 +367,7 @@
     LDFLAGS="$LDFLAGS -L$with_flac/lib"
   fi
 
-  AC_CHECK_HEADER(faad.h, have_flac="maybe")
+  AC_CHECK_HEADER([FLAC/stream_decoder.h], have_flac="maybe")
   if test "$have_flac" != "no"
   then
     AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, [


More information about the Flac mailing list