| View previous topic :: View next topic |
| Author |
Message |
Spre Voice
Joined: 18 Jan 2006 Posts: 2
|
Posted: Sat Mar 15, 2008 4:03 am Post subject: Can;t Find http 2.4 (the usual) |
|
|
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 |
|
 |
russkaskiw Voice
Joined: 22 Mar 2008 Posts: 2
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Mar 23, 2008 1:07 pm Post subject: |
|
|
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 |
|
 |
Hibia Voice
Joined: 24 Mar 2008 Posts: 1
|
Posted: Mon Mar 24, 2008 8:19 am Post subject: |
|
|
| 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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Mar 24, 2008 11:20 am Post subject: |
|
|
| 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 |
|
 |
|