[gstreamer-bugs] [Bug 402236] configure can't see libFLAC installed outside /usr/lib

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 30 04:49:59 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=402236

  GStreamer | gst-plugins-good | Ver: HEAD CVS


Luca Ferretti changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #2 from Luca Ferretti  2007-01-30 12:48 UTC -------
Well, flac should provide a .pc file to be a good free/open sw citizen, but
it's not the only one. The same issue occurs with amrnb plugin (see bug #
396148 - also from myself).

Both are using GST_CHECK_LIBHEADER to find needed header/libraries so I suspect
that this macro is broken and ignore PATH and/or --prefix option.

A simple grep shows that several plugins are using this macro.

gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,,
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(BZ2, bz2, BZ2_bzCompress,
,bzlib.h, BZ2_LIBS="-lbz2")
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(DTS, dts_pic, dts_init, -lm,
dts.h,
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(FAAC, faac, faacEncOpen,
-lm, faac.h,
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(FAAD, faad, faacDecOpen,
-lm, faad.h,
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, ,
gsm.h, GSM_LIBS="-lgsm")
gst-plugins-bad/configure.ac:    GST_CHECK_LIBHEADER(GSM, gsm, gsm_create, ,
gsm/gsm.h, GSM_LIBS="-lgsm")
gst-plugins-bad/configure.ac:  GST_CHECK_LIBHEADER(ZLIB,
gst-plugins-base/configure.ac:  GST_CHECK_LIBHEADER(CDPARANOIA, cdda_interface, 
gst-plugins-base/configure.ac:    GST_CHECK_LIBHEADER(CDPARANOIA,
cdda_interface, 
gst-plugins-base/configure.ac:    GST_CHECK_LIBHEADER(THEORA, theora,
theora_version_string, "-logg", theora/theora.h, THEORA_LIBS="-ltheora -logg")
gst-plugins-good/configure.ac:  GST_CHECK_LIBHEADER(FLAC, FLAC,
FLAC__seekable_stream_encoder_new, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC -lm")
gst-plugins-good/configure.ac:       GST_CHECK_LIBHEADER(AVC1394,
gst-plugins-good/configure.ac:       GST_CHECK_LIBHEADER(ROM1394,
gst-plugins-good/configure.ac:    GST_CHECK_LIBHEADER(AVC1394,
gst-plugins-good/configure.ac:    GST_CHECK_LIBHEADER(ROM1394,
gst-plugins-good/configure.ac:    GST_CHECK_LIBHEADER(SPEEX, speex,
speex_bits_init, , speex/speex.h, [
gst-plugins-good/configure.ac:        GST_CHECK_LIBHEADER(SPEEX, speex,
speex_encode_int, , speex/speex.h, [
gst-plugins-good/configure.ac:  GST_CHECK_LIBHEADER(ZLIB,
gst-plugins-ugly/configure.ac:  GST_CHECK_LIBHEADER(AMRNB, amrnb,
gst-plugins-ugly/configure.ac:  GST_CHECK_LIBHEADER(DVDREAD, dvdread, DVDOpen,
, dvdread/dvd_reader.h, DVDREAD_LIBS="-ldvdread")
gst-plugins-ugly/configure.ac:  GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init,
-lm, lame/lame.h,

Note: speex plugin checks for .pc first

PS ok to rename this bug and makr 396148 as duplicate?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list