ModemManager-1.4.12: Cannot compile ModemManager with libmbim-glib on ubuntu 16.04.2 LTS X86_64 env

Aleksander Morgado aleksander at aleksander.es
Wed Apr 26 10:18:49 UTC 2017


Hey,

See replies inline below.

> It's the ubuntu 16.04.2 x86_64 pc:
> ght at ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$ cat /etc/issue
> Ubuntu 16.04.2 LTS \n \l
> ght at ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$ uname -a
> Linux ght-ThinkPad-X270 4.8.0-49-generic #52~16.04.1-Ubuntu SMP Thu Apr 20
> 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


For Ubuntu 16.04, you may want to use this PPA with newer
libqmi/libmbim/ModemManager versions:
https://launchpad.net/~aleksander-m/+archive/ubuntu/modemmanager-xenial

> ght at ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$
>
> my configure value : ./configure
> --prefix=/home/ght/Downloads/ModemManager-1.4.12/LIU --without-qmi
> and the configure result show in attached file, it shows 'configure: error:
> Couldn't find libmbim-glib. Install it, or otherwise configure using
> --without-mbim to disable MBIM support.'。
>
> I had check the libmbim-glib library in ubuntu system,it's in the system.
> ght at ght-ThinkPad-X270:/usr/lib/x86_64-linux-gnu$ ls libmbim*
> libmbim-glib.a  libmbim-glib.so  libmbim-glib.so.4  libmbim-glib.so.4.1.0
> ght at ght-ThinkPad-X270:/usr/lib/x86_64-linux-gnu$
>
> I had install libmbim-glib-dev as your suggestion.
> ght at ght-ThinkPad-X270:/lib/x86_64-linux-gnu$ sudo apt-get install
> libmbim-glib-dev
> [sudo] password for ght:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libmbim-glib-dev is already the newest version (1.12.2-2ubuntu1).
> 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
>

What is the configure output you get after installing libmbim-glib-dev
and re-running configure?

> But it's faile to install libmbim-glib-devel.
> ght at ght-ThinkPad-X270:/lib/x86_64-linux-gnu$ sudo apt-get install
> libmbim-glib-devel
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package libmbim-glib-devel
>
> It's still faile to configure after install libmbim-glib-dev.
>

There is no -devel package in Ubuntu, the -dev one should be enough.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list