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 

compiling error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 19, 2006 10:44 am    Post subject: Reply with quote

You need to install a little more than the four listed; minires & mingw-runtime being just two to ensure proper compilation of the dns module.

Anyway, you do not delete any tcl/tk folders. Once cygwin is installed, within the shell copy tcl-8.4.xx.tar.gz to your root folder and simply extract it as directed; everything will go into the right place.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Mar 19, 2006 10:51 am    Post subject: Reply with quote

Ok.
If i chose 'all' (in cygwin setup) all packes should be installed? Or do i need to download them extra?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 19, 2006 11:00 am    Post subject: Reply with quote

One would hope all get installed but you never know your luck. Laughing

A quick look in the CygwinSetup folder reveals all. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Mar 19, 2006 1:01 pm    Post subject: Reply with quote

Damm.

To change the cygwin1.dll from bin against the old version won`t help. Cygwin won`t start without errormessages then.

I want to get ride of the error ...."proto.h:133: error: conflicting types for 'dprintf'"....
Well, i guess that i need to get the old version of cygwin. This means the hole old setup. The problem will be the get it?

Or any other solution?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
BarkerJr
Op


Joined: 30 Mar 2003
Posts: 104

PostPosted: Sun Mar 19, 2006 5:33 pm    Post subject: Reply with quote

So, you installed all, and didn't install Tcl? That don't make sense.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sun Mar 19, 2006 6:48 pm    Post subject: Reply with quote

You are so right!
This doesn`t make sense.

I didn`t know that cygwin will install a copy of tcl.
Finnaly i got you what you want me to do. :/

How to i uninstall tcl from cygwin? In setup, which part is it? Admin, Archive, Audio, ..... Which part?

EDIT:
--> LIBS --> TCL/TK.....
it`s the only one to uninstall?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 19, 2006 10:32 pm    Post subject: Reply with quote

I really do not understand what you have done (or not done) but in my previous post I said there is no need to "uninstall" tcl/tk, you simply just download the tarball, copy it to the root folder (all done whilst in the cygwin shell) and simply untar it; it will put itself into the proper location(s) and overwrite whatever is already there.

To get to your root folder within the cygwin shell you simply type: cd /

You can download the appropriate tcl tarball from here.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Kirben
Voice


Joined: 01 Jan 2005
Posts: 3

PostPosted: Mon Mar 20, 2006 10:18 am    Post subject: Reply with quote

sKy wrote:
Damm.

To change the cygwin1.dll from bin against the old version won`t help. Cygwin won`t start without errormessages then.

I want to get ride of the error ...."proto.h:133: error: conflicting types for 'dprintf'"....
Well, i guess that i need to get the old version of cygwin. This means the hole old setup. The problem will be the get it?

Or any other solution?


This is caused by a bug in Cygwin 1.5.19-x, 'dprintf' is defined in stdio.h but doesn't exist in the Cygwin library, so configure doesn't detect it.

To work around the bug in meantime:
Use Cygwin installer to go back to Cygwin 1.5.18-1

OR

After configure is completed, edit the config.h in eggdrop source directory and change:
/* #undef HAVE_DPRINTF */
to
#define HAVE_DPRINTF 1
Back to top
View user's profile Send private message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Mon Mar 20, 2006 2:05 pm    Post subject: Reply with quote

Quote:
After configure is completed, edit the config.h in eggdrop source directory and change:
/* #undef HAVE_DPRINTF */
to
#define HAVE_DPRINTF 1

God bless you. Working.

Big thanks to everyone.
Finally i sucessfully compiled a windrop with cygwin myself. Smile

I don`t want to withhold you: after compiling it the bot doesn`t connect to irc immediately. So telnet the bot to see whats up. "DNS lookup failed" when trying to connect to IRC servers.

A quick look into the windrop faq told me that i have to to disable the dns module.
loadmodule dns
to
#loadmodule dns
Done that. Bot connecting fast. Works until now without problems. The command dnslookup works aswell too.

Maybe i write a windrop compiling guide. Tbh that wasn`t easy for someone who never used cygwin before with all those pitfalls and the uncomplete compiling guide.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Tue Mar 21, 2006 11:21 am    Post subject: Reply with quote

sKy wrote:
Damm.

To change the cygwin1.dll from bin against the old version won`t help. Cygwin won`t start without errormessages then.

I want to get ride of the error ...."proto.h:133: error: conflicting types for 'dprintf'"....
Well, i guess that i need to get the old version of cygwin. This means the hole old setup. The problem will be the get it?

Or any other solution?
I say, even though this is an eggdrop forum and not a windrop forum, we be damn helpful anyways Laughing
sKy, why don't you uninstall/delete everything related to cygwin and/or tcl, then redo it from scratch, following the instructions to a T Question

Sure seems like a load of work tryin' to find that proverbial needle-in-a-haystack error...
Mr. Green just a thought, hope you get through it Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Tue Mar 21, 2006 5:56 pm    Post subject: Reply with quote

Quote:
I say, even though this is an eggdrop forum and not a windrop forum, we be damn helpful anyways

Maybe. I notice some things.
- It won`t be make much sense to start a windrop only forum. (imho)
- Eggdrop is not that different from windrop.
- Here are a lot of guys who want to help.
- It`s non comercial and like every thread else here. Therefore the admins of this fourm won`t care about.

Quote:
sKy, why don't you uninstall/delete everything related to cygwin and/or tcl, then redo it from scratch, following the instructions to a T

Cause i have already done that several times. The instructions was a bit outdated and umcomplete.

Perhaps you missed to to read my previos post before answering here? I said imy previous post that my problem is solved. =o
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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