Mittwoch, 10. August 2011

How to build my modified gammu version from git on ubuntu

First of all you the git package have to be installed on your box:
sudo apt-get install git
Next step is to install all the required source and development packages.
sudo apt-get build-dep gammu
Now you have to get the gammu sources from my github repository
git clone https://github.com/ka23/gammu.git
Change the directory to the newly created gammu folder and create a new build folder and change to it
cd gammu/
mkdir build
cd build
Now cmake have to be executed
cmake ..
This will take some time ... after everything have been created, you have to call make
make
Now You have to wait even longer... But after a successful compiler run gammu is available in the gammu folder
gammu/gammu
To test your freshly compiled gammu you have to provide a gammurc file "~/.gammurc" which looks like this in my case:
[gammu]
device = /dev/ttyUSB0
connection = fbus

After this you can call
gammu/gammu --identify







Keine Kommentare:

Kommentar veröffentlichen