egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Install tcl packages?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Tue Mar 21, 2006 7:41 am    Post subject: Install tcl packages? Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Tue Mar 21, 2006 11:29 am    Post subject: Re: Install tcl packages? Reply with quote

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 Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Tue Mar 21, 2006 4:26 pm    Post subject: Re: Install tcl packages? Reply with quote

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 Mr. Green


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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Mar 24, 2006 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber