[Aide] Problems compiling Aide 0.10 on Solaris 9 SPARC

Thomas Toth ttoth at infosys.tuwien.ac.at
Fri Oct 29 18:32:58 EEST 2004


Hi,

I'd like to use Aide for checking my filesystem for changes - therefore
I'd like to set it up (and compile it myself).

I run Solaris 9 on Sparc.

As AIDE 0.10 requires some packages , I downloaded these (for solaris 9,
Sparc) from http://sunsite.univie.ac.at/Solfreeware/programlistsparc9.html
an installed them:

gcc_small-3.3.2-sol9-sparc-local
make-3.80-sol9-sparc-local
mhash-0.8.17-sol9-sparc-local
bison-1.875d-sol9-sparc-local
zlib-1.2.1-sol9-sparc-local
flex-2.5.31-sol9-sparc-local

Everything installed without problems (pkgadd -d <package>).

I set the path to /usr/local/bin, untared aide and then tried to compile
aide with the following commands:

./configure
make

During compilation of AIDE I got the following error-message:
bash-2.05# make
make  all-recursive
make[1]: Entering directory `/root/compiling_aide/aide-0.10'
Making all in src
make[2]: Entering directory `/root/compiling_aide/aide-0.10/src'
gcc -DHAVE_CONFIG_H -I. -I/root/compiling_aide/aide-0.10/src -I..
-I/usr/local/include -I/root/compiling_aide/aide-0.10/include 
-I/root/compiling_aide/aide-0.10 -I/root/compiling_aide/aide-0.10/src
-static  -g -O2 -static  -c conf_lex.c
conf_lex.c: In function `conflex':
conf_lex.c:4728: error: `yy_prev_more_offset' undeclared (first use in
this function)
conf_lex.c:4728: error: (Each undeclared identifier is reported only once
conf_lex.c:4728: error: for each function it appears in.)
make[2]: *** [conf_lex.o] Error 1
make[2]: Leaving directory `/root/compiling_aide/aide-0.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/compiling_aide/aide-0.10'
make: *** [all-recursive-am] Error 2

I assume that this is a problem with Bison (or an incompatibility?). In
the readme it states to compile aide with gnu yacc (?= bison?)
What can I do to resolve this problem? Do I use wrong packages?

Best regards,
Thomas



More information about the Aide mailing list