This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Can;t Find http 2.4 (the usual)

General support and discussion of Eggdrop bots.
Post Reply
S
Spre
Voice
Posts: 2
Joined: Wed Jan 18, 2006 6:12 am

Can;t Find http 2.4 (the usual)

Post by Spre »

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.
[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: Select all

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)
r
russkaskiw
Voice
Posts: 2
Joined: Sat Mar 22, 2008 2:35 pm

Post by russkaskiw »

User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
H
Hibia
Voice
Posts: 1
Joined: Mon Mar 24, 2008 8:16 am

Post by Hibia »

Great! Thanks for submitting this solution! Worked like a charm with my bash.tcl script under Cygwin on an old XP box.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

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.
Post Reply