News and Tutorials about Open Source Software
1 Jun
![]()
aMsn is the most complete clone of Windows Live Messenger, available for Windows, Mac OS X and Linux: custom emoticon, animoticon, webcam, nudges and vocal messages. We’ll compile the SVN version of aMsn on Debian Lenny and Sid, activating font antialiasing and installing the whole thing under /opt.
… and solving, finally, the TLS problem!
Before every command, I use a symbol:
If you see an error, please post a comment!
Open a terminal emulator and type:
$ su
# apt-get install build-essential libx11-dev libc6-dev imagemagick libjpeg-dev libpng12-dev libpng3-dev tcltls fakeroot debhelper
# apt-get install libxft-dev msttcorefonts checkinstall subversion
# apt-get install libssl-dev
If you’re using Debian Etch (the current Stable) you have to install checkinstall manually.
You’ll need openssl too; if you don’t have it:
# apt-get install openssl
Now continue typing:
# exit
$ cd
$ mkdir amsn_temp
$ cd amsn_temp
Download libraries’ sources (delete the S)…
$ wSget http://prdownloads.sourceforge.net/tcl/tcl8.5a6-src.tar.gz
$ wSget http://prdownloads.sourceforge.net/tcl/tk8.5a6-src.tar.gz
$ wSget http://switch.dl.sourceforge.net/sourceforge/tls/tls1.5.0-src.tar.gz
… and uncompress them:
$ tar zxvf tcl8.5a6-src.tar.gz
$ tar zxvf tk8.5a6-src.tar.gz
$ tar zxvf tls1.5.0-src.tar.gz
Don’t close the terminal.
Type in the terminal:
$ cd tcl8.5a6/unix
$ ./configure --prefix=/opt --exec-prefix=/opt
(if you have a 64 bit processor, you can add --enable-64bit to configure).
$ make
$ su
# checkinstall -y --pkgversion 8.5a6 --pkgname tcl8.5_antialias
Checkinstall will build a .deb and it will install it.
Before exiting, to avoid the msgcat error, you’ll have to manually copy its directory under /opt (since it’s not a deb package, you’ll have to delete it manually, if you want to remove the whole thing):
# cd ..
# cp -R library/msgcat/ /opt/lib/tcl8.5/
# exit
$ cd ../..
WARNING: don’t delete TCL’s directory, it’s needed by TK!
Type in the terminal:
$ cd tk8.5a6/unix
$ ./configure --prefix=/opt --exec-prefix=/opt --enable-xft
(again, if you have a 64 bit processor, you can add --enable-64bit to configure).
$ make
$ su
# checkinstall -y --pkgversion 8.5a6 --pkgname tk8.5_antialias
# exit
$ cd ../..
To avoid the TLS error, you have to build it using the Tcl/TK packages just installed (the TLS module that aMsn tries to download is compiled against Tcl/TK 8.4).
Type in terminal:
$ cd tls1.5
$ ./configure --prefix=/opt --exec-prefix=/opt --with-tcl=/opt/lib --with-ssl-dir=/usr
$ make
$ su
# checkinstall -y --pkgversion 1.5 --pkgname tlstcl_antialias
There’s a bug in the library; we have to correct manually the pkgIndex.tcl file:
# gedit /opt/lib/tls1.50/pkgIndex.tcl
We have to add a “0″ (zero) to version number, changing this line
package ifneeded tls 1.5
to:
package ifneeded tls 1.50
Save and exit from the editor, and type:
# exit
$ cd ..
We’ll download aMsn with subversion:
$ svn co https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn amsn
$ cd amsn
$ ./configure --prefix=/opt --exec-prefix=/opt --with-tcl=/opt/lib --with-tk=/opt/lib
Configure’s final message should be:
compile time options summary
============================
X11 : yes
Tcl : 8.5
TK : 8.5
DEBUG : no
STATIC : no
Tcl/TK’s versions must be 8.5 for both. Now type in terminal:
$ make deb
$ su
# dpkg -i distrib/DEB/*.deb
If you haven’t installed TCL, TK and Tls from Debian’s official repositories, the installation will fail, because of dependencies problems; to solve them:
# apt-get -f install
Type exit to exit from the root session.
We have to type the TclTLS path in aMsn. To execute it, just type:
/opt/bin/wish8.5 /opt/bin/amsn
Probably aMsn will try to download TLS module. Press “abort” and open aMsn options (pressing CTRL+P); go under Advanced tab, and search the TLS text field; insert:
/opt/lib/tls1.50
We have to set a true type font for the Interface. Go under the Interface tab, press Change font and pick a true type font.
Save and close aMsn. Go under ~/.amsn, inside our home directory, and, in the plugins subdirectory, delete TLS directory.
Restarting aMsn, everything should work! Obviously, the executable isn’t “amsn” but
/opt/bin/wish8.5 /opt/bin/amsn
You can make a symbolic link in your desktop.
That’s all, folks!
(and sorry for the bad English)
8 Responses for "aMsn SVN, antialiasing, TLS on Debian: problems solved!"
the guide is great although when i execute the command “checkinstall -y –pkgversion 8.5a6 –pkgname tk8.5_antialias
” i’ve got the following problem:
==========================================
========================= Installation results ===========================
Installing libtcl8.5.so to /opt/lib/
chmod: changing permissions of `/opt/lib/libtcl8.5.so’: No such file or directory
make: *** [install-binaries] Error 1
**** Installation failed. Aborting package creation.
Cleaning up…OK
Bye.
==========================================
i can’t figure out why that is.. everything else seems to be right…
please help me!
thanks
@mauro: it should be a checkinstall bug (or tk’s); try these commands:
su
chmod -R a+r /opt/lib/
and try to execute checkinstall…
yes, it must be a bug, i’ve tried changing permissions, finding the file ‘libtcl8.5.so’ and copying it myself to see if checkinstall could find it that way, and finaly i’ve tried avoiding checkinstall and directly execute make install command… everything seemed to work until i got to the last step and tried to execute amsn xD haha… i could only run it as root and it had a million bugs… so no luck for me today with this
maybe you would like to know that i have Debian/lenny for amd64 processors.. i thought that was the problem too, so i tried not adding the option –enable-64bit to ./configure, but it didn’t work either… i think i ran out of options…
if you figure out one please tell me!
thanks anyways
[…] version: aMsn SVN, antialiasing, TLS on Debian aMsn è il più completo(1) clone di Windows Live Messenger, disponibile per Windows, Mac OS X e […]
mauro wrote:
Could you execute aMsn from a console (as a normal user, not root), and paste here the errors you get?
(I know: aMsn and tcl/tk are a little buggy…)
OT: are you Italian?
@ Notorious aka Andrea Romagnoli:
hi there,
no, i couldn’t execute it as a normal user neither from a terminal nor from the icon…
anyways, i gave up and solved the problem but in a bit of an extreme way… i downloaded debian lenny beta 2 netinst, formated my pc, and reinstall it from scratch, after that i simply selected aMsn from my package manager and it perfectly done the job for me, i wasn’t able to do that in my old instalation ’cause it just kept asking me to install tls (although i had it installed). Of course now i don’t have the antialiasing thing…
in the future when i have more time i’ll try this installation and let know, for the moment i just wanted to chat like i did in winxxxxx.
thanks!
OT: haha my grandfather was italian, i was born in argentina and i live here, i’m studing Computer Systems Engineering… love meeting new people! this is my e-mail mauro.lavigna AT hotmail DOT com if you want to chat…
cheers!
Thanks dude, but it didn’t install properly, i didn’t see any tls folder in the /opt/bin
Suraj Fernandes wrote:
It’s /opt/lib, not bin (the full path is /opt/lib/tls1.50).
If the directory doesn’t exist, something gone wrong in the previous steps; did the “checkinstall” command give you any error?
mauro wrote:
Someone commented the italian version of this post, with a similar problem. The cause was a configuration file, stored in ~/.amsn, with wrong permissions. Maybe it was your problem, too!
(that’s why I asked you to check the terminal’s error messages)
mauro wrote:
From repositories? It’s strange! The official amsn, tcl/tk and tcltls packages should work out-of-the-box!
mauro wrote:
Try emesene, it should be better than amsn!
OT: mauro wrote:
I don’t use msn, but gtalk. When I’m online, you can contact me from my personal blog ( http://notoriousxl.blogspot.com/ ), using the balloon below the “About me” title.
PS: I edited your email address, to save you from spam.
Leave a reply