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 

Problem with "make" on Snow Leopard/OSX
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
w0by
Voice


Joined: 24 Jan 2010
Posts: 14

PostPosted: Sun Jan 24, 2010 7:07 pm    Post subject: Reply with quote

Thanks...the new eggdrop directory that it installed works properly....is this just a bug in OSX or something do you think? I used to be able to install and it would work fine...but now it comes up with those errors. Weird.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Jan 24, 2010 7:18 pm    Post subject: Reply with quote

It might be an autoconf-issue from what I've google'd...
But simply put, the resolv library is not included in the linking when it's needed (autoconf fails to add it to the Makefile).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
w0by
Voice


Joined: 24 Jan 2010
Posts: 14

PostPosted: Sun Jan 24, 2010 7:32 pm    Post subject: Reply with quote

Thanks for your help...I'm not sure if the bot works though because it says its started but then I go to telnet to it and its dead...I'll figure it out hopefully.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Jan 24, 2010 7:59 pm    Post subject: Reply with quote

Step one would be to verify that it's still running - the ps command should list the currently running processes, though I'm not that familiar with OSX...

Also, if you've set my-ip or my-hostname in your config-file, you'll need to use this IP/hostname when telnetting, as your eggdrop then won't listen on any other addresses (such as localhost/127.0.0.1)

You could also try starting your eggdrop with -nt option (along with -m if you've yet to create a userfile). This should prevent your eggdrop from forking into background, hopefully giving you some more information as to what is going on..
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
w0by
Voice


Joined: 24 Jan 2010
Posts: 14

PostPosted: Sun Jan 24, 2010 8:46 pm    Post subject: Reply with quote

Thanks a lot for your help. It must've been a fluke or something, I'm not sure, but it's up and running and connected on IRC now so I'm not sure why it kept dying before. Thanks again! I'm going to make sure I keep this information in a text file so i'll be able to remember to do the steps you told me. Thanks again.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Jan 24, 2010 9:41 pm    Post subject: Reply with quote

If your eggdrop works well using the -nt flag, but freezes without it, then you are most likely suffering from a recent issue with threaded versions of libtcl8.5.
If that's the case, drop a post and I'll post the quickfix, otherwize - enjoy your eggie.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
w0by
Voice


Joined: 24 Jan 2010
Posts: 14

PostPosted: Mon Jan 25, 2010 1:33 am    Post subject: re: hey there Reply with quote

Hey there,

I just got home and tried to boot up the bot without the -nt and the process isn't there or dies within a second or something. I'm guessing I'm having the bug you were writing about. What's the quickfix that I should use?

Thanks again!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Jan 25, 2010 7:38 am    Post subject: Reply with quote

Locate the eggdrop.h file and open it in a text editor. Find a line that should look something like this
Code:
\* #undef HAVE_THREADED_TCL */

You'll have to chane that line into this
Code:
#define HAVE_THREADED_TCL 1

And then recompile your eggdrop.

Be adviced that this editing should be done after you've run the configure script, but before you start running make.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
w0by
Voice


Joined: 24 Jan 2010
Posts: 14

PostPosted: Mon Jan 25, 2010 11:53 pm    Post subject: Reply with quote

hmmmm...I'm looking in the eggdrop.h file and I can't find any similar lines that at all...I even did a search for the word "threaded" and it doesn't see anything....weird...do you think I should just put an older version of TCL on my system?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jan 26, 2010 2:53 pm    Post subject: Reply with quote

Sorry, my memory failed me. Look for HAVE_TCL_THREADS instead. Make sure it's #defined to 1
_________________
NML_375, idling at #eggdrop@IrcNET
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