Current version: 1.1
Old versions: see branches
For a complete overview, see building GreenJ under Windows or Linux
In addition, I want to give a step by step guide on how GreenJ can be compiled under Ubuntu.
Note: Also tested under Ubuntu 11.10 32-bit Desktop with the exact same steps.
$ sudo apt-get update $ sudo apt-get install build-essential $ sudo apt-get install libqt4-dev $ sudo apt-get install libasound2-dev $ sudo apt-get install libphonon-dev
You may also need libssl-dev (or disable the dependency in greenj.pro, search for -lssl)
Download PJSIP (e.g. pjproject-1.16.tar.bz2) and extract it somewhere.
$ cd path/to/pjsip $ ./configure $ make dep & make
Now you can either install pjsip into your systemlibs or you have to set the path in the greenj project file later.
$ sudo make install
Clone this repository or download and extract GreenJ from greenj.org.
$ git clone git://github.com/danleeb/GreenJ.git path/to/greenj
Initialize and fetch all submodules (QtJson).
$ git submodule init $ git submodule update
Open greenj.pro with an editor
$ nano path/to/greenj/build/greenj.pro
and change the unix PJSIP_TARGET entry so it matches your system (e.g. i686-pc-linux-gnu). (You could use $ find path/to/pjsip -name '*.a').
If you haven't installed pjsip into your systemlibs (see above), you have to set PJSIP_DIR to path/to/pjsip.
$ cd path/to/greenj/build $ qmake $ make $ ../bin/linux/GreenJ
A file ~/.greenj/settings.conf has been created where you can change settings.