Cannot find glib packages

Jerome Marty jahrome11 at gmail.com
Sun Apr 17 10:21:02 PDT 2011


Hi !

The "make gstreamer-aggregate-configure" command fails when trying to
configure gstreamer with the following error :

checking for inet_aton... yes
checking for GLIB... no
configure: No package 'glib-2.0' found
No package 'gobject-2.0' found
No package 'gthread-2.0' found
No package 'gmodule-no-export-2.0' found
configure: error: This package requires GLib >= 2.22 to compile.
  configure failed

Looking at gst-configure-real command output shows PKG_CONFIG_LIBDIR
wrong looking paths:

  PKG_CONFIG_LIBDIR=./external/gstreamer_aggregate/glib:...

It appears that changing the name of CONFIGURE_PKG_CONFIG_LIBDIR to
_CONFIGURE_PKG_CONFIG_LIBDIR for example :

$ cd $ANDROID_SOURCE_DIR/external/gstreamer_aggregate/
$ find -name Android.mk -print -exec sed -i
's/CONFIGURE_PKG_CONFIG_LIBDIR/_CONFIGURE_PKG_CONFIG_LIBDIR/' {} \;
 
solves the issue with full paths in output :
 PKG_CONFIG_LIBDIR="/home/jer/cm7/external/gstreamer_aggregate/glib:...

My distro is Ubuntu Maverick (libtool version 2.2.6b-2ubuntu1).


Regards,

Jerome Marty



More information about the gstreamer-android mailing list