boast
Newbie
Offline
Posts: 19
|
 |
« on: October 20, 2006, 04:46:30 pm » |
|
When I try to start amsn I get the following 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
|
 |
« 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 : ln -s /usr/bin/wish8.4 /usr/bin/wish or whatever, depending on your paths...
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
boast
Newbie
Offline
Posts: 19
|
 |
« 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
|
 |
« Reply #3 on: October 20, 2006, 06:39:20 pm » |
|
Try which wish or which wish8.4
|
|
|
|
|
Logged
|
|
|
|
|
Zalbor
|
 |
« Reply #4 on: October 20, 2006, 06:41:32 pm » |
|
Try 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
Posts: 19
|
 |
« Reply #5 on: October 20, 2006, 06:47:19 pm » |
|
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

|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #6 on: October 20, 2006, 09:54:17 pm » |
|
type 'wish' your $PATH can be seen by doing echo $PATH /usr/bin should be listed in your $PATH
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
boast
Newbie
Offline
Posts: 19
|
 |
« Reply #7 on: October 21, 2006, 03:51:35 pm » |
|
correct.
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« 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
Posts: 19
|
 |
« 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 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
|
 |
« Reply #10 on: October 27, 2006, 07:45:07 am » |
|
humm.. try ls -l /usr/bin/wish then file /usr/bin/wish and paste the output here.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
boast
Newbie
Offline
Posts: 19
|
 |
« 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
|
 |
« Reply #12 on: October 28, 2006, 06:14:13 pm » |
|
sudo ln -s /etc/alternatives/wish /usr/bin/wish8.4
|
|
|
|
|
Logged
|
|
|
|
boast
Newbie
Offline
Posts: 19
|
 |
« Reply #13 on: October 28, 2006, 08:51:18 pm » |
|
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
|
 |
« Reply #14 on: October 29, 2006, 12:29:26 am » |
|
ok, remove /etc/alternatives/wish first? 
|
|
|
|
|
Logged
|
|
|
|
|