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: 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 and /usr/local/lib includes /usr/local/lib/libFLAC.a /usr/local/lib/libOggFLAC.a /usr/local/lib/libFLAC++.a /usr/local/lib/libOggFLAC++.a /usr/local/lib/libFLAC.la /usr/local/lib/libOggFLAC.la /usr/local/lib/libFLAC++.la /usr/local/lib/libOggFLAC++.la /usr/local/lib/libFLAC.so /usr/local/lib/libOggFLAC.so /usr/local/lib/libFLAC++.so /usr/local/lib/libOggFLAC++.so /usr/local/lib/libFLAC++.so.4 /usr/local/lib/libOggFLAC++.so.0 /usr/local/lib/libFLAC++.so.4.0.1 /usr/local/lib/libOggFLAC++.so.0.1.1 /usr/local/lib/libFLAC.so.6 /usr/local/lib/libOggFLAC.so.1 /usr/local/lib/libFLAC.so.6.0.1 /usr/local/lib/libOggFLAC.so.1.1.1 --- All help appreciated - d
not sure what the --with-flac flag is, maybe that's part of the ices config. the lib*FLAC m4 files add the following flags to configure: --with-libFLAC --with-libFLACPP (for libFLAC++) --with-libOggFLAC --with-libOggFLACPP (for libOggFLAC++) Josh --- Darrell Berry <darrell@ku24.com> 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: > > 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 > > and /usr/local/lib includes > > /usr/local/lib/libFLAC.a /usr/local/lib/libOggFLAC.a > /usr/local/lib/libFLAC++.a /usr/local/lib/libOggFLAC++.a > /usr/local/lib/libFLAC.la /usr/local/lib/libOggFLAC.la > /usr/local/lib/libFLAC++.la /usr/local/lib/libOggFLAC++.la > /usr/local/lib/libFLAC.so /usr/local/lib/libOggFLAC.so > /usr/local/lib/libFLAC++.so /usr/local/lib/libOggFLAC++.so > /usr/local/lib/libFLAC++.so.4 /usr/local/lib/libOggFLAC++.so.0 > /usr/local/lib/libFLAC++.so.4.0.1 > /usr/local/lib/libOggFLAC++.so.0.1.1 > /usr/local/lib/libFLAC.so.6 /usr/local/lib/libOggFLAC.so.1 > /usr/local/lib/libFLAC.so.6.0.1 /usr/local/lib/libOggFLAC.so.1.1.1 > > --- > > All help appreciated > > - d__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
Brendan Cully
2005-Feb-11 06:14 UTC
[Flac] Re: [Icecast] two problems with flac and ices 0.4 build
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 OggFLACwhoops, 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, [