Building Google's Libjingle in ubuntu linux 5.10

Update (Jan 4 2009): this post is outdated in 2 ways… the latest version of ubuntu is 8.10 and the latest version of libjingle is 0.40 . I am no longer using libjingle as well ;-)

Here is my experience building libjingle** in my Ubuntu Linux 5.10. I spent nearly a day building it (including many u-turns). I am writing this how-to in the hope you will spend much less time. YMMV.

Contents:

  1. Hardware tried on
  2. Installation
    1. Download
    2. Installing dependencies using
      1. Synaptic package manager
      2. Direct compilation
  3. Installing lilbjingle
  4. Future Goodies

I am using Ubuntu 5.10 with all updates as of this day of posting. I have installed libjingle in the following hardware.
* Fujitsu lifebook S7021
* DELL Precision 670
* Assembled PIV system

First, Install the following packages using Synaptic Package Manager.
* libexpat1-dev
* libglib2.0-dev
* libogg-dev
* libssl-dev
* libasound2-dev

If some configure script later-on is unhappy with the env, installing the following may help. These are few of the u-turns I experimented with. These are not required per se.
* libspeex-dev
* openssl

Dowload the following external packages:
* ortp, speex, iLBC, libjingle

I have created a parent folder “libjingle” and downloaded the packges there.
Now CD to that folder and do the following instructions:

tar zxvf ortp-0.7.1.tar.gz
tar zxvf speex-1.0.5.tar.gz
tar zxvf ilbc-rfc3951.tar.gz
tar zxvf libjingle-0.2.1.tar.gz

cd ortp-0.7.1
./configure
make
sudo make install
cd ..

cd speex-1.0.5
./configure
make
sudo make install
cd ..

cd ilbc-rfc3951
./configure
make
sudo make install
cd ..

cd libjingle-0.2.1
./configure –with-ilbc=/usr/local
make
sudo make install

That’s it, your libjingle library is now inside the talk folder. Enjoy.
There are 3 examples included in the package. I am yet to try out.

Future Goodies:

I have proposed using libjingle for my Real-Time Systems course module project in NUS, Singapore where I am doing my part-time PhD in Computer Science. The Professor instantly accepted it with an additional “Wow” factor.

We believe we have come-up with an innovate RTS application using Google’s Talk infrastructure. Once we bring it to realiy, which is scheduled for completion by end March 2006, we will release it the community including code. My motto: take from community; give back to community.

** libjingle is an implementation of proposed jingle and jingle-audio extensions to XMPP (an IM) protocol.

Category: Computer Science, How-To 8 comments »

8 Responses to “Building Google's Libjingle in ubuntu linux 5.10”

  1. jayachandranm

    The breezy packages are available from http://issaris.be/breezy/

    Jaya

  2. jayachandranm

    Getting PSI client to work with Google Talk in Linux

    http://mylinuxsaga.blogspot.com/2006/02/getting-gtalk-working-on-linux.html

    Jaya

  3. kbganesh

    Cool!! someone found my post useful other than myself and my faithful friend :) Keep posting…your blog looks very promising!!

  4. swapnil

    I really like your spirit of taking from community and giving back to community …
    Can send me your RTS application Project in NUS.
    That will be helpful for me .

    Thanks in advance..
    swap.kamble@gmail.com

  5. kittu

    Sure! give me few days, need to search for it ;) I will post here for the benefit of everyone :)

  6. swapnil

    Hi,
    I want to create a text chat application by libjingle. But I am not getting the which classes do I need ? Can you please help me in that ?
    Thanks in advance

  7. AppleGrew

    man u made my day. :D I was tired of searching for ilbc sourcecode. From where did u find the source code?

  8. swapnil

    Hi,
    When will be posting RTS application Project in NUS.
    That will be helpful for us . We all are waiting for that !!!!!!!!!!!

    Thanks in advance..


Leave a Reply



Back to top