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 compile eggdrop under Cygwin/Windows XP

Old posts that have not been replied to for several years.
Locked
M
Moktar

Can't compile eggdrop under Cygwin/Windows XP

Post by Moktar »

Hi all,

I'm trying to configure/compile the eggdrop but there is a serious problem :

When I start the script "configure" the DNS part tells me :


running in eggdrop mode.
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for Cygwin environment... (cached) yes
checking for res_init... (cached) no
checking for res_init in -lresolv... (cached) no
checking for res_init in -lbind... (cached) no
checking for __res_init... (cached) no
checking for __res_init in -lresolv... (cached) no
checking for __res_init in -lbind... (cached) no
checking for res_mkquery... (cached) no
checking for res_mkquery in -lresolv... (cached) no
checking for res_mkquery in -lbind... (cached) no
checking for __res_mkquery... (cached) no
checking for __res_mkquery in -lresolv... (cached) no
checking for __res_mkquery in -lbind... (cached) no
checking for /usr/local/bind/lib/libbind.a... no
configure: warning:

Your system provides no functional resolver library. The DNS
module will therefore be disabled.


Pretty all checking are "no" and the warning is not really a warning because without this module, I can't start the eggdrop :(


If i go futher on, the "make config" and the "make" ended correctly but when i start the eggdrop application, it tells me :

Eggdrop v1.6.12 (C) 1997 Robey Pointer (C) 2002 Eggheads
[20:58] --- Loading eggdrop v1.6.12 (Fri Nov 1 2002)
[20:58] Can't load modules dns: dlopen: Win32 error 126
[20:58] Module loaded: channels
[20:58] Module loaded: server
[20:58] Module loaded: ctcp
[20:58] Module loaded: irc
[20:58] LANG: No lang files found for section notes.
[20:58] Module loaded: notes (with lang support)
[20:58] LANG: No lang files found for section console.
[20:58] Module loaded: console (with lang support)
[20:58] Module loaded: blowfish
[20:58] Listening at telnet port 3333 (all)
[20:58] Module loaded: uptime
[20:58] * Please make sure you edit your config file completely.


Ok, i did not modify the "conf" file but the problem is before => [20:58] Can't load modules dns: dlopen: Win32 error 126

I don't know how to solve this problem...

I have ever sent a mail to Slennox but may be i was wrong : the problem is not present due to the dlopen library but due to the unreachable socket library. May be ???

When i start the "configure" script it has ever told me :

checking for socket in -lsocket... no
checking for connect in -lnsl... no
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... no


Mmmhhh... i don't think its a good thing ;)

Can someone help me ?
K
Kirben

Post by Kirben »

Download the Windrop binary or use the compile guide at http://windrop.sourceforge.net/
The dns module is optional and not required for using Eggdrop.
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Post by bobjuh »

Kirben wrote:Download the Windrop binary or use the compile guide at http://windrop.sourceforge.net/
The dns module is optional and not required for using Eggdrop.

Try editing the config before you complain that it's not working
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The config file provided with eggdrop, assumes that the DNS module will be in use by the bot.

As such, with all modules, they are loaded using a command in the config file.

Thus "eggdrop assumption" + "config file command" = "Wanting to load DNS module"

As the DNS module was not compiled on your system, you simply remove the required line in the config file.

This is documented.
Locked