[Ffmpeg-devel] Broken Configure script?

Diego Biurrun diego
Wed Jan 10 15:35:21 CET 2007


On Mon, Jan 01, 2007 at 10:50:21PM +0000, M?ns Rullg?rd wrote:
> Bret Jordan <bret.jordan at utah.edu> writes:
> 
> > I am using ffmpeg-checkout-2006-12-29
> >
> > The configure script is unable to find libs outside of /usr/lib
> >
> > I have done:
> > export PREFIX=/local/media
> > export PKG_CONFIG_PATH=/local/media/lib/pkgconfig:$PKG_CONFIG_PATH
> > export LD_LIBRARY_PATH=/local/media/lib:$LD_LIBRARY_PATH
> >
> > I have even added /local/media/lib to /etc/ld.so.conf (top of the list)
> >
> > The configure command I am using is:
> >     CFLAGS="-static" \
> >         CPPFLAGS="-I$PREFIX/include/" \
> >         LDFLAGS="-static -L$PREFIX/lib/" \
> >         ./configure \
> >             --prefix=$PREFIX \
> [...]
> > For some reason the configure script does not like the CPPFLAGS and
> > LDFLAGS variables.
> 
> Try the --extra-cflags and --extra-ldflags configure options.

Nevertheless we should honor these environment variables just like we
honor CFLAGS.

Diego




More information about the ffmpeg-devel mailing list