Hi, Aleksander. 
  Thanks for replying. Thanks very much.
  I will correct the  issue description.
  Let me introduce myself, I'm a 4G module manufacturer' software eng, I need 
to develop a mbim function on ubuntu 16.04 system. 

It's the ubuntu 16.04.2 x86_64 pc:
ght@ght-ThinkPad-X270:~/Downloads/ModemManager-1.4.12$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l
ght@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
ght@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@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@ght-ThinkPad-X270:/usr/lib/x86_64-linux-gnu$

I had install libmbim-glib-dev as your suggestion.
ght@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.

But it's faile to install libmbim-glib-devel.
ght@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.






 Best Regards,

 Liu
LiuQiFeng  SW Engineer   |   Perfect Wireless Experience
  
  
Fibocom wireless Inc
 
5F,Tower A, Technology Building Ⅱ, 1057#Nanhai Avenue,Nanshan District, 
Shenzhen, China
 
+86 137 6052 7596 | [email protected] 

www.fibocom.com

 
 
发件人: Aleksander Morgado
发送时间: 2017-04-25 15:59
收件人: fibocom (liuqf); modemmanager-devel
主题: Re: Hi, I'm a software eg from china, I have some issue when i compile 
modem manager. Can you tell me how to fix this issue.
Hey,
 
On 25/04/17 08:30, fibocom (liuqf) wrote:
> When i excute " ./configure 
> --prefix=/home/ght/Downloads/ModemManager-1.4.12/LIU --without-qmi" command, 
> if will report below error:
> 
> But I had install libmbim-glib in the desktop. i seems that i can not find 
> that. 
> 
> 
 
A more descriptive email subject would have helped, something like
"cannot compile ModemManager with libmbim-glib".
 
Also, please, please, don't include the actual error message you're
getting in an attached image (!!), it doesn't make any sense, and it
won't help people in the future if they're googling for the same issue
you're having, as they won't find the solution in this email. For
reference, this is the message that is being generated during configure:
 
"configure: error: Couldn't find libmbim-glib. Install it, or otherwise
configure using --without-mbim to disable MBIM support."
 
 
Your issue is that you have installed libmbim-glib (the package with the
library) but you don't have installed the "devel" libmbim-package (the
package with the headers and the pkg-config files). The name of the
"devel" package depends on your distribution, but it may be something
like libmbim-glib-dev or libmbim-glib-devel. You'll have to look for the
correct package name yourself in your distribution and install it.
 
Cheers!
 
-- 
Aleksander
https://aleksander.es
 

Attachment: configure_result.txt
Description: Binary data

_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to