How to compile luci-proto-modemmanager on OpenWrt v19?

I want to install luci-proto-modemmanager on OpenWrt v19. Please Help
Thanks!!

I am getting the below error.

Configuring ppp-mod-pppoe.
Configuring luci-app-openvpn.
Configuring kmod-ledtrig-netdev.
Configuring luci-proto-ncm.
Collected errors:
 * check_data_file_clashes: Package luci-proto-modemmanager wants to install file /home/ubuntu/sagar/zbt/pi25-pro-testing/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/lua/luci/model/network/proto_modemmanager.lua
        But that file is already provided by package  * luci-compat
 * opkg_install_cmd: Cannot install package luci-proto-modemmanager.
make[2]: *** [package/Makefile:68: package/install] Error 255
make[2]: Leaving directory '/home/ubuntu/sagar/zbt/pi25-pro-testing'
make[1]: *** [package/Makefile:108: /home/ubuntu/sagar/zbt/pi25-pro-testing/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/ubuntu/sagar/zbt/pi25-pro-testing'
make: *** [/home/ubuntu/sagar/zbt/pi25-pro-testing/include/toplevel.mk:227: world] Error 2

Please help @frollic

deselect luci-compat ?

I am unable to deselect.

it's probably mandatory, for luci.

tried to build the luci-proto-modemmanager as a package, instead of including it ?

how to do it?

i think you change * to M, but I'm not sure, it's been a while :frowning:

now getting the below error.

root@PI-25_Pro:~# cd ..
root@PI-25_Pro:/#    opkg install luci-proto-modemmanager_1_mipsel_24kc.ipk
Installing luci-proto-modemmanager (1) to root...
Collected errors:
 * check_data_file_clashes: Package luci-proto-modemmanager wants to install file /usr/lib/lua/luci/model/network/proto_modemmanager.lua
        But that file is already provided by package  * luci-compat
 * opkg_install_cmd: Cannot install package luci-proto-modemmanager.
root@PI-25_Pro:/#

yeah, no real surprise.

you can either force the install, or force the uninstall of luci-compat.

same issue in force install.

did you uninstall the other module 1st ?

I am unable to uninstall it.

yeah, it's probably because it's * and not M :slight_smile:
and since it's required, I'm not sure if you can change it, unless you make the whole luci tree M.

There's a reason why the luci-proto-modemmanager was removed :slight_smile: