Compiling aMSN

Jump to: navigation, search

This page is also avaible in French, Italian and Spanish.

This page will help you compile aMSN and get it to work on your system.

Please note that Windows and Mac OS X users do not need to compile aMSN, the 'source' packages (as well as the SVN repositories) already contain binaries for aMSN for both Windows and Mac OS X.

These instructions are specific to linux users.


Getting aMSN source code

You can download aMSN's source code with different methods.

If you want to download the latest stable release's source code, you will find it at then choosing "Tarball Source".

If you want to download the latest development version, you can download it by using multiple different methods. A nice guide has been set up in the Installing SVN page.

Extracting the source code

Once you downloaded the source, you must extract the tarball archive. To do so, either use a graphical file extractor, or using a terminal, go to the directory where aMSN was downloaded and type the following:

tar -xzvf amsn-0.xx.tar.gz

Where 0.xx is the version you downloaded (amsn-0.97.tar.gz for the 0.97 version for example).

This step might be different or might be skipped if you are downloading the SVN version. Please follow the instructions on the Installing SVN page for more information.

Installing From Source

These instructions are for a distribution independent source installation.

In order to correctly compile aMSN, you will need to have installed some required packages. You will find more information about those in the Dev Packages page.

You will need the following packages to be able to compile aMSN:

1 - tcl8.5-dev

2 - tk8.5-dev

3 - libx11-dev

4 - libpng12-dev

5 - libjpeg62-dev

6 - gcc

7 - g++

8 - make

Once you are ready, You just need to type the following commands in the terminal window:

cd amsn-0.xx
./configure && make

Wait for the compilation to finish and once you get back to the prompt you should be done.

aMsn has now been compiled.

Note that if you downloaded the SVN version, you might need to do cd amsn or cd msn depending on the method you used to download the source code.

Next, as root (or sudo) type:

make install

Once it finishes, aMSN should now be installed on your system.

Alternatively, you can keep aMSN in your home directory and run it directly from there (aMSN doesn't require an installation to run).

You can create a symbolic link in order to launch aMSN simply by typing amsn from the terminal prompt, by doing the following as root (or sudo):

ln -s /path/to/source/folder/amsn-0.xx/amsn /usr/bin/amsn

Debian Based

This is a command line based installation method. This is only for the latest release version of aMSN. If you are not comfortable with the command line, you may also use synaptic or whatever package manager you want and install it the usual way.

That said, let's open a command prompt, and get these packages (you will need to be root, or use sudo):

apt-get build-dep amsn
apt-get install fakeroot

Then configure and compile the Debian package:

make deb

Install the Debian package:

mv  distrib/DEB/amsn* ~/Desktop
cd ~/Desktop
dpkg --install amsn*.deb

There you go, you now have the latest version of aMSN on your Debian based OS. The .deb package is now on your desktop, so if you want to save it for later, you can. This will also tie into your synaptic/aptitude, so uninstalling and upgrading will be handled through your current package management system.

Fedora Based

To make your very own .rpm file from source, follow these steps in Fedora (from a terminal prompt). If you just want to install aMSN, maybe try InstallOnFedora.

First settle your dependencies:

yum install yum-utils rpmbuild
yum-builddep amsn

then go into your amsn source directory (after untarring):

make rpm

move your rpm somewhere handy...

mv distrib/RPM/amsn*.rpm ~/Desktop
cd ~/Desktop

and install it!

rpm -hiv amsn*.rpm

Gentoo Based

aMSN can be found in Portage. In order to install it (that example is for amsn-0.97), just do as root, after updating your portage tree:

echo "net-im/amsn-0.97 ~x86" >> /etc/portage/package.keywords
emerge amsn -av
Personal tools