[Vorbis] vorbis-tools-1.1.1 build mechanism stubbornly refuses to
build with FLAC, ogg123, speex
Ian Malone
ibmalone at gmail.com
Sun Dec 10 14:35:35 PST 2006
On 06/12/06, Sergei Steshenko <sergstesh at yahoo.com> wrote:
> Hello,
>
> I am trying build vorbis-tools-1.1.1 in the framework of my tool (see signature).
>
> The essence of the tools is that it builds and install everything locally, and, of
> course, it uses the available mechanisms to specify search paths for both headers
> and libraries; the tool first builds dependencies abd then the target itself.
>
>
> So, for example, 'configure' for vorbis-tools-1.1.1 is rub this way:
>
> cd /maxtor5/sergei/AppsFromScratchWD/build/vorbis-tools-1.1.1;
> PATH=/maxtor5/sergei/AppsFromScratchWD/install/curl-7.15.5/bin:/maxtor5/sergei/AppsFromScratchWD/install/flac-1.1.2/bin:/maxtor5/sergei/AppsFromScratchWD/install/gnutls-1.4.5/bin:/maxtor5/sergei/AppsFromScratchWD/install/libgcrypt-1.2.3/bin:/maxtor5/sergei/AppsFromScratchWD/install/libgpg-error-1.4/bin:/maxtor5/sergei/AppsFromScratchWD/install/libtasn1-0.3.6/bin:/maxtor5/sergei/AppsFromScratchWD/install/opencdk-0.5.9/bin:/maxtor5/sergei/AppsFromScratchWD/install/speex-1.1.12/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh;
> export PATH;
> LD_LIBRARY_PATH=/maxtor5/sergei/AppsFromScratchWD/install/curl-7.15.5/lib:/maxtor5/sergei/AppsFromScratchWD/install/flac-1.1.2/lib:/maxtor5/sergei/AppsFromScratchWD/install/gnutls-1.4.5/lib:/maxtor5/sergei/AppsFromScratchWD/install/libao-0.8.6/lib:/maxtor5/sergei/AppsFromScratchWD/install/libgcrypt-1.2.3/lib:/maxtor5/sergei/AppsFromScratchWD/install/libgpg-error-1.4/lib:/maxtor5/sergei/AppsFromScratchWD/install/libogg-1.1.3/lib:/maxtor5/sergei/AppsFromScratchWD/install/libtasn1-0.3.6/lib:/maxtor5/sergei/AppsFromScratchWD/install/libvorbis-1.1.2/lib:/maxtor5/sergei/AppsFromScratchWD/install/lzo-2.02/lib:/maxtor5/sergei/AppsFromScratchWD/install/opencdk-0.5.9/lib:/maxtor5/sergei/AppsFromScratchWD/install/speex-1.1.12/lib:/maxtor5/sergei/AppsFromScratchWD/install/zlib-1.2.3/lib;
> export LD_LIBRARY_PATH;
> PKG_CONFIG_PATH=/maxtor5/sergei/AppsFromScratchWD/install/curl-7.15.5/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/gnutls-1.4.5/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/libao-0.8.6/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/libogg-1.1.3/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/libtasn1-0.3.6/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/libvorbis-1.1.2/lib/pkgconfig:/maxtor5/sergei/AppsFromScratchWD/install/speex-1.1.12/lib/pkgconfig;
> export PKG_CONFIG_PATH; LDFLAGS='-L/maxtor5/sergei/AppsFromScratchWD/install/curl-7.15.5/lib
> -L/maxtor5/sergei/AppsFromScratchWD/install/flac-1.1.2/lib
<snip<
> -L/maxtor5/sergei/AppsFromScratchWD/install/flac-1.1.2/lib'; export LDFLAGS;
> CPPFLAGS='-I/maxtor5/sergei/AppsFromScratchWD/install/curl-7.15.5/include
<snip>
> -I/maxtor5/sergei/AppsFromScratchWD/install/flac-1.1.2/include'; export CPPFLAGS; ./configure
>
> Still, screen output of 'configure' says:
>
<snip>
> config.status: creating po/Makefile
> configure: WARNING: FLAC and/on OggFLAC libraries or headers missing, oggenc
> will NOT be built with FLAC read support.
> configure: WARNING: FLAC and/or OggFLAC libraries or headers missing, ogg123
> will NOT be built with FLAC read support.
> configure: WARNING: Speex libraries and/or headers missing, ogg123
> will NOT be built with Speex read support.
> ".
>
Okay, seeing I just upgraded to FC6, I thought I'd give this a go,
left out FLAC (and the speex-devel package, but only looked at
FLAC). Downloaded and built the flac-1.1.2 tarball, installed to
/home/ian/flac, then set this up:
[ian at atlas vorbis-tools]$ export|grep flac
declare -x CPPFLAGS="-I/home/ian/flac/include/"
declare -x LDFLAGS="-L/home/ian/flac/lib"
vorbis-tools from svn does ./configure and configures FLAC
support (but not speex, missing devel package). make builds
fine.
Perhaps you could have a look at config.log. This is an
excerpt from mine without the above exports:
configure:28136: checking for FLAC/stream_decoder.h
configure:28152: gcc -c -O2 -Wall -ffast-math -fsigned-char conftest.c >&5
conftest.c:94:33: error: FLAC/stream_decoder.h: No such file or directory
and with them:
configure:28136: checking for FLAC/stream_decoder.h
configure:28152: gcc -c -O2 -Wall -ffast-math -fsigned-char -I/home/ian/flac/in
clude/ conftest.c >&5
configure:28158: $? = 0
configure:28162: test -z
|| test ! -s conftest.err
configure:28165: $? = 0
configure:28168: test -s conftest.o
configure:28171: $? = 0
configure:28182: result: yes
--
imalone
More information about the Vorbis
mailing list