| View previous topic :: View next topic |
| Author |
Message |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Tue Mar 13, 2007 12:52 pm Post subject: [solved] compiling windrop help |
|
|
hi, ive been trying to compile windrop, i want it the same as the standard precompiled version with ssl... the only difference is i want the msgrate value in /src/mod/server.mod/server.c changed from 2 to 0.
ive been tearing my hair out trying to get cygwin to work.. but im having no luck.
is there anyone that can do me a huge favour, spare a few minutes and compile it for me and .rar it on rapidshare or something?
Last edited by veblen on Fri Mar 16, 2007 2:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Mar 13, 2007 6:04 pm Post subject: |
|
|
~./doc/COMPILE-GUIDE
| Quote: | H. Cygwin / Windows
To compile and install Eggdrop on windows, preform the steps listed
below. |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Tue Mar 13, 2007 6:15 pm Post subject: |
|
|
ive tried following the instructions.. however i have error problems with cygwin which will not let me run through the procedures, which is why ive asked for help.
i would have done it myself otherwise. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Mar 13, 2007 7:48 pm Post subject: |
|
|
Go to the Cygwin site; all the documentation/information you need is there.
Cygwin is not all that difficult to install. You do, however, must ensure that you follow the instructions for installing Tcl carefully; you also need to install gcc and mingw-runtime. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Mar 14, 2007 12:18 am Post subject: |
|
|
| Might also be helpful to post actual error msgs regarding cygwin. It should install seamlessly. I would guess you don't have the devel packages installed.. |
|
| Back to top |
|
 |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Wed Mar 14, 2007 10:01 am Post subject: |
|
|
i managed to get over my errors by compiling on a different system.
however i now have some more errors during the make eggdrop process
| Code: |
In file included from /usr/include/openssl/x509.h:107,
from /usr/include/openssl/ssl.h:183,
from net.h:5,
from dccutil.c:36:
/usr/include/openssl/sha.h:174: error: parse error before "h"
/usr/include/openssl/sha.h:175: error: parse error before "N1"
/usr/include/openssl/sha.h:177: error: parse error before "d"
/usr/include/openssl/sha.h:179: error: parse error before '}' token
/usr/include/openssl/sha.h:181: error: parse error before '}' token
/usr/include/openssl/sha.h:185: error: parse error before '*' token
/usr/include/openssl/sha.h:186: error: parse error before '*' token
/usr/include/openssl/sha.h:187: error: parse error before "SHA512_CTX"
/usr/include/openssl/sha.h:189: error: parse error before '*' token
/usr/include/openssl/sha.h:190: error: parse error before '*' token
/usr/include/openssl/sha.h:191: error: parse error before "SHA512_CTX"
/usr/include/openssl/sha.h:193: error: parse error before '*' token
make[1]: *** [dccutil.o ] Error 1
make[1]: Leaving directory '/eggdrop1.6.18/src'
make: *** [modegg] Error 2 |
any ideas? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Mar 14, 2007 3:34 pm Post subject: |
|
|
| You did configure on a different system? That would likely be the source of the problem, the errors are from configure setting the wrong options for the system you're compiling on. |
|
| Back to top |
|
 |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Wed Mar 14, 2007 4:24 pm Post subject: |
|
|
sorry what i meant was, i switched to another system for the entire process.
im getting those errors when trying to compile with the ssl patch.
i can compile windrop fine now without ssl, which will do for the time being.
the reason i wanted to compile myself was to change the msgrate value to 0, so i can pass information through the irc server more quickly. now ive compiled it with the changed setting, there is no difference in the information delay.. ie. the bot sends 5 lines of text instantly and then there is a delay of some seconds for every 2 lines after that.
is there something in the process of compiling windrop that makes no difference as to whether this value is changed or not? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Mar 14, 2007 11:18 pm Post subject: |
|
|
| Are you using putquick? |
|
| Back to top |
|
 |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Thu Mar 15, 2007 6:07 am Post subject: |
|
|
yes ive tried using putquick, and also putdccraw.
ok an update on this.
ive compiled windrop a few times now.. with msgrate set to 0, 1 and 5.
with the value at 5 it passes one line to a channel every 5 seconds ok. with msgrate set at 1, putserv passes 1 line to a channel per second.
if i change this to putquick and putquick -next with msgrate set to 1, it starts to pass 2 lines to a channel every 2 seconds (with a 2 second delay).
the same happens as above (2lines and then a 2 second gap) with whatever put method i use with msgrate set to 0.
so as it seems the msgrate values are working properly, is there anything else in the file system of windrop/eggdrop that could be causing the delay? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Mar 15, 2007 6:19 pm Post subject: |
|
|
From eggdrop1.6.18/src/mod/server.mod
| Code: |
static void deq_msg()
{
struct msgq *q;
int ok = 0;
/* now < last_time tested 'cause clock adjustments could mess it up */
if ((now - last_time) >= msgrate || now < (last_time - 90)) {
last_time = now;
if (burst > 0)
burst--;
ok = 1;
}
|
Presumably changing "now < (last_time - 90)" to a higher value would make it send more data sooner.. I'm not a C programmer and that's just my best guess. |
|
| Back to top |
|
 |
veblen Voice
Joined: 13 Mar 2007 Posts: 18
|
Posted: Thu Mar 15, 2007 9:46 pm Post subject: |
|
|
surely that wont make a difference tho?
| Code: | | if ((now - last_time) >= msgrate |
as the value of msgrate is 0... so 'now - last_time' is always going to be greater than 0 anyway, so the second parameter 'now < (last_time - 90)' wont come into use.
----------
ive finally got to the bottom of the problem, its down to the ircd as to how fast the output is sent to the channel.
thanks for the help. |
|
| Back to top |
|
 |
|