boomerplayer
(usa PCLinuxOS)
Enviado em 07/07/2012 - 22:10h
I managed to compile aMSN, launch it and log on. Chatting with my contacts worked without any problem. Of course, audio/video chats are not available since I didn't include farsight. Nonetheless aMSN is perfectly usable and stable. Here is what I did :
1) Install all the required libraries, tools, compilers :
Code:
sudo apt-get install build-essential libgupnp-igd-1.0-dev libv4l-dev tcl tcl8.5-dev tcl-tls tk tk8.5-dev libx11-dev libpng12-dev libjpeg62-dev libsnack2
Note : If Apt can't find "tcl" or "tk", just indicate "tcl8.5" and "tk8.5" instead.
2) Download the aMSN sources archive :
http://sourceforge.net/projects/amsn...ar.gz/download
3) Extract it :
Code:
tar -xvzf amsn-0.98.4-src.tar.gz
4) Edit file utils/linux/capture/capture.h (and not capture.c). Look for the following section :
Code:
#ifdef HAVSYS_VIDEODEV2_H
# include <sys/videodev2.h>
#else
# include <linux/videodev.h>
#endif
And replace (mandatory or it will fail to compile and install)
Code:
<linux/videodev.h>
by
Code:
<linux/videodev2.h>
then save the file and close the editor.
5) Go back to the sources base directory and enter :
Code:
./configure
Once this step will be completed, the following summary should appear :
Code:
compile time options summary
============================
X11 : yes
Tcl : 8.5
TK : 8.5
DEBUG : no
STATIC : no
FARSIGHT : no
LIBV4L : yes
GUPNP-IGD : yes
FARSIGHT is indicated a not included, which is normal in the present case. It won't bother you later on, but the only counterpart will be that voice/video chats won't be available.
6) Compile the whole :
Code:
make
Everything should go smoothly. Normally, it doesn't take more than a few minutes, even on weak/slow machines.
7) Install aMSN :
Code:
sudo make install
Normally, aMSN should even appear automatically in the installed software menus, and its tray icon should work as well, same for all the standard features. At worst, just create a launcher on the desktop (or anywhere else you see fit), and fill in the command field with "amsn". And there you go
Tested on Xubuntu 12.04 (i386 alternate install) on a Hercules eCafé EC-800 H20G/S netbook.
att,