aMSN Forums
October 26, 2014, 04:34:43 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1] 2 3
  Print  
Author Topic: /usr/local/bin/amsn: line 3: exec: wish: not found  (Read 36848 times)
boast
Newbie

Offline Offline

Posts: 19


View Profile
« on: October 20, 2006, 04:46:30 pm »

When I try to start amsn I get the following
Code:
user@UBUNTUBOX:~$ amsn
/usr/local/bin/amsn: line 3: exec: wish: not found


I'm using Ubuntu dapper 6.06, TK8.4  TCL8.4, and the SVN version. I also tried installing 0.95 from automatrix, and 0.96 I think from apt-get repository, and it still wouldn't launch.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: October 20, 2006, 05:06:01 pm »

this error means you don't have tcl/tk installed.. make sure you installed tcl AND tk, both... also, make sure you have them in your $PATH variable.
finally, you might have the command wish8.4 but not the command wish, so try symlinking them (this would mean a wrongly installed package) by launching the command :
Code:
ln -s /usr/bin/wish8.4 /usr/bin/wish
or whatever, depending on your paths...
Logged

KaKaRoTo
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #2 on: October 20, 2006, 06:25:29 pm »

I do have it installed, I had successfully done ./configure --with-tcl=/usr/lib/tcl8.4/ --with-tk=/usr/lib/tk8.4/  with no errors.

So how do I "make sure you have them in your $PATH variable."

Thanks.
Logged
Fenix-TX
Super Power User
**
Offline Offline

Posts: 660


View Profile
« Reply #3 on: October 20, 2006, 06:39:20 pm »

Try
Code:
which wish
or
Code:
which wish8.4
Logged
Zalbor
Super Power User
**
Offline Offline

Posts: 255


View Profile
« Reply #4 on: October 20, 2006, 06:41:32 pm »

Try
Code:
whereis wish

If it doesn't find a file named just "wish" in any directory, do what kakaroto said above. If it does find, look what directory it's in, it normally should be something that ends in /bin.

EDIT: I guess "which" would work better, heh.
Logged
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #5 on: October 20, 2006, 06:47:19 pm »

Code:
user@UBUNTUBOX:~$ which wish8.4
/usr/bin/wish8.4
user@UBUNTUBOX:~$ whereis wish
wish: /usr/bin/wish /usr/bin/wish8.4 /usr/bin/X11/wish /usr/bin/X11/wish8.4 /usr/share/man/man1/wish.1.gz


Huh
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #6 on: October 20, 2006, 09:54:17 pm »

type 'wish'
your $PATH can be seen by doing
Code:
echo $PATH

/usr/bin should be listed in your $PATH
Logged

KaKaRoTo
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #7 on: October 21, 2006, 03:51:35 pm »

correct.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #8 on: October 22, 2006, 12:41:05 am »

'correct'? whats' that answer? you didn't say if typing 'wish' worked, or what was the output of 'echo $PATH'...
Logged

KaKaRoTo
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #9 on: October 26, 2006, 09:46:33 pm »

well, i had done 'whereis wish' which I had posted, and correct that /usr/bin is in my $PATH

oh, here

Code:

chago@UBUNTUBOX:~$ wish
bash: wish: command not found
chago@UBUNTUBOX:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games



Do I have to manually tell amsn where tcl and tk is for it to start?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #10 on: October 27, 2006, 07:45:07 am »

humm.. try
Code:
ls -l /usr/bin/wish
then
Code:
file /usr/bin/wish
and paste the output here.
Logged

KaKaRoTo
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #11 on: October 28, 2006, 12:09:56 am »

user@UBUNTUBOX:~$ ls -l /usr/bin/wish
lrwxrwxrwx 1 root root 22 2006-10-18 16:14 /usr/bin/wish -> /etc/alternatives/wish
user@UBUNTUBOX:~$ file /usr/bin/wish
/usr/bin/wish: broken symbolic link to `/etc/alternatives/wish'
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #12 on: October 28, 2006, 06:14:13 pm »

sudo ln -s /etc/alternatives/wish /usr/bin/wish8.4
Logged
boast
Newbie

Offline Offline

Posts: 19


View Profile
« Reply #13 on: October 28, 2006, 08:51:18 pm »

Code:
user@UBUNTUBOX:~$ sudo ln -s /etc/alternatives/wish /usr/bin/wish8.4
Password:
ln: creating symbolic link `/usr/bin/wish8.4' to `/etc/alternatives/wish': File exists
Logged
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #14 on: October 29, 2006, 12:29:26 am »

ok, remove /etc/alternatives/wish first? Cheesy
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!