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.
Ubuntu (11.10 32-bit)
$ 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
Download PJSIP (e.g. pjproject-1.12.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
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.