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 

Please lend a little hand with Logs2Html

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Exedore
Halfop


Joined: 27 Jan 2008
Posts: 43

PostPosted: Thu Mar 04, 2010 4:59 am    Post subject: Please lend a little hand with Logs2Html Reply with quote

I have this error when I'm trying to load the module:
Code:
[00:47] Module loaded: dns
[00:47] Module loaded: channels
[00:47] Module loaded: server
[00:47] Module loaded: ctcp
[00:47] Module loaded: irc
[00:47] Module loaded: notes            (with lang support)
[00:47] Module loaded: console          (with lang support)
[00:47] Module loaded: seen
[00:47] Module loaded: blowfish
[00:47] Can't load modules logs2html: Unknown module.
[00:47] Tcl error in file 'my_config_file.conf':
[00:47] invalid command name "addlogs2htmlchan"
    while executing
"addlogs2htmlchan "#channel" "/home/myuser/eggdrop/logs2html/" "index" "Logs of MyChannel" "mychan" "Log of MyChannel""
    (file "logs2html.conf" line 105)
    invoked from within
"source logs2html.conf"

and the line 105 is:
Code:
addlogs2htmlchan "#channel" "/home/myuser/eggdrop/logs2html/" "index" "Logs of MyChannel" "mychan" "Log of MyChannel"

I use TCL libs, and my others tcl's work just fine.

I did everything what I read about this, upload the folder, make config && make && make install, and the logs2html.o file is where it should be.

Thank you.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Thu Mar 04, 2010 1:57 pm    Post subject: Reply with quote

Quote:
[00:47] Can't load modules logs2html: Unknown module.
is the logs2html.so in the modules folder?
i.e modules/logs2html.so

I'd also check the extension, it should be .so (in the modules directory)

Also check its just logs2html as the name of the module in the logs2html.conf file

Example (eggdrop.conf file):
Code:
source logs2html.conf


Example (logs2html.conf file):
Code:
# now load the module
loadmodule logs2html

_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Exedore
Halfop


Joined: 27 Jan 2008
Posts: 43

PostPosted: Fri Mar 05, 2010 11:10 am    Post subject: Reply with quote

When I compiled my eggdrop I use this commands:
Code:
1) - ./configure --with-tcllib="/usr/local/lib/libtcl84.a" --with-tclinc="/usr/local/include/tcl8.4/tcl.h"
2) - make config
3) - make
4) - make install

that order generates a folder eggdrop

And inside that folder, this tree estructure of folders and files:
Code:

[eggdrop].. 
  [doc]
  [filesys]
  [help]
  [language]
  [logs]
  [scripts]
  [text]
eggdrop.conf
eggdrop-1.6.18
README

But no folder named modules was created.

Something I did wrong?
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Mar 05, 2010 11:14 am    Post subject: Reply with quote

the "folder" modules is just a "symbolic link" to modules-1.6.x.

The eggdrop dose seem to have a modules folder, since it was able to load other modules? is this an eggdrop package? like a apt-* or rpm package?
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Exedore
Halfop


Joined: 27 Jan 2008
Posts: 43

PostPosted: Fri Mar 05, 2010 11:19 am    Post subject: Reply with quote

And I couldn't find any file with the extension .so
even in the uncompressed eggdrop folder eggdrop-1.6.18 where I only have the src/mod folders.
Back to top
View user's profile Send private message
Exedore
Halfop


Joined: 27 Jan 2008
Posts: 43

PostPosted: Fri Mar 05, 2010 11:34 am    Post subject: Reply with quote

The compressed package is eggdrop 1.6.18.tar.gz
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Mar 05, 2010 8:59 pm    Post subject: Reply with quote

Its very strange that eggdrop would not install a modules folder, what are you install eggdrop on and is it a "static" build?
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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