Thursday, 20 August 2009

Installing and Running Pidgin 2.6.1 in Ubuntu

This is a brief tutorial on how to install Pidgin 2.6.1 with voice and video support for XMPP/Gtalk in Ubuntu Jaunty. GTalk is supported by XMPP hence you can have voice and video chat using your gtalk id in pidgin.
Since Ubuntu does not update Pidgin, the pidgin website has issued a PPA. But I could not update it even by that. So I tried to compile from source.
Firstly you have to download the source from pidgin website from here.
Or get it as user from your terminal in this way:

wget http://sourceforge.net/projects/pidgin/files/Pidgin/pidgin-2.6.1.tar.bz2
tar -xvjf pidgin-2.6.1.tar.bz2
cd pidgin-2.6.1

Save the downloaded file to your home directory. Then follow these instruction in Install from Tarball
After the Second step (i.e ./configure) you have to get this line
Build with voice and video.... : yes
If you don't get this line then you wont be able to voice chat. It means you are missing some plugins of Gstreamer or you have not installed some required dependencies which are optional for pidgin installation.

The required packages for your pidgin to support voice and video are:

in addition to the extra compiling requirements of:

To get all these packages you only have to do the following
sudo apt-get install gstreamer0.10-plugins-good gstreamer0.10-plugins-bad libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-farsight libgstfarsight0.10-0 libgstfarsight0.10-dev
Copy and Paste the above line of code into your terminal and press enter. The apt-get package manager will install these packages.

After complete installation, run the ./configure again. You should now get the required output. If you stuck up somewhere in the middle then you probably have to install few more dependency packages. For the required dependency packages to install pidgin check this link here. You can also run this command if nothing goes well.

sudo apt-get build-dep pidgin

If still you dont get the required output then it means that Ubuntu is not fetching the latest releases of the Gstreamer. Which happened with me. So I downloaded all the source files and compiled them and then installed them. At last when I did ./configure I got the required output. Then I went on to compile and install pidgin from source with the latest releases.
They are:

libnice-0.0.9
farsight2-0.0.14
gst-plugins-base-0.10.24
gstreamer-0.10.24

Compile and install the above packages in the same order and then run the ./configure of pidgin-2.6.1 again and check the output. To know how to compile and install click here. Before running "make install" remove the pidgin from your system.
sudo apt-get purge pidgin pidgin-data libpurple0 libpurple-bin
If you still need any help then please use the comment link below to ask you queries. I will try my best to help you out.

Running voice and video chat:

Currently there is no way to configure your microphone or webcam in this release. You can do so by running this command from the terminal.

gstreamer-properties

This should work out.

To start Voice and Video you have to open the conversation window > Conversation > Media

Currently I have problems running voice and video chat. Working out to get it done. Watch this page for updates.

Update:

Chech this thread if you have problems installing Pidgin
http://ubuntuforums.org/showthread.php?t=1244589

Update 2:

Now you don't have to do anything. Just update your pidgin from your repository with the help of your package manager. Ubuntu has updated it for you. Thanks for Ubuntu guys.
Just do this:
sudo apt-get install pidgin
You are done.

Reblog this post [with Zemanta]

Wednesday, 19 August 2009

Installing Pidgin 2.6.1 in Fedora 11

This is a brief tutorial on how to install Pidgin 2.6.1 with voice and video support for XMPP/Gtalk in Fedora 11. GTalk is supported by XMPP hence you can have voice and video chat using your gtalk id in pidgin.
Firstly you have to download the source from pidgin website from here.
Save it in your home directory. Then follow these instruction in Install from Tarball
Instead of doing ./configure in the second step you have to issue this command

PKG_CONFIG_PATH=/usr/lib:/usr/local/lib/pkgconfig/ ./configure --enable-gnutls=no

After the Second step (i.e ./configure as above) you have to get this line

Build with voice and video.... : yes
If you don't get this line then you wont be able to voice chat. It means you are missing some plugins of Gstreamer or you have not installed some required dependencies which are optional for pidgin installation.

The required packages for your pidgin to support voice and video are:

  • gstreamer-plugins-good
  • gstreamer-plugins-bad
  • gstreamer-plugins-base-devel
And
  • farsight2
  • farsight2-devel
To get all these packages you only have to do the following

sudo yum install libidn-devel gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-base-devel farsight2-devel
Copy and Paste the above line of code into your terminal and press enter. The yum package manager will install these packages.

After complete installation, run the ./configure again. You should now get the required output. If you stuck up somewhere in the middle then you probably have to install few more dependency packages. For the required dependency packages to install pidgin check this link here. If you still need any help then please use the comment link below to ask you queries. I will try my best to help you out.

Running voice and video chat:

Currently there is no way to configure your microphone or webcam in this release. You can do so by running this command from the terminal.

gstreamer-properties

This should work out. Currently it is working fine for me. I can do both voice and video chat.

To start Voice and Video you have to open the conversation window > Conversation > Media

Update:

Fedora developers has released the updated package for pidgin. Now you can install it with the YUM package manager.
Just do this from terminal as root:
yum install pidgin


Reblog this post [with Zemanta]

Monday, 10 August 2009

Installing J2EE in Ubuntu Linux with libstdc++-libc6.2-2.so.3 error

Recently I downloadd J2EE from sun.com and tried to install. I got the
following error:

error while loading shared libraries: libstdc++-libc6.2-2.so.3:
cannot open shared object file: No such file or directory

I tried to search the internet for this error. But I could not find
any solution easily. I tried hard and found a link and worked around
it to solved my problem.

As the above error suggests that libstdc++-libc6.2-2.so.3 is not found
and it has to be installed. I triend issuing the following command
which did not work.

sudo apt-get install libstdc++-libc6.2-2.so.3

I also tried to search it via aptitude, but could not find any alternatives.

Although the Ubuntu package which contains this library has not got
the same name. You can install it via the following command:

sudo apt-get install libstdc++2.10-glibc2.2

If the package manager still says such a package isn't found, it means
you have to update you "sources.list" file. But this option is
available for Debian OS. As Ubuntu is also a debian based OS you can
always use the same format into your /etc/apt/source.list file.

Open up a terminal and issue this command

gksu gedit /etc/apt/sources.list

Then add this line to the end of the sources.list file, which will fetch the deb file.
like this:

deb http://ftp.de.debian.org/debian etch main

Or else if you do not like to use package manager then just go to this
following link and download the required file and install it to your
system.

http://packages.debian.org/etch/i386/libstdc++2.10-glibc2.2/download

Hope your problem get solved. Dont forget to put a comment. Please let
me know if you have used the package manager or direct download.


Reblog this post [with Zemanta]