Linux also makes MSN smooth.

Source: Internet
Author: User
Tags gnupg

In Linux, MSN is usually used through Gaim, which is an instant chat tool that supports multiple protocols at the same time. However, users often encounter problems such as failure to use MSN due to the lack of SSL protocol support library for Gaim, and failure to send a prompt message for MSN. When I upgraded my system to Fedora Core 2.0, I tried to compile Gaim 0.80 and successfully solved these two problems. I will share my experience below.

Add SSL support library

If you use RPM to install Gaim, the SSL support library is generally not missing. However, if you prefer to compile and install Gaim on your own, you need to enable it to obtain SSL support during compilation; otherwise, you will not be able to use MSN.

According to the Gaim official website, there are two methods to obtain the SSL support library: Install Mozilla NSS and NSPR, or install GnuTLS. At the same time, the website also indicated that OpenSSL cannot be used as the SSL support library for Gaim, because the copyright it uses is not compatible with the copyright it uses.

The following describes how to obtain the SSL support library for Gaim by installing GnuTLS.

Correctly install GnuTLS and install all its dependent software. The required software can be downloaded at the following link:

The libgpg-error (libgcrypt dependency software) URL is ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.7.tar.gz.

The libgcrypt (GnuTLS dependency software) website is ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.94.tar.gz.

Libtasn1 (GnuTLS dependency software) URL is.

The GnuTLS website is ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/gnutls-1.0.16.tar.bz2.

The compilation and installation processes of the above software are to uncompress the package first, and then execute the following command:


#./Configure & make
# Make install
 

 

Note: Do not change the default installation directory when compiling or installing the above four software. Otherwise, you must use the "-- with" parameter to specify the directory of the desired file when compiling Gaim, which is very troublesome.

After GnuTLS is installed, run the following command in the Gaim 0.80 directory:


#./Configure
 

 

After the configure command is executed, the following content is output, indicating that Gaim has successfully obtained the SSL support Library:


SSL Library/Libraries ......: GNUTLS
 

 

Then you can install Gaim:


# Make
# Make install
 

Add sound support

When chatting with MSN, many messages will be missed if there is no prompt. There are two ways to solve this problem.

1. Install libao

Libao is a cross-platform audio library that can be used by applications to play back audio. Install libao before Gaim compilation and installation, so that the Gaim compilation will be supported by libao, so that the correct voice can be heard.

To install libao, you must also install libao-devel, audiofile, and audiofile-devel. These four packages can be found on the installation disc or searched on the http://www.rpmfind.net.

On Fedora Core 2.0, you have installed the libao-devel, audiofile, and audiofile-devel RPM packages. Therefore, you only need to install libao.

 

# Tar-zxf libao-0.85.tar.gz
# Cd libao-0.85
#./Configure & make
# Make install
 

 

After installing libao, copy the following files to the corresponding directory:

 

# Cp-r libao-0.8.5/include/ao/usr/include/
# Cp libao-0.8.5/ao. pc/usr/lib/pkgconfig/
# Cp-r libao-0.8.5/src/. libs/usr/lib/
 

 

Next, run "./configure" in the Gaim 0.80 directory to compile. After compilation, the following content is output, indicating that Gaim libao support has been enabled:

 

Build with Audio support...: yes
 

 

Open the Gaim configuration page and choose "Preference> sound mode> mode (M) there are three more options: "automatic", "ESD", and "Arts" (see figure 1 ). Select "Auto" for testing. You should be able to hear the sound.

 


After Gaim is installed, log on to MSN. The "MSN needs SSL support" dialog box should no longer appear. If you have any questions, please refer to the Gaim official FAQ-SSL link ghost.

 

Figure 1 select sound mode


2. Use the command line method to play the sound

The preceding method is applicable to Gaim before compilation and installation. If Gaim has been compiled and installed, you can use the command line method to play the sound.

This method requires that the esound or arts software package is installed in the system, both software packages are installed on the CD, you can also find on the http://www.rpmfind.net, the installation method will not go into details.

After the installation is complete, run Gaim and select "Command" in "Preference> sound mode> mode (M ". Enter "esdplay % s" or "artsplay % s" in the "sound command (O)" according to the software package installed in the system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.