cannot find glib-2.0 when building in openwrt
Belisko Marek
marek.belisko at gmail.com
Tue Jun 11 06:36:49 UTC 2019
Hi,
I'm following this README :
https://gitlab.freedesktop.org/mobile-broadband/mobile-broadband-openwrt
to have modemmanager to be build in openwrt. But while using this
step:
./scripts/feeds install -p mobile_broadband -a
I get:
./scripts/feeds install -p mobile_broadband -a
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on
'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build
dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libidn2', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency
on 'liblzma', which does not exist
WARNING: Makefile 'package/feeds/mobile_broadband/libmbim/Makefile'
has a dependency on 'glib2', which does not exist
WARNING: Makefile 'package/feeds/mobile_broadband/libqmi/Makefile' has
a dependency on 'glib2', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a
dependency on 'libnetsnmp', which does not exist
WARNING: Makefile
'package/feeds/mobile_broadband/modemmanager/Makefile' has a
dependency on 'glib2', which does not exist
WARNING: Makefile
'package/feeds/mobile_broadband/modemmanager/Makefile' has a
dependency on 'dbus', which does not exist
Installing all packages from feed mobile_broadband.
and despite of that if I run build then libmbim fails with:
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.36... no
configure: error: Package requirements (glib-2.0 >= 2.36) were not met:
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MBIM_COMMON_CFLAGS
and MBIM_COMMON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Makefile:69: recipe for target
'/home/marek/projects/cmoss_resin/compex-openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/libmbim-1.18.2/.configured_a17fb5ef857664f03cd0ce37cc5ea591'
failed
make[3]: *** [/home/marek/projects/cmoss_resin/compex-openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/libmbim-1.18.2/.configured_a17fb5ef857664f03cd0ce37cc5ea591]
Error 1
make[3]: Leaving directory
'/home/marek/projects/cmoss_resin/compex-openwrt/feeds/mobile_broadband/libmbim'
Command exited with non-zero status 2
time: package/feeds/mobile_broadband/libmbim/compile#7.20#1.00#8.80
package/Makefile:107: recipe for target
'package/feeds/mobile_broadband/libmbim/compile' failed
Ideas? I'm on actual 18.06 branch. Thanks.
BR,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
More information about the ModemManager-devel
mailing list