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.

Problems compiling on Mac OSX

Old posts that have not been replied to for several years.
Locked
L
LunarMoogle

Problems compiling on Mac OSX

Post by LunarMoogle »

Hey, I'm trying to compile eggdrop 1.6.16 and I get an error during ./configure:
configure: warning:

dlopen could not be found on this system. If you do have dlopen on your
system, and manage to figure out where it's located, add it to your XLIBS=
lines and #define HAVE_DLOPEN in config.h. We'll proceed on anyway, but you
probably won't be able to 'make eggdrop'. The default make will now be set
to static.
If you do manage to get modules working on this system, please let the
development team know how (eggdev@eggheads.org).
I looked around but I couldn't find a place to get dlopen. In fact, I found this which states that dlopen isn't even available for OSX. Now on eggheads it says that eggdrop is compatible with OSX, so is there something I need to do or am doing wrong?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

I think Eggdrop 1.6.17 RC1 fixes this problem.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I get that error too on most operating systems. :roll:
The easiest thing I do and it always works for me:

Once you have unzipped the eggdrop1.6.16 tar.gz file.
It will create a directory named eggdrop1.6.16 with the unzipped files in it.

All you need todo is rename that directory
eggdrop1.6.16 --> eggdrop1.6.15

After renaming it, then you can go into the directory:
cd eggdrop1.6.15

#Try to detect and configure modules
./configure

#Then go ahead and compile and install the bot
make
make install DEST=/home/usr/eggdrop

That should let you configure the modules as well as compile and install your bot. After that you can change the directory of your compilation it will not affect anything in the bot.

This method always works for me! :mrgreen:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Yeah, give RC1 a try. I reworked the module loading stuff almost completly. It supports MacOS and NeXT now.
S
SanchezTheLlama

Post by SanchezTheLlama »

I downloaded RC1 and gave it a try on my machine (running 10.3.5) and still had some weird compile errors. I used make iconfig and disabled the DNS module, and everything compiled fine. However, now when I try to run the bot (./eggdrop -m eggdrop.conf), I get the usual message telling me that I need to telnet into my bot etc etc, but no bot has actually been started. Pretty sure my config file is all in order, so any ideas?

-CJ 'SanchezTheLlama' Scaminaci
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Double check Setting up an Eggdrop against your config settings.

If you get a message "Launched into the background" when starting eggdrop then it's running. This can be checked by looking at your bg processes. The DNS and IRC modules are required also.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
S
SanchezTheLlama

Post by SanchezTheLlama »

But DNS doesn't compile :(. I suppose I'll have a look around the makefile and see if I can't fix it myself.

-CJ
q
quest

Post by quest »

Yep, 1.6.17RC1 works fine, but requires a few minor tweaks to get it to compile on os x.

The dns module includes <arpa/nameser_compat.h>, you will need to change that to <arpa/nameser_compat.h.>

In addition you will need to modify the main Makefile and change XLIBS to:

XLIBS = -L/usr/lib -ltcl8.4 -lm -lpthread -ldl -lresolv

Then it compiles clean and works great. Thx for the quick fixes.
Locked