[Aide] building 0.13.1 on Mac OS X

Darryl Taylor taylordl at fastmail.us
Sat Apr 11 03:07:06 EEST 2009


Here's the fix or workaround.

> From: Darryl Taylor <taylordl at fastmail.us>
> Date: August 13, 2008 9:38:24 PM EDT
> To: aide at cs.tut.fi
> Subject: [Aide] Building on Leopard
> Reply-To: Aide user mailinglist <aide at cs.tut.fi>
>
> Below are the options that darwin ports uses. So I tried compiling
> myself with those and a minimum set of --with-mhash and --disable-
> static. Both resulted in the errors below. I couldn't find the error
> in the code, looked at the configure options and assumed the the 64
> bit datatypes were for large file support. So I used the option --
> disable-lfs (disable large file support). It compiled successfully.
> Since I don't need to evaluate files larger than 2GB, I don't have any
> problems disabling this. Just wanted to let anyone using a Leopard
> know. To change this in macports, edit /opt/local/var/macports/ 
> sources/
> rsync.macports.org/release/ports/security/aide/Portfile and add --
> disable-lfs to configure.args. Hope this helps someone.
>
> $ ./configure --with-mhash --with-zlib --with-locale --disable-static
> $ 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

------------------

Darryl Taylor

I can accept failure, but I can't accept not trying.
Michael Jordan


If this message is pgp signed, you can access my public key at
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x85FA3C82.







On Apr 9, 2009, at 6:14 PM, Axel Rau wrote:

> Hi Kelly,
>
> Am 09.04.2009 um 19:09 schrieb Kelly Martin:
>>
>> Any thoughts?
> Not yet. I have it running, but can't build with recent libs from
> Apple. My build was last October.
> With 10.5.6, i386, gcc 4.0.1 I'm getting same error like you.
>
> Axel
> --- ar3
>
> _______________________________________________
> Aide mailing list
> Aide at cs.tut.fi
> https://mailman.cs.tut.fi/mailman/listinfo/aide

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20090410/e0e8ef9d/attachment.html 


More information about the Aide mailing list