| View previous topic :: View next topic |
| Author |
Message |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Tue Mar 21, 2006 7:41 am Post subject: Install tcl packages? |
|
|
How can i include a additional tcl package/libery to the eggdrop`s tcl folder?
(For example http://tcllib.sourceforge.net/ or http://www.tdom.org/)
Unti now i just search the .tcl / .dll file myself and source or load it by hand. I guess this is not useful.
How can i tell eggdrop`s tcl folder to include the extra packages (using pgKindex.tcl or something like that)?
With plain tcl you just put the libery into the lib folder, restart tclsh and package require name.
I have to recompile eggdrop or what? _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Tue Mar 21, 2006 11:29 am Post subject: Re: Install tcl packages? |
|
|
| sKy wrote: | How can i include a additional tcl package/libery to the eggdrop`s tcl folder?
...
I have to recompile eggdrop or what? | if I'm understanding you correctly, the answer is yes.
Why not give The TCL Tutorial a quick read... it's proven it's value time and time again  _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Tue Mar 21, 2006 4:26 pm Post subject: Re: Install tcl packages? |
|
|
| YooHoo wrote: | | sKy wrote: | How can i include a additional tcl package/libery to the eggdrop`s tcl folder?
...
I have to recompile eggdrop or what? | if I'm understanding you correctly, the answer is yes.
Why not give The TCL Tutorial a quick read... it's proven it's value time and time again  |
I think you don`t get what i am asking. Perhaps my english is to bad to to say what i mean. :/
This is a plain tcl tutorial. This wasn`t a plain tcl question. I know how to install a lib into plain tcl. I duno why i shall read it, cause my question was about how to install a lib into eggdrop.. _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Fri Mar 24, 2006 1:54 pm Post subject: |
|
|
there is no difference between installing TCL lib for TCL or eggdrop. Just put them in the 'tcl8.4' dir somewhere in the libpath set as eviroment variable. If neccessary (because you are not root) add a ~/lib to your search path and homedir. The var is supposed to be called 'LD_LIBRARY_PATH', add addional paths with ":" seperated like:
export LD_LIBRARY_PATH /usr/local/lib:/home/dekus/lib
remember to store it somewhere its loaded on reconnects/reboots (like and ~/.bash_profil and ~/.bashrc). _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
|