atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
687 stars 200 forks source link

Package requirements (glib-2.0 >= 2.48 gio-2.0 >= 2.48 gobject-2.0 >= 2.48 gthread-2.0) were not met configure error #28

Closed bookmebus closed 1 year ago

bookmebus commented 5 years ago

I am running on Macosx Mojave with Docker.app 2.0.0.3 ( engine 18.09.2 ) I've got the following dependencies mismatch errors:

configure: error: Package requirements (glib-2.0 >= 2.48 gio-2.0 >= 2.48 gobject-2.0 >= 2.48 gthread-2.0) were not met:

Requested 'glib-2.0 >= 2.48' but version of GLib is 2.42.1
Requested 'gio-2.0 >= 2.48' but version of GIO is 2.42.1
Requested 'gobject-2.0 >= 2.48' but version of GObject is 2.42.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The command '/bin/sh -c apt-get remove -y libnice-dev libnice10 &&     echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list &&     apt-get update &&     apt-get install -y gtk-doc-tools libgnutls28-dev -t jessie-backports  &&     apt-get install -y libglib2.0-0 -t jessie-backports &&     git clone https://gitlab.freedesktop.org/libnice/libnice.git &&     cd libnice &&     git checkout 67807a17ce983a860804d7732aaf7d2fb56150ba &&     bash autogen.sh &&     ./configure --prefix=/usr &&     make &&     make install' returned a non-zero code: 1
make: *** [build] Error 1

Any ideas?

bookmebus commented 5 years ago

I saw from this https://pkgs.org/download/libglib2.0-0 that Debian jessie only support glib 2.42.1 but Ubuntu xenial support 2.48.0. Any one having this problem please?