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.

Please lend a little hand with Logs2Html

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Please lend a little hand with Logs2Html

Post by Exedore »

I have this error when I'm trying to load the module:

Code: Select all

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

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.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

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

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

Code: Select all

# now load the module
loadmodule logs2html
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Post by Exedore »

When I compiled my eggdrop I use this commands:

Code: Select all

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

[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?
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

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?
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Post by Exedore »

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.
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Post by Exedore »

The compressed package is eggdrop 1.6.18.tar.gz
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

Its very strange that eggdrop would not install a modules folder, what are you install eggdrop on and is it a "static" build?
Post Reply