PDA

View Full Version : HOWTO: Install & run latest CVS amsn


Gandalf
October 13th, 2005, 02:09 PM
Hello,

This howto will guide you through installation of the latest amsn..

so first we need tcl/tk/imlib libraries


sudo apt-get install build-essential tcl8.4-dev tk8.4-dev imlib11-dev esound-clients


then you need to have CVS downloader so

gedit ~/amsn-installer


paste in the file

#!/bin/sh
###########################################
# Install aMSN CVS version & themes #
# #
# Require : tar, wget, unzip #
# #
# Description : Easy install aMSN CVS & #
# new themes #
# #
# Infos : routes-linux.scooba.org #
# Author : mazzaru[AT]wanadoo[dot]fr #
###########################################

VERSION="1.3"
#--------COLOR-------------------
COLOROFF="\033[1;0m"
GREENCOLOR="\033[1;32m"
REDCOLOR="\033[1;31m"
LILACCOLOR="\033[1;35m"
#--------PATH--------------------
WGET=`which wget`
UNZIP=`which unzip`
SKINS_PATH=~/.amsn/skins/
BIN_PATH=~/msn/amsn
QUIT_MESS=`echo ""
echo -e "Binary amsn locate at : ${GREENCOLOR}${BIN_PATH}${COLOROFF}"`
#-------Themes url---------------
URL_TUX=http://aleron.dl.sourceforge.net/sourceforge/amsn/Tux.zip
URL_MSN=http://heanet.dl.sourceforge.net/sourceforge/amsn/MSN.zip
URL_FLUOX=http://heanet.dl.sourceforge.net/sourceforge/amsn/Fluox.zip
URL_AMAC=http://heanet.dl.sourceforge.net/sourceforge/amsn/aMac.zip
URL_CRYSTOLA=http://heanet.dl.sourceforge.net/sourceforge/amsn/crystola.zip
#---------------------------
URL_PING=google.com
URL_AMSN_CVS=http://amsn.sourceforge.net/amsn_cvs.tar.gz
HEADER=`clear
echo -e "\t ${LILACCOLOR}+------------------------------+"
echo -e "\t | ${GREENCOLOR}aMSN Install script ${VERSION} ${LILACCOLOR} |"
echo -e "\t ${LILACCOLOR}+------------------------------+"
echo -e "${COLOROFF}"`
#--------END----------------

#Display a warning message for newbies, usually login always as root.
if [ $UID -eq 0 ]
then
echo""
echo -e "${REDCOLOR}Don't run this script as root !! ;)${COLOROFF}"
echo -e "\a"
exit 1
fi

ping -c 2 ${URL_PING} > /dev/null
if [ "$?" -ne "0" ]
then
ALERT=`echo -e "${REDCOLOR}Bad Internet Connection${COLOROFF}"`
fi

FUNC_INSTALL_THEMES(){

while [ ! -z $1 ]
do
ARCHIVE=`echo $1 | awk -F/ '{print $6}'`
DIR=`echo $ARCHIVE | awk -F. '{print $1}'`
if [ -e ${SKINS_PATH}${DIR} ]
then
echo -e "${DIR}........${LILACCOLOR}already install${COLOROFF}"
shift
else
${WGET} -q $1
${UNZIP} ${ARCHIVE} > /dev/null
rm -f ${ARCHIVE}*
mv ${DIR} ${SKINS_PATH}
echo -e "${DIR}........${GREENCOLOR}install${COLOROFF}"
shift
fi
done
}

FUNC_DEPENDS(){

TCL=`locate libtcl8`
TK=`locate libtk8`

if [ ! -e ${TCL} ]
then
ALERT=`echo -e "${REDCOLOR}Error depedencies : you must install tcl >= 8.3 first. ${COLOROFF}"
echo "With Mandrake (root) : urpmi tcl"
echo "With Debian (root) : apt-get install tcl"
echo ""`
FUNC_MAIN
fi
if [ ! -e ${TK} ]
then
ALERT=`echo -e "${ALERT}"
echo ""
echo -e "${REDCOLOR}Error depedencies : you must install tk >= 8.3 first. ${COLOROFF}"
echo "With Mandrake (root) : urpmi tk"
echo "With Debian (root) : apt-get install tk"
echo ""`
FUNC_MAIN
fi
FUNC_INSTALL_AMSN

}



FUNC_TEST_AMSN(){

if [ ! -e ~/msn ]
then
ALERT=`echo -e "$HOME/msn ${REDCOLOR}not exist, install aMSN first${COLOROFF}"`
FUNC_MAIN
else
echo "Waiting..."
echo ""
FUNC_INSTALL_THEMES $URL_TUX $URL_MSN $URL_FLUOX $URL_AMAC $URL_CRYSTOLA
echo ""
echo ""
echo -en "Run amsn just for testing ? (y/n) [ ${GREENCOLOR}default : n${COLOROFF} ] : "
read ON
case $ON in
[yY]*)FUNC_RUN_AMSN;;
*)echo "${QUIT_MESS}" ; exit 0;;
esac
fi
}

FUNC_RUN_AMSN(){

if [ ! -e ${BIN_PATH} ]
then
ALERT=`echo -e "${HOME}/msn ${REDCOLOR}not exist, install aMSN first${COLOROFF}"`
FUNC_MAIN
else
${BIN_PATH}
FUNC_MAIN
fi

}

FUNC_INSTALL_AMSN(){

cd ~/
echo ""
echo "aMSN CVS downloading please wait..."
# -q = mode quiet (cf. man wget)
${WGET} -q ${URL_AMSN_CVS}
echo ""
echo "Installing aMSN CVS version"
tar zxf amsn_cvs.tar.gz -C ~/ #Extract without verbose mode (-v)
rm -f ~/amsn_cvs.tar.gz* #Archive can be removed
mkdir -p ${SKINS_PATH}
echo ""
echo -ne "Install correct, would you like install themes ? (y/n) [ ${GREENCOLOR}default : n${COLOROFF} ] : "
read ON

case $ON in
[yY]*)FUNC_TEST_AMSN;;
*)echo "${QUIT_MESS}" ; exit 0;;
esac
}

FUNC_MAIN(){

echo -e "${HEADER}"
echo "This script installing aMSN and/or themes : "
echo ""
echo "${ALERT}"
echo ""
select CHOIX in "Install themes only" "Install the last aMSN version" "Run aMSN" "Quit"
do
case $REPLY in
1)FUNC_TEST_AMSN;;
2)FUNC_DEPENDS;;
3)FUNC_RUN_AMSN;;
*)exit 0;;
esac
done
}

#script start here (call FUNC_MAIN function)
FUNC_MAIN

#######
# EOF #
#######


run the file..

chmod +x ~/amsn-installer
~/amsn-installer

press 2 to install (you can choose to install Themes or not)
anyway now go to ~/msn to compile it

cd ~/msn
./configure && make



now to avoid amsn hanging on logging in..

gedit ~/amsn


paste into the file
#!/bin/bash
export LD_ASSUME_KERNEL=2.2.5
/home/USER_NAME/msn/amsn&

and then chmod it

chmod +x ~/amsn


now all you have left to do is to create a launcher in gnome panel but remember to use /home/USER_NAME/amsn as a launcher and not/home/USER_NAME/msn/amsn and to use esdplay $sound in amsn configuration to have sounds

Hope that helps

meborc
October 13th, 2005, 02:38 PM
press 4 to install


its more like a 2 :rolleyes:

Gandalf
October 13th, 2005, 02:39 PM
its more like a 2 :rolleyes:
oops yeah sowwy :oops: i'll correct it

GavinX
October 13th, 2005, 02:51 PM
Great how to. However, I followed the instructions to the letter and each time I run aMSN, it seems that everything is OK, but I as soon as I log on, it crashes in two seconds. WHat's up with that?

Rob2687
October 13th, 2005, 03:20 PM
It doesn't download any themes

Gandalf
October 13th, 2005, 06:31 PM
Great how to. However, I followed the instructions to the letter and each time I run aMSN, it seems that everything is OK, but I as soon as I log on, it crashes in two seconds. WHat's up with that?
Are you sure you are running /home/USER_NAME/amsn ??

Gandalf
October 13th, 2005, 06:32 PM
It doesn't download any themes
did you get any errors?

stoffepojken
October 13th, 2005, 07:35 PM
Thank you!

Working great for me except for the themes. I wanted this for a long time...:)

stoffepojken
October 13th, 2005, 07:39 PM
By the way. I did not get any error messages about the themes. It just get coming back to the first stage in the install where I was promted to choose 1,2,3 or 4,

stoffepojken
October 13th, 2005, 07:43 PM
I post my output:
stoffe@Ubuntu:~$ ~/amsn-installer

+------------------------------+
| aMSN Install script 1.3 |
+------------------------------+

This script installing aMSN and/or themes :



1) Install themes only 3) Run aMSN
2) Install the last aMSN version 4) Quit
#? 2

aMSN CVS downloading please wait...

Installing aMSN CVS version

Install correct, would you like install themes ? (y/n) [ default : n ] : y







+------------------------------+
| aMSN Install script 1.3 |
+------------------------------+

This script installing aMSN and/or themes :

/home/stoffe/msn not exist, install aMSN first

1) Install themes only 3) Run aMSN
2) Install the last aMSN version 4) Quit
#? 1













+------------------------------+
| aMSN Install script 1.3 |
+------------------------------+

This script installing aMSN and/or themes :

/home/stoffe/msn not exist, install aMSN first

1) Install themes only 3) Run aMSN
2) Install the last aMSN version 4) Quit
#? 1













+------------------------------+
| aMSN Install script 1.3 |
+------------------------------+

This script installing aMSN and/or themes :

/home/stoffe/msn not exist, install aMSN first

GavinX
October 13th, 2005, 07:44 PM
Are you sure you are running /home/USER_NAME/amsn ??Very sure that it is. When I run it in a terminal I get this error message after I log in:

libpng warning: Application was compiled with png.h from libpng-1.0.18
libpng warning: Application is running with png.c from libpng-1.2.7
libpng error: Incompatible libpng version in application and library
IMLIB ERROR: Cannot load image: /usr/share/amsn/skins/default/pixmaps/unread_tray.png
All fallbacks failed.
See /usr/share/doc/imlib1/README.fallback.
Segmentation fault

Gandalf
October 13th, 2005, 07:53 PM
Ok guys, sorry there were a problem in the script.... now it is fixed so please re-create the script and run it to install themes...

Gandalf
October 13th, 2005, 07:59 PM
Very sure that it is. When I run it in a terminal I get this error message after I log in:

libpng warning: Application was compiled with png.h from libpng-1.0.18
libpng warning: Application is running with png.c from libpng-1.2.7
libpng error: Incompatible libpng version in application and library
IMLIB ERROR: Cannot load image: /usr/share/amsn/skins/default/pixmaps/unread_tray.png
All fallbacks failed.
See /usr/share/doc/imlib1/README.fallback.
Segmentation fault
hmmm.... i did it after a fresh install many many times no dependicy problems...

stoffepojken
October 13th, 2005, 08:16 PM
Thank you Gandalf. Works perfect for me now with nice themes :)

Gandalf
October 13th, 2005, 08:21 PM
Thank you Gandalf. Works perfect for me now with nice themes :)
You're Welcome :D ;)

deception
October 13th, 2005, 10:05 PM
Thanks for this, worked a treat :D

SilverTab
October 14th, 2005, 12:18 AM
Worked like a charm! thanks :)

ykpaiha
October 14th, 2005, 10:05 AM
thanks it worked fine here as well great!

jk-pc
October 14th, 2005, 12:24 PM
Hi!
yeah, works fine! many thanks for the great howto!

jk-pc

joakim2
October 14th, 2005, 12:31 PM
And if you use the development version of TCL/TK you can make it look real sweet and more blended in with your antialiased GNOME desktop like this:

http://www.our-own.net/amsn.png

Neo40
October 15th, 2005, 10:57 AM
And if you use the development version of TCL/TK you can make it look real sweet and more blended in with your antialiased GNOME desktop like this:

http://www.our-own.net/amsn.png

Hi,
How can I install the development version of TCL/TK?
Thanks

DREMA
October 21st, 2005, 02:08 PM
Very sure that it is. When I run it in a terminal I get this error message after I log in:

libpng warning: Application was compiled with png.h from libpng-1.0.18
libpng warning: Application is running with png.c from libpng-1.2.7
libpng error: Incompatible libpng version in application and library
IMLIB ERROR: Cannot load image: /usr/share/amsn/skins/default/pixmaps/unread_tray.png
All fallbacks failed.
See /usr/share/doc/imlib1/README.fallback.
Segmentation fault

I have this problem too, does anybody knows how to resolve it ?? Thanks a lot

Gandalf
October 21st, 2005, 02:11 PM
Try to install (if installed then re-install) libpng12-0 and libpng12-dev

DREMA
October 21st, 2005, 03:10 PM
I just reinstall my ubuntu, now I'm in Breezy :p, I use this script to install my amsn, and everything works perfect :D
Thanks guys!

Gandalf
October 21st, 2005, 03:18 PM
I just reinstall my ubuntu, now I'm in Breezy :p, I use this script to install my amsn, and everything works perfect :D
Thanks guys!
You were on Hoary before? :roll: :roll:

ounn
October 21st, 2005, 05:11 PM
And if you use the development version of TCL/TK you can make it look real sweet and more blended in with your antialiased GNOME desktop like this:

http://www.our-own.net/amsn.png
Joakim2 how do you install cvs tcl and compile amsn with that?
Can you made a simply how-to? Please?
That amsn is very cool.

Thanks

ounn

joakim2
October 22nd, 2005, 02:16 PM
1) Make a directory in your home directory called "tclbuild".

2) Download the TCL/TK 8.5 snapshots to the directory you created in step 1 from here: http://www.tcl.tk/software/tcltk/downloadnow85.html

3) tar zxvf tcl8.5a3-src.tar.gz && tar zxvf tk8.5a3-src.tar.gz

4 cd tcl8.5a3/unix

5) ./configure --prefix=/usr/local/tcl --enable-threads && make install

6) cd ../../tk8.5a3/unix

7) ./configure --prefix=/usr/local/tcl --enable-xft --enable-threads && make install

Tcl/Tk is now installed in /usr/local/tcl.

8) Check out aMSN from CVS (along with the extras which contain the Ubuntu skin and some other cool plugins)

9) go into your aMSN directory and configure and make it like so: ./configure --with-tcl=/usr/local/tcl/lib --with-tk=/usr/local/tcl/lib && make

10) open 'amsn' in your favorite editor and change line #3 to read: exec /usr/local/tcl/bin/wish8.5 $0

11) run: ./amsn and go into the preferences and change your font to an antialiased font. Change the skin to the Ubuntu skin you checked out from aMSN CVS and moved to your skins directory.

Voila :)

ounn
October 22nd, 2005, 04:30 PM
Thanks. It work just fine. Now amsn deserves a try :p its not so ugly like before.

Gandalf
October 22nd, 2005, 08:02 PM
1) Make a directory in your home directory called "tclbuild".

2) Download the TCL/TK 8.5 snapshots to the directory you created in step 1 from here: http://www.tcl.tk/software/tcltk/downloadnow85.html

3) tar zxvf tcl8.5a3-src.tar.gz && tar zxvf tk8.5a3-src.tar.gz

4 cd tcl8.5a3/unix

5) ./configure --prefix=/usr/local/tcl --enable-threads && make install

6) cd ../../tk8.5a3/unix

7) ./configure --prefix=/usr/local/tcl --enable-xft --enable-threads && make install

Tcl/Tk is now installed in /usr/local/tcl.

8) Check out aMSN from CVS (along with the extras which contain the Ubuntu skin and some other cool plugins)

9) go into your aMSN directory and configure and make it like so: ./configure --with-tcl=/usr/local/tcl/lib --with-tk=/usr/local/tcl/lib && make

10) open 'amsn' in your favorite editor and change line #3 to read: exec /usr/local/tcl/bin/wish8.5 $0

11) run: ./amsn and go into the preferences and change your font to an antialiased font. Change the skin to the Ubuntu skin you checked out from aMSN CVS and moved to your skins directory.

Voila :)
i think it's better to install tcl in home directory to avoid any conflict with any other already installed TCL/TK version, personaly i used /home/username/tcl instead of /usr/local/tcl

bored2k
October 22nd, 2005, 09:22 PM
I have made x86 ubuntu packages for the latest TCL and TK:

http://rapidshare.de/files/6632929/tk8.5a3_8.5a3-1_i386.deb.html
http://rapidshare.de/files/6633036/tcl8.5a3_8.5a3-1_i386.deb.html

Go into your aMSN directory and configure and make it like so: ./configure --with-tcl=/usr/local/tcl/lib --with-tk=/usr/local/tcl/lib && make

Orunitia
October 22nd, 2005, 10:22 PM
Well after annoying bored2k, I finally realized I messed something up. Got it running, and it is really nice. I'll actually use this along with gaim now.

bored2k
October 22nd, 2005, 10:44 PM
joakim2, what skin is that ?

Orunitia
October 23rd, 2005, 09:50 AM
I'd also like to know where you got that skin.

Gandalf
October 23rd, 2005, 09:54 AM
Guys you can find CVS skins & plugins here (http://cvs.sourceforge.net/viewcvs.py/amsn/amsn-extras/) anyway about ubuntu Skin it's here (http://cvs.sourceforge.net/viewcvs.py/amsn/amsn-extras/skins//viewcvs.py/amsn/amsn-extras/skins/Ubuntu%20%28Human%29/)

P.S: sometimes the folders (links i gave you) are down, because it's CVS so sometimes they are changing it, like this very moment ubuntu theme ain't available but it was 10 mns ago..

Orunitia
October 23rd, 2005, 09:59 AM
Thanks. :)

Orunitia
October 23rd, 2005, 10:42 AM
Edit: I'm a moron, don't mind what I asked in this post.

joakim2
October 23rd, 2005, 12:16 PM
i think it's better to install tcl in home directory to avoid any conflict with any other already installed TCL/TK version, personaly i used /home/username/tcl instead of /usr/local/tcl

/usr/local/tcl isn't going to interfer with any other Tcl/Tk version or installation unless you put one there :) I tend to avoid installing stuff in my home directory because every now and then I go through my home dir and just weed and whack. Otherwise it would take Nautilus a day and a half to draw my home dir :)

skyboy
November 5th, 2005, 07:06 AM
Great great how to ! works like a charm and the webcam too ! finally a webcam client for Linux !!
Thanks

ubuntu_123
November 5th, 2005, 11:04 AM
Hi guys, this question maybe very stupid.

But how to "create a launcher in gnome panel"?
now all you have left to do is to create a launcher in gnome panel but remember to use /home/USER_NAME/amsn as a launcher and not/home/USER_NAME/msn/amsn and to use esdplay $sound in amsn configuration to have sounds

Thanks.
yasir

Mandarb
November 9th, 2005, 05:09 AM
Hello,

anyone knows how to compile linphone plugin in /usr/share/amsn/plugins/linphone ?

Thanks.

foolosophy
December 4th, 2005, 03:31 PM
when I do the first step (sudo apt-get install build-essential tcl8.4-dev tk8.4-dev imlib11-dev esound-clients) it says that it will need to download & install al the following packages:

build-essential esound-clients g++ g++-4.0 imlib11 imlib11-dev libice-dev
libjpeg62-dev libpng12-dev libsm-dev libstdc++6-4.0-dev libtiff4-dev
libtiffxx0c2 libungif4-dev libx11-dev libxau-dev libxext-dev libxi-dev
libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxrandr-dev libxt-dev
libxtrap-dev libxtst-dev libxv-dev tcl8.4-dev tk8.4-dev x-dev
x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-record-dev x11proto-trap-dev x11proto-video-dev x11proto-xext-dev
xlibs-dev xlibs-static-dev zlib1g-dev

all this is like 30MB in disk. is it necessary? I downloaded the amsn_cvs.tar.cz from AMSN website. It can't be installed like a package, or do I have to follow all the instructions you posted?

I'm sorry for posting stupid questions, but I'm a newbie on linux who was sick & tired of windows cr*p.

Thanks a lot.

Gandalf
December 4th, 2005, 03:55 PM
when I do the first step (sudo apt-get install build-essential tcl8.4-dev tk8.4-dev imlib11-dev esound-clients) it says that it will need to download & install al the following packages:

build-essential esound-clients g++ g++-4.0 imlib11 imlib11-dev libice-dev
libjpeg62-dev libpng12-dev libsm-dev libstdc++6-4.0-dev libtiff4-dev
libtiffxx0c2 libungif4-dev libx11-dev libxau-dev libxext-dev libxi-dev
libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxrandr-dev libxt-dev
libxtrap-dev libxtst-dev libxv-dev tcl8.4-dev tk8.4-dev x-dev
x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-record-dev x11proto-trap-dev x11proto-video-dev x11proto-xext-dev
xlibs-dev xlibs-static-dev zlib1g-dev

all this is like 30MB in disk. is it necessary? I downloaded the amsn_cvs.tar.cz from AMSN website. It can't be installed like a package, or do I have to follow all the instructions you posted?

I'm sorry for posting stupid questions, but I'm a newbie on linux who was sick & tired of windows cr*p.

Thanks a lot.
Yes they are necessary...

Rob2687
December 4th, 2005, 04:25 PM
oops...wrong thread..

luminoso
December 5th, 2005, 07:11 PM
luminoso@khona4:~/msn$ cd ~/msn
luminoso@khona4:~/msn$ ./configure && make
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for prefix by checking for wish... /usr/bin/wish
checking tcl build dir... using tcl library in /usr/lib/tcl8.4
checking tk build dir... using tk library in /usr/lib/tk8.4
checking for main in -lstdc++... yes
checking for X... libraries /usr/X11R6/lib, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for strcasestr... yes
checking for memmem... yes
checking for dlopen... no
checking for pthread_create in -lpthread... yes
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/linux/capture/config.h

compile time options summary
============================

X11 : yes
Using Libng : yes
Tcl : 8.4
TK : 8.4
DEBUG : no

(cd .; autoconf)
/bin/sh: autoconf: command not found
make: ** [configure] Erro 127
luminoso@khona4:~/msn$


apt-get sucessul.. already made "make" before.. :(

Turgon
December 10th, 2005, 09:24 PM
Nice guide. Worked perfektly and is now installing the final aMSN 0.95:D

Sebby
December 10th, 2005, 09:27 PM
First of all, thanks for this great guide. I used to really dislike aMSN, but the CVS build coupled with jaokim2's directions for using the development versions of TCL/TK is really useful. One thing, though:

11) run: ./amsn and go into the preferences and change your font to an antialiased font. Change the skin to the Ubuntu skin you checked out from aMSN CVS and moved to your skins directory.
How do I install the Ubuntu theme from CVS?

Also, I'm having some trouble with profiles. Is there a way to manually delete them so I can start again, i.e. not from in preferences?

Gandalf
December 10th, 2005, 11:10 PM
First of all, thanks for this great guide. I used to really dislike aMSN, but the CVS build coupled with jaokim2's directions for using the development versions of TCL/TK is really useful. One thing, though:


How do I install the Ubuntu theme from CVS?

Also, I'm having some trouble with profiles. Is there a way to manually delete them so I can start again, i.e. not from in preferences?
Make sure cvs installed (apt-get install cvs)

type
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amsn login
press enter when prompted for password

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/amsn co -P amsn-extras

you will have an amsn-extras folder with all CVS Skins and Plugins (including ubuntu theme)

Sebby
December 11th, 2005, 07:48 AM
Thanks! I know this is pretty petty, but I don't suppose there's a way to stop the mouse pointer pointing to the right when you hover over an option in aMSN?

Also, I'm still having problems with profiles, i.e. not being able to select my profile because it says it's in use, and not being able to delete another for the same reason! Any ideas?

ctaborda
December 16th, 2005, 03:36 AM
Hi, im getting this error. I tried installing everything but I just cannot get it to work! :(

Please help me out.

checking tcl build dir... warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
configure: error: Unable to find Tcl directory or Tcl package is not tcl-dev

Carlos

Sebby
December 16th, 2005, 06:00 AM
Hi, im getting this error. I tried installing everything but I just cannot get it to work! :(
Have you done:
sudo apt-get install build-essential tcl8.4-dev tk8.4-dev imlib11-dev esound-clients?

Gandalf
December 16th, 2005, 06:05 AM
check this (http://wael.nasreddine.com/Articles/Articles/Easy_aMSN.html) for auto installation ;)

fannymites
December 23rd, 2005, 10:03 PM
I still can't get the human theme via cvs as described in post 47. I press enter at the password prompt and nothing happens, after waiting a long time I've tried just typing in the second line but still nothing happens for ages then I eventually get a timeout.
I've seen the amsn-extras with the human theme on the sourceforge site but I can't find a way to download it other than downloading each individual sound and image and recreating the directory structure.

Gandalf
December 24th, 2005, 05:31 AM
Weird you are having this issue, try to delete the file ~/.cvspass and retry again, anyway i have uploaded for you all CVS themes here (http://wael.nasreddine.com/trash/skins.tar.gz) download, untar it to ~/.amsn

fannymites
December 25th, 2005, 12:05 PM
Thanks for that. It turns out the reason for the problem was that I hadn't allowed cvs in guarddog. Oops.
I've tried since enabling it and everything downloaded fine.

WishMaster
May 7th, 2006, 02:27 PM
First of all: I love your amsn-installer script :grin:

I have 2 questions:
1) Is it possible to show some sort of downloading information?
In line 148, you say:
${WGET} -q ${URL_AMSN_CVS}
Sometimes, the CVS is down or the connection is slow, so I keep waiting for nothing to happen, because I don't see any progress. Does "-c" instead of "-q" solve that problem?
edit: yes it does, I tried :-P

2) Line 152:
rm -f ~/amsn_cvs.tar.gz* #Archive can be removed
That is good :smile: However, it would be nice if something like "aMSN cvs 20060512 was installed" would be printed to the console.
It gives me an idea of which cvs-version (date/time of downloaded amsn_cvs.tar) was installed.
edit: change line 150 in:
echo "Installing aMSN CVS version: `stat -c --format=%y amsn_cvs.tar.gz`"

Thank you :smile:



This is how it looks like:
The red selection is showing download information (speed, ETA,...)
The blue selection shows which CVS-version you are using (in this case: the one of May 8th)


http://users.pandora.be/Nyx/Linux/aMSN.jpg

ampop
May 9th, 2006, 07:34 PM
Gandalf,
This really works. Thanks a lot.

WishMaster
May 21st, 2006, 10:45 AM
aMSN has stopped using CVS
So this script won't work

This one works
#!/bin/sh
###########################################
# Install aMSN CVS version & themes #
# #
# Require : tar, wget, unzip #
# #
# Description : Easy install aMSN CVS & #
# new themes #
# #
# Infos : routes-linux.scooba.org #
# Author : mazzaru[AT]wanadoo[dot]fr #
###########################################

VERSION="1.3"
#--------COLOR-------------------
COLOROFF="\033[1;0m"
GREENCOLOR="\033[1;32m"
REDCOLOR="\033[1;31m"
LILACCOLOR="\033[1;35m"
#--------PATH--------------------
WGET=`which wget`
UNZIP=`which unzip`
SKINS_PATH=~/.amsn/skins/
BIN_PATH=~/msn/amsn
QUIT_MESS=`echo ""
echo -e "Binary amsn locate at : ${GREENCOLOR}${BIN_PATH}${COLOROFF}"`
#-------Themes url---------------
URL_TUX=http://aleron.dl.sourceforge.net/sourceforge/amsn/Tux.zip
URL_MSN=http://heanet.dl.sourceforge.net/sourceforge/amsn/MSN.zip
URL_FLUOX=http://heanet.dl.sourceforge.net/sourceforge/amsn/Fluox.zip
URL_AMAC=http://heanet.dl.sourceforge.net/sourceforge/amsn/aMac.zip
URL_CRYSTOLA=http://heanet.dl.sourceforge.net/sourceforge/amsn/crystola.zip
#---------------------------
URL_PING=google.com
URL_AMSN_CVS=http://amsn.sourceforge.net/amsn_dev.tar.gz
HEADER=`clear
echo -e "\t ${LILACCOLOR}+------------------------------+"
echo -e "\t | ${GREENCOLOR}aMSN Install script ${VERSION} ${LILACCOLOR} |"
echo -e "\t ${LILACCOLOR}+------------------------------+"
echo -e "${COLOROFF}"`
#--------END----------------

#Display a warning message for newbies, usually login always as root.
if [ $UID -eq 0 ]
then
echo""
echo -e "${REDCOLOR}Don't run this script as root !! ;)${COLOROFF}"
echo -e "\a"
exit 1
fi

ping -c 2 ${URL_PING} > /dev/null
if [ "$?" -ne "0" ]
then
ALERT=`echo -e "${REDCOLOR}Bad Internet Connection${COLOROFF}"`
fi

FUNC_INSTALL_THEMES(){

while [ ! -z $1 ]
do
ARCHIVE=`echo $1 | awk -F/ '{print $6}'`
DIR=`echo $ARCHIVE | awk -F. '{print $1}'`
if [ -e ${SKINS_PATH}${DIR} ]
then
echo -e "${DIR}........${LILACCOLOR}already install${COLOROFF}"
shift
else
${WGET} -q $1
${UNZIP} ${ARCHIVE} > /dev/null
rm -f ${ARCHIVE}*
mv ${DIR} ${SKINS_PATH}
echo -e "${DIR}........${GREENCOLOR}install${COLOROFF}"
shift
fi
done
}

FUNC_DEPENDS(){

TCL=`locate libtcl8`
TK=`locate libtk8`

if [ ! -e ${TCL} ]
then
ALERT=`echo -e "${REDCOLOR}Error depedencies : you must install tcl >= 8.3 first. ${COLOROFF}"
echo "With Mandrake (root) : urpmi tcl"
echo "With Debian (root) : apt-get install tcl"
echo ""`
FUNC_MAIN
fi
if [ ! -e ${TK} ]
then
ALERT=`echo -e "${ALERT}"
echo ""
echo -e "${REDCOLOR}Error depedencies : you must install tk >= 8.3 first. ${COLOROFF}"
echo "With Mandrake (root) : urpmi tk"
echo "With Debian (root) : apt-get install tk"
echo ""`
FUNC_MAIN
fi
FUNC_INSTALL_AMSN

}



FUNC_TEST_AMSN(){

if [ ! -e ~/msn ]
then
ALERT=`echo -e "$HOME/msn ${REDCOLOR}not exist, install aMSN first${COLOROFF}"`
FUNC_MAIN
else
echo "Waiting..."
echo ""
FUNC_INSTALL_THEMES $URL_TUX $URL_MSN $URL_FLUOX $URL_AMAC $URL_CRYSTOLA
echo ""
echo ""
echo -en "Run amsn just for testing ? (y/n) [ ${GREENCOLOR}default : n${COLOROFF} ] : "
read ON
case $ON in
[yY]*)FUNC_RUN_AMSN;;
*)echo "${QUIT_MESS}" ; exit 0;;
esac
fi
}

FUNC_RUN_AMSN(){

if [ ! -e ${BIN_PATH} ]
then
ALERT=`echo -e "${HOME}/msn ${REDCOLOR}not exist, install aMSN first${COLOROFF}"`
FUNC_MAIN
else
${BIN_PATH}
FUNC_MAIN
fi

}

FUNC_INSTALL_AMSN(){

cd ~/
echo ""
echo "aMSN CVS downloading please wait..."
# -q = mode quiet (cf. man wget)
${WGET} -c ${URL_AMSN_CVS}
echo ""
echo "Installing aMSN CVS version: `stat -c --format=%y amsn_dev.tar.gz`"
tar zxf amsn_dev.tar.gz -C ~/ #Extract without verbose mode (-v)
rm -f ~/amsn_dev.tar.gz* #Archive can be removed
mkdir -p ${SKINS_PATH}
echo ""
echo -ne "Install correct, would you like install themes ? (y/n) [ ${GREENCOLOR}default : n${COLOROFF} ] : "
read ON

case $ON in
[yY]*)FUNC_TEST_AMSN;;
*)echo "${QUIT_MESS}" ; exit 0;;
esac
}

FUNC_MAIN(){

echo -e "${HEADER}"
echo "This script installing aMSN and/or themes : "
echo ""
echo "${ALERT}"
echo ""
select CHOIX in "Install themes only" "Install the last aMSN version" "Run aMSN" "Quit"
do
case $REPLY in
1)FUNC_TEST_AMSN;;
2)FUNC_DEPENDS;;
3)FUNC_RUN_AMSN;;
*)exit 0;;
esac
done
}

#script start here (call FUNC_MAIN function)
FUNC_MAIN

#######
# EOF #
#######

*Serval
June 8th, 2006, 07:58 AM
WishMaster : I used your script to install amsn by when I select "Run aMSN (just for test)" I get this error : You can't load TkCximage, this is now needed to run aMSN. Please compile amsn first, insctructions on how to compiler are located in the file INSTALL


Can you help me please ?


Thanks ;)

*Serval

Neo40
June 8th, 2006, 08:12 AM
Does that script work with Dapper too?
Thanks

*Serval
June 8th, 2006, 08:48 AM
oh yeah i forgot to say i'm on Dapper ;)

mamadou
November 26th, 2006, 10:14 AM
Hey

I personaly got stuck right from the start


~$ sudo apt-get install build-essential tcl8.4-dev tk8.4-dev imlib11-dev esound-clients

Reading package lists... Done

Building dependency tree... Done

E: Couldn't find package imlib11-dev



:confused:

CriticalStealth
January 2nd, 2007, 10:53 AM
after you paste in the code for it, you say "run the file" how do i run the file?

CriticalStealth
January 2nd, 2007, 11:09 AM
ok, i foudn the file in my home folder, and ran it.. but nothing happened, now im stuck at this part

chmod +x ~/amsn-installer
~/amsn-installer


i input his code into my terminal correct? it does not do anything.

flapane
January 5th, 2007, 06:44 PM
how to change background in amsn 0.96?

Attedude
January 7th, 2007, 05:41 AM
I had this error. I belive amsn-installer that I copyed above wasen't correct.
shoul'd I change those lines somehow.



+------------------------------+
| aMSN Install script 1.3 |
+------------------------------+

This script installing aMSN and/or themes :



1) Install themes only 3) Run aMSN
2) Install the last aMSN version 4) Quit
#? 2
/home/atte/amsn-installer: line 84: [: too many arguments
/home/atte/amsn-installer: line 92: [: too many arguments

aMSN CVS downloading please wait...

Installing aMSN CVS version
tar: amsn_cvs.tar.gz: Toimintoa open ei voi suorittaa: Tiedostoa tai hakemistoa ei ole
tar: Virhe ei ole korjattavissa, poistutaan nyt
tar: Child returned status 2
tar: Viivästetty virhepoistuminen johtuu aikaisemmista virheistä

Install correct, would you like install themes ? (y/n) [ default : n ] :

oncemore
March 3rd, 2007, 12:41 PM
I'm stuck in the start...
I get this error when i try to run amsn-installer:

[: 50: 0: unexpected operator
/home/pedromfs/amsn-installer: 172: Syntax error: "do" unexpected (expecting "}")

Hyprkookeez
April 9th, 2007, 11:55 PM
i get the same error. and i'm a complete noob. :(

ad0
May 7th, 2007, 07:37 AM
Then try this:

bash amsn-installer

Hope it helps.

Johnson
August 23rd, 2007, 08:32 AM
aMSN CVS downloading please wait...

Installing aMSN CVS version
tar: amsn_cvs.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Utsatt feil-avslutning for tidligere feil

Install correct, would you like install themes ? (y/n) [ default : n ] :

What now!? :(

xgamma
August 24th, 2007, 12:25 AM
I'm having the exact same problem as Johnson on feisty for x64

sway.jd
August 28th, 2007, 09:49 AM
Then try this:

bash amsn-installer

Hope it helps.

this worked.


but now I'm stuck on the next step,

it says to do this:

cd ~/msn
./configure && make

but as i enter the "cd ~/msn" it says

bash: cd: /home/sway (username)/msn: No such file or directory

what do i do?

ubu_dynamite
August 31st, 2007, 02:53 PM
alternative amsn from source: works in feisty

download source:
http://www.amsn-project.net/linux-downloads.php

open terminal:

sudo aptitude install build-essential checkinstall tcl8.4-dev tk8.4-dev libpng12-0-dev libjpeg62-dev
sudo aptitude purge amsn

cd "to directory jou downloaded the amsn-0.97RC1.tar.bz2"
tar -xvjf amsn-0.97RC1.tar.bz2
cd amsn-0.97RC1
./configure
make
sudo checkinstall
cp amsn_0.97RC1-1_i386.deb ../
cd ../
sudo rm -r amsn-0.97RC1

perro84
September 21st, 2007, 06:02 PM
Here you can find an easy tutorial on how to install aMsn 0.97 in Ubuntu easily!

Install amsn 0.97 in Ubuntu (http://www.justubuntu.com/install_amsn_097b_ubuntu)

Suprator
May 27th, 2008, 05:15 AM
i stuck here too and nothing happens i entered all comands but i still cannot open amsn ...:(


cd ~/msn
./configure && make