[Aide] Trying to build aide on FreeBSD
Axel Rau
Axel.Rau at Chaos1.DE
Sat May 12 20:35:13 EEST 2007
Hello,
FreeBSD ports collection has aide 0.11
While trying to port aide 0.13.1, I have following problems.
-------------------------------------
gmake[2]: Entering directory `/usr/ports/local/security/aide/work/
aide-0.13.1/src'
bison -y @YFLAGS@ -d -p conf -o conf_yacc.c ../src/conf_yacc.y
Putting child 0x080886c0 (conf_yacc.c) PID 23096 on the chain.
Live child 0x080886c0 (conf_yacc.c) PID 23096
bison: extra operand `../src/conf_yacc.y'
Try `bison --help' for more information.
-------------------------------------
In Makefile and src/Makefile, I have
-YFLAGS = @YFLAGS@
Setting this to an empty sting, allows to build aide with
bison-2.3 and mhash-0.9.9.
When I start it, I get:
-------------------------------------
d2# aide --version
Aide 0.13.1
Compiled with the following options:
WITH_MMAP
WITH_LSTAT
WITH_READDIR
WITH_MHASH
CONFIG_FILE = "/usr/local/etc/aide.conf"
-------------------------------------
But databases/aide.db.new shows that mhash has not been linked:
-------------------------------------
@@begin_db
# This file was generated by Aide, version 0.13.1
# Time of generation was 2007-05-12 15:17:52
@@db_spec name lname attr perm uid gid inode lcount size mtime ctime md5
-------------------------------------
What's going on here?
The link command is:
-------------------------------------
cc -I/usr/local/include -static -I/usr/local/include -static -L/usr/
local/lib -pthread -static -L/usr/local/lib -pthread -o aide
conf_yacc.o conf_lex2.o getopt.o getopt1.o gnu_regex.o error.o md.o
db.o commandconf.o db_file.o db_disk.o db_lex2.o db_sql.o gen_list.o
list.o do_md.o base64.o symboltable.o compare_db.o be.o util.o
snprintf.o fopen.o aide.o -lm -lmhash -lcrypt -lz
-------------------------------------
Axel
---------------------------------------------------------------------
Axel Rau, ☀Frankfurt , Germany +49 69 9514 18 0
More information about the Aide
mailing list