[ejabberd] Can't make ejabberd...
travisbell at mac.com
Tue Oct 11 22:01:14 MSD 2005
Do you know what other files I need to change? I am not sure myself,
and yes after I changed that it proceeded to get much farther until
eventually erroring out again.
Also, just so I'm clear, the line to add to CFLAGS is:
-fno-common -bundle -undefined suppress -flat_namespace
Thanks for your help, I really appreciate it.
On 11-Oct-05, at 1:25 AM, Mickael Remond wrote:
> Travis Bell wrote:
>> Hey guys,
>> I have got every pre-requisite installed correctly (as far as I
>> can see)
>> but when I go to "make" ejabberd it spits out the following error;
>> lasher:/Users/admin/Desktop/ejabberd-0.9.8/src root# make
>> gcc -Wall -g -O2 -I/usr/local/lib/erlang/usr/include \
>> expat_erl.c \
>> -lexpat \
>> -lerl_interface -lei
>> -I/usr/local/lib/erlang/usr/include \
>> -o expat_erl.so -fpic -shared
>> gcc: unrecognized option `-shared'
>> cc1: warning: -fpic is not supported; -fPIC assumed
>> expat_erl.c: In function `ei_x_encode_string_len_fixed':
>> expat_erl.c:81: warning: implicit declaration of function
>> ld: Undefined symbols:
>> make: *** [expat_erl.so] Error 1
>> This is on a G5 Xserve with OS X 10.3. I have checked my PATH vars
>> they seem to look good.
>> Can anyone help me out here? I am at somewhat of a loss!
> I have compiled ejabberd for MacOS (For the REPOS CDROM) and here are
> the needed modifications. You have to change the Makefile:
> - on line 51, remove -fPIC -shared
> - on line 4, add to the CFLAGS value: -fno-common -bundle -undefined
> suppress -flat_namespace
> Do the same for all the make file that are causing trouble.
> (This tips was given to me by Christophe Romain :-)
> I hope this will also work for you.
> Mickaël Rémond
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd