>> configure:21073: checking MOZ_ALSA_LIBS
>> configure:21319: checking for gstreamer-0.10 >= 0.10.25
>>                        gstreamer-app-0.10
>>                        gstreamer-plugins-base-0.10
>> configure: error: gstreamer and gstreamer-plugins-base development
>> packages are needed to build gstreamer backend. Install them or
>> disable gstreamer support with --disable-gstreamer
>
> Look at configure.  You should see something like:

See below.
$GST_API_VERSION=0.10
$GST_VERSION=0.10.25

> pkg-config --print-errors --exists "gstreamer-0.10 >= 0.10.99"
> Requested 'gstreamer-0.10 >= 0.10.99' but version of GStreamer is
> 0.10.36

But it says I only need 0.10.25!  I've got 36 for both app & plugins.
Apologies if I'm being dense, I don't know exactly how "pkg-config
--exists" works.  (Never have had to--it worked.)  

It seems like there's an implicit "and", and there is no
"gstreamer-0.10.pc" file, just gstreamer-SOMEFUNCTION-0.10.pc.

>
> or
>
> pkg-config --print-errors --libs "gstreamer-0.10 >= 0.10.25"
> -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0
> -pthread -lglib-2.0 -lxml2
>
> Clearly the first one failed and the second one did not.

No, not clear to me!

FWIW, this is the gstreamer bit of configure.
===================================================
case "$OS_TARGET" in
WINNT|Darwin|Android)
    ;;
*)
    MOZ_GSTREAMER=1
    GST_API_VERSION=0.10
    ;;
esac

# Check whether --enable-gstreamer or --disable-gstreamer was given.
===================================================
It was.  I tried both "--enable-gstreamer" and "--enable-gstreamer=0.10"
but failed both ways
===================================================
if test "${enable_gstreamer+set}" = set; then
  enableval="$enable_gstreamer"
   MOZ_GSTREAMER=1
  # API version, eg 0.10, 1.0 etc
  if test -z "$enableval" -o "$enableval" = "yes"; then
    GST_API_VERSION=0.10
  elif test "$enableval" = "no"; then
    MOZ_GSTREAMER=
  else
    GST_API_VERSION=$enableval
  fi
fi

if test -n "$MOZ_GSTREAMER"; then
    # core/base release number
    if test "$GST_API_VERSION" = "1.0"; then
      GST_VERSION=1.0
    else
      GST_VERSION=0.10.25
    fi

    succeeded=no
===================================================
Here we get into a bunch of (deleted) code to verify we've got
 pkgconfig>0.9.0
===================================================
  if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION;
  then
  echo $ac_n "checking for gstreamer-$GST_API_VERSION >= $GST_VERSION
    gstreamer-app-$GST_API_VERSION
    gstreamer-plugins-base-$GST_API_VERSION""... $ac_c" 1>&6
echo "configure:21319: checking for gstreamer-$GST_API_VERSION >=
$GST_VERSION
    gstreamer-app-$GST_API_VERSION
    gstreamer-plugins-base-$GST_API_VERSION" >&5
===================================================
This seems like the operational (failing) bit of code
===================================================
  if $PKG_CONFIG --exists "gstreamer-$GST_API_VERSION >= $GST_VERSION
    gstreamer-app-$GST_API_VERSION
    gstreamer-plugins-base-$GST_API_VERSION" ; then
    echo "$ac_t""yes" 1>&6
    succeeded=yes
===================================================
And now we're on to the next check
===================================================
    echo $ac_n "checking GSTREAMER_CFLAGS""... $ac_c" 1>&6
echo "configure:21330: checking GSTREAMER_CFLAGS" >&5
    GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_API_VERSION
    >= $GST_$
      gstreamer-app-$GST_API_VERSION
      gstreamer-plugins-base-$GST_API_VERSION"`
    echo "$ac_t""$GSTREAMER_CFLAGS" 1>&6
-- 
Paul Rogers
[email protected]
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)

        

-- 
http://www.fastmail.com - Access all of your messages and folders
                          wherever you are

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to