Gammu Compile for Omega 2
-
Hi everyone,
I would really like to be able to install the gammu ( https://wammu.eu/gammu/) package via the package manager. Would anyone be able to assist in getting this package in the repo ? Thank you in advance.
-
@nix666 the package is already available on the Omega. Edit your /etc/opkg/distfeeds.conf, uncomment lines 2, 5 and 7.
opkg update
opkg install gammu
-
@crispyoz said in Gammu Compile for Omega 2:
opkg install gammu
Hi crispyoz. Thank you very much. Found it.
-
Hi Again, tried to install this package but the Omega 2 doesn't have enough space. Any pointers on how to compile gammu without all the optional dependencies ? I'm new to cross-compiling for the Omega , not sure where to start. Any help
would be most welcome.
Thank you in advance !
-
@nix666 you may need to add an sdcard to expand your available capacity, or even a USB drive. The doc explains how you can do this.
-
@crispyoz Thank you. I only have the Omega 2 (not the plus ) without the dock/sd card slot and was hoping to find a way to free up enough space without using external storage. When installing gammu, I ended up with about 90KB of space short at the end of the install. Maybe I can remove some packages to free up space ? Do you think there is a way ?
-
@nix666 you can use opkg list-installed to see what is curently installed. If you see a package you don't need you can use opkg info <package name> which will show you all the info about the package including its size. Dependencies are the big killer with gammu, it installs everything including the kitchen sink!
-
@crispyoz Thank you for the suggestion, going to try and do that and post back here.
-
No luck, no matter what I remove, still not enough space. Thanks for the input anyway.
-
@nix666 it uses mariadb and odbc, I don't consider those to be particulalrly SoC friendly. About half of the space used is dedicated to this two components.
If you really need gammu you can install the firmware build system and look at the gammu code to see if you can slim it down. An easier option might be to upgrade to a 2+, Pro or a Dock with a USB key.
Sorry I cannot be of more help.