[Aide] building 0.13.1 on Mac OS X

Kelly Martin kellymartin at gmail.com
Thu Apr 9 20:09:40 EEST 2009


Well I'm replying to an old thread but have the same problem... can't
seem to build AIDE 0.13.1 again, this time on a fresh install of the
latest Mac OS X Leopard (10.5.6). I tried the MacPorts build too, but
it also failed. When I try to compile it manually using "./configure
--with-mhash --disable-static" I get the following error during make:

make  all-recursive
Making all in src
bison -y  -d -p conf -o conf_yacc.c ../src/conf_yacc.y
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -g -O2   -g -O2
-MT conf_yacc.o -MD -MP -MF ".deps/conf_yacc.Tpo" \
	  -c -o conf_yacc.o `test -f 'conf_yacc.c' || echo './'`conf_yacc.c; \
	then mv -f ".deps/conf_yacc.Tpo" ".deps/conf_yacc.Po"; \
	else rm -f ".deps/conf_yacc.Tpo"; exit 1; \
	fi
In file included from ../include/report.h:26,
                 from ../include/aide.h:24,
                 from ../src/conf_yacc.y:21:
../include/db_config.h:371: error: syntax error before ‘off64_t’
../include/db_config.h:371: warning: no semicolon at end of struct or union
../include/db_config.h:372: warning: data definition has no type or
storage class
../include/db_config.h:373: error: syntax error before ‘bcount’
../include/db_config.h:373: warning: data definition has no type or
storage class
../include/db_config.h:384: error: syntax error before ‘}’ token
../include/db_config.h:384: warning: data definition has no type or
storage class
In file included from ../src/conf_yacc.y:28:
../include/gen_list.h:69: error: syntax error before ‘*’ token
../include/gen_list.h:69: warning: data definition has no type or storage class
In file included from ../src/conf_yacc.y:29:
../include/db.h:29: error: syntax error before ‘*’ token
../include/db.h:29: warning: data definition has no type or storage class
../include/db.h:33: error: syntax error before ‘*’ token
../include/db.h:37: error: syntax error before ‘*’ token
make[2]: *** [conf_yacc.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any thoughts?

Mac OS X seems particularly vulnerable in light of recent hacker news,
and the key is to *know* when you have been compromised. So I'd really
like to get AIDE working. Works great on my FreeBSD servers. I was
able to configure and install Samhain on Mac OS X but it's much more
difficult to configure.

FYI I'm using the stock XCode Tools that came with the operating
system. I've tried the latest set from Apple's developer side but
still had no luck compiling AIDE.
thanks,
Kelly



On Mon, Sep 3, 2007 at 2:56 AM, Kelly Martin <kellymartin at gmail.com> wrote:
> On 9/2/07, Axel Rau <Axel.Rau at chaos1.de> wrote:
>> Am 02.09.2007 um 20:27 schrieb Kelly Martin:
>>
>> > Has anyone got AIDE 0.13 running on a Mac?
>> Yes.
>> I have no problems, using
>>          ./configure --with-mhash --disable-static
>> Axel
>
> Cool, that works for me now. Thanks Axel!
>


More information about the Aide mailing list