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 

Can;t Find http 2.4 (the usual)

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


Joined: 18 Jan 2006
Posts: 2

PostPosted: Sat Mar 15, 2008 4:03 am    Post subject: Can;t Find http 2.4 (the usual) Reply with quote

I have spent the last 30 or so minutes searching and have tried the following. (here and google)

Made sure the path in the conf file was correct.
/home/Spre/eggdrop

Tried it with and without placing the source scripts/http.tcl

Compiled the tcllib1.10


tried with both windrop and eggdrop and both give me the same result.

Quote:
[03:53] Tcl error in file 'eggdrop.conf':
[03:53] can't find package http 2.4
while executing
"package require http 2.4"
(file "scripts/ross-g.tcl" line 155)
invoked from within
"source scripts/ross-g.tcl"
(file "eggdrop.conf" line 1350)
[03:53] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


http 2.4 is located in usr/share/tcl8.4/http2.4/ as well as in the scripts/ directory.

the drop runs and connects fine without the tcl script I am trying to run so I know it is configured properly. My only issues is the http 2.4 not being detected? or maybe it is a bad one? I got the 8.4 from the tcl webby.


the tcl script calls.
Code:
package require http 2.4


edit forgot the enviroment

Using cygWIN on a quadcore with 8gigs ram.

Edit: Not a support script issue moved, to Eggdrop Help (Alchera)
Back to top
View user's profile Send private message
russkaskiw
Voice


Joined: 22 Mar 2008
Posts: 2

PostPosted: Sun Mar 23, 2008 10:45 am    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?p=81985#81985
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Mar 23, 2008 1:07 pm    Post subject: Reply with quote

Once again, http.tcl and egghttp.tcl are NOT the same as "package http" - package http comes with the tcl library.

Whether it works under cygwin, I do not know, but I would try removing the version number and just have "package require http" and see if that works. The other problem may be the library path doesn't include the path where your packages are. I do not know how to set the libpath in cygwin, you can find that info via google.
Back to top
View user's profile Send private message
Hibia
Voice


Joined: 24 Mar 2008
Posts: 1

PostPosted: Mon Mar 24, 2008 8:19 am    Post subject: Reply with quote

russkaskiw wrote:
http://forum.egghelp.org/viewtopic.php?p=81985#81985


Great! Thanks for submitting this solution! Worked like a charm with my bash.tcl script under Cygwin on an old XP box.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Mar 24, 2008 11:20 am    Post subject: Reply with quote

rosc2112 wrote:
Once again, http.tcl and egghttp.tcl are NOT the same as "package http" - package http comes with the tcl library.

What are you talking about?
You obviously didn't even bother to look at the script.
The script mentioned is not egghttp.tcl, it is a script version of the http package and works well.
Back to top
View user's profile Send private message
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