README.centos 846 Bytes
Newer Older
jehan's avatar
jehan committed
1 2 3 4 5 6 7 8
Belle-sip rpm can be built applying the following procedure:

centos6.4
***********

*antlr.jar*
Belle sip needs antlr.jar to generate parser code. A prebuilt jar is available from the antlr git and should be manually install using the following command:

jehan's avatar
jehan committed
9
        git clone -b linphone  git://git.linphone.org/antlr3
jehan's avatar
jehan committed
10 11 12 13 14 15 16 17 18
        sudo mkdir /usr/local/share/java
        sudo cp  antlr3/antlr-3.4-complete.jar  /usr/local/share/java/antlr.jar


*libantlr3c*
Belle sip uses libantlr3c version 3.2 or above. This dependency cannot be easely met on centos 6.4.
To manually build libantlr3c on a 64 bits system, checkout source code using:

        cd antlr3/runtime/C
jehan's avatar
jehan committed
19 20
        ./autogen.sh 
	./configure --disable-shared --enable-64bit --with-pic
jehan's avatar
jehan committed
21
        make
jehan's avatar
jehan committed
22
        sudo make install
jehan's avatar
jehan committed
23 24

Now, back to belle-sip
jehan's avatar
jehan committed
25 26
	./autogen.sh 
	./configure
jehan's avatar
jehan committed
27
        make rpm