| View previous topic :: View next topic |
| Author |
Message |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Sun Apr 14, 2013 4:35 am Post subject: package require tdom |
|
|
Hi, I succesfull installed an eggdrop-bot on an ubuntu server.
I'm trying to install a tcl-script, but it gives me the error:
| Code: | [08:26:46] can't find package tdom
while executing
"package require tdom"
(file "scripts/omertaPrices.tcl" line 42)
invoked from within
"source scripts/omertaPrices.tcl"
(file "eggdrop.conf" line 1422)
|
I installed tdom package (as root) :
| Code: | apt-get install tdom
make
make install
make tcldomsh
make install
|
Now I got the same error, did I do something wrong?
Thanks for the advice! |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Wed May 08, 2013 1:47 pm Post subject: |
|
|
nobody?  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu May 09, 2013 12:52 am Post subject: |
|
|
As a regular user (not as root, and hopefully you haven't installed the eggdrop as one) get on the shell and enter tclsh then run package require tdom and see if that works. if it doesn't then the library didn't install correctly or it's library path isn't known/recognized.
have you tried to install the library with apt-get install tdom (or with aptitude)? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Mon May 13, 2013 9:51 am Post subject: |
|
|
when I run tclsh as a regular user, I get: command not found
when i run that command with root: I get : 0.8.3
I installed tdom library with apt-get install tdom (as root)
How can I give my regular user access to that command and library?
P.s.: eggdrop is installed as regular user |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon May 13, 2013 12:44 pm Post subject: |
|
|
I find that very interesting that command not found on a tclsh command, not to mention the reply when you do it as root.
What linux distribution are you using? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Mon May 13, 2013 1:28 pm Post subject: |
|
|
| I'm using ubuntu (on a vhost). |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon May 13, 2013 3:00 pm Post subject: |
|
|
| falco wrote: | when I run tclsh as a regular user, I get: command not found
...
|
Just for fun:
There is some command to list what you have installed. (I can't remember it/them, I'd have to google it).
Find out what version(s) of TCL are actually installed. Perhaps one is found by one kind of user, and another is not.
And once you know the version(s) numbers, try:
tclsh8.5
or tclsh_8.5
something like that, that corresponds.
I've had shells where tclsh returned 'command not found', but tclsh8.5 brought it right up.
Perhaps some of this will gain you some more clues as to what is going on. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon May 13, 2013 3:10 pm Post subject: |
|
|
You meant dpkg -l tcl* ?  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon May 13, 2013 3:45 pm Post subject: |
|
|
| caesar wrote: | You meant dpkg -l tcl* ?  |
That certainly looks familiar.  |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Tue May 14, 2013 6:57 am Post subject: |
|
|
dpkg -l tcl* (as root) gives me:
I think there might be a permissions problem on my system, because all the commands I do as default user gives me: command not found.
I'm not a linux-goeroe, so I'm not sure...  |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue May 14, 2013 2:49 pm Post subject: |
|
|
I see the tclsh on the list, so I don't get it why isn't working. Is this your server or a shell your purchased an account on?
In terminal type: lsb_release -a _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Wed May 15, 2013 7:41 am Post subject: |
|
|
its a VPS I rent.
I installed a webserver and host a few small websites on it.
In my controll-panel (ispconfig) I created a user with ssh-permissions and thats the one I use for my eggdrop. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed May 15, 2013 9:59 am Post subject: |
|
|
You got some misconfiguration or some other glitch I can't put my finger on, so contact support about this issue cos you paid for this service, no? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
falco Voice
Joined: 14 Apr 2013 Posts: 7 Location: Belgium
|
Posted: Wed May 15, 2013 2:49 pm Post subject: |
|
|
I pay for the VPS yes, but I need it for my websites, so thats not a problem.
Thanks for the input, I will try to figure things out and I will join the IRC-channel if I need further assistance.
Thanks! |
|
| Back to top |
|
 |
Johannes13 Halfop
Joined: 10 Oct 2010 Posts: 46
|
Posted: Sun Jun 09, 2013 5:27 pm Post subject: |
|
|
| Do you use a local Tcl installation? Then installing stuff is not that easy. |
|
| Back to top |
|
 |
|