I'm considering using AIDE (intrusion detection program) on my home PC and would like to do a trial run. My PC mostly runs Fedora. Although AIDE is available as a Fedora package, I'm trying to install it from source.
I downloaded the source gzip file and extracted the directory to my home directory. The procedure I'm trying to follow is: 1. ./configure (a script included in the AIDE directory) 2. make 3. make install I would then like to transfer the AIDE binary, configuration file, and database to a CD-RW disc or to a flash drive. The ./configure step failed. I have no experience compiling C programs. >From the following (edited) "config.log" file can someone see why configure failed? (I'm assuming the error is due to a mistake on my part having to do with C libraries.) ====================================================================================================================================================================================== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by aide configure 0.13.1, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = i686 uname -r = 2.6.30.8-64.fc11.i686.PAE uname -s = Linux uname -v = #1 SMP Fri Sep 25 04:56:58 EDT 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/qt-3.3/bin PATH: /usr/kerberos/bin PATH: /usr/lib/ccache PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /home/aweiner/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1844: checking for a BSD-compatible install configure:1900: result: /usr/bin/install -c configure:1911: checking whether build environment is sane configure:1954: result: yes configure:1987: checking for gawk configure:2003: found /usr/bin/gawk configure:2014: result: gawk configure:2025: checking whether make sets $(MAKE) configure:2046: result: yes configure:2285: checking for gcc configure:2301: found /usr/lib/ccache/gcc configure:2312: result: gcc configure:2550: checking for C compiler version configure:2557: gcc --version >&5 gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2560: $? = 0 configure:2567: gcc -v >&5 Using built-in specs. Target: i586-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i586 --build=i586-redhat-linux Thread model: posix gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) configure:2570: $? = 0 configure:2577: gcc -V >&5 gcc: '-V' option must have argument configure:2580: $? = 1 configure:2603: checking for C compiler default output file name configure:2630: gcc conftest.c >&5 configure:2633: $? = 0 configure:2671: result: a.out configure:2688: checking whether the C compiler works configure:2698: ./a.out configure:2701: $? = 0 configure:2718: result: yes configure:2725: checking whether we are cross compiling configure:2727: result: no configure:2730: checking for suffix of executables configure:2737: gcc -o conftest conftest.c >&5 configure:2740: $? = 0 configure:2764: result: configure:2770: checking for suffix of object files configure:2796: gcc -c conftest.c >&5 configure:2799: $? = 0 configure:2822: result: o configure:2826: checking whether we are using the GNU C compiler configure:2855: gcc -c conftest.c >&5 configure:2861: $? = 0 configure:2878: result: yes configure:2883: checking whether gcc accepts -g configure:2913: gcc -c -g conftest.c >&5 configure:2919: $? = 0 configure:3018: result: yes configure:3035: checking for gcc option to accept ISO C89 configure:3109: gcc -c -g -O2 conftest.c >&5 configure:3115: $? = 0 configure:3138: result: none needed configure:3167: checking for style of include used by make configure:3195: result: GNU configure:3223: checking dependency style of gcc configure:3306: result: gcc3 configure:3323: checking whether make sets $(MAKE) configure:3344: result: yes configure:3396: checking for ranlib configure:3412: found /usr/bin/ranlib configure:3423: result: ranlib configure:3453: checking for bison configure:3469: found /usr/bin/bison configure:3480: result: bison -y configure:3502: checking for flex configure:3518: found /usr/bin/flex configure:3529: result: flex configure:3566: flex conftest.l configure:3569: $? = 0 configure:3571: checking lex output file root configure:3587: result: lex.yy configure:3592: checking lex library configure:3611: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc8AUdVW.o: In function `input': /home/aweiner/aide-0.13.1/lex.yy.c:1168: undefined reference to `yywrap' /tmp/cc8AUdVW.o: In function `yylex': /home/aweiner/aide-0.13.1/lex.yy.c:867: undefined reference to `yywrap' /tmp/cc8AUdVW.o: In function `main': /home/aweiner/aide-0.13.1/conftest.l:17: undefined reference to `yywrap' collect2: ld returned 1 exit status configure:3617: $? = 1 configure: failed program was: | | #line 3 "lex.yy.c" < snip source-code listing> configure:3611: gcc -o conftest -g -O2 conftest.c -lfl >&5 configure:3617: $? = 0 configure:3638: result: -lfl configure:3644: checking whether yytext is a pointer configure:3665: gcc -o conftest -g -O2 conftest.c -lfl >&5 configure:3671: $? = 0 configure:3690: result: yes configure:3709: checking for pkg-config configure:3727: found /usr/bin/pkg-config configure:3740: result: /usr/bin/pkg-config configure:3749: checking whether to enable maintainer-specific portions of Makefiles configure:3758: result: no configure:3927: checking for library containing syslog configure:3968: gcc -o conftest -g -O2 -static -static conftest.c >&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:3974: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:3968: gcc -o conftest -g -O2 -static -static conftest.c -lbsd >&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:3974: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:3968: gcc -o conftest -g -O2 -static -static conftest.c -lsocket >&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure:3974: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:3968: gcc -o conftest -g -O2 -static -static conftest.c -linet >&5 /usr/bin/ld: cannot find -linet collect2: ld returned 1 exit status configure:3974: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:4002: result: no configure:4018: checking for vsyslog configure:4074: gcc -o conftest -g -O2 -static -static conftest.c >&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:4080: $? = 1 configure: failed program was: | /* confdefs.h. */ <snip source-code listing> configure:4098: result: no configure:4114: checking how to run the C preprocessor configure:4154: gcc -E -static conftest.c configure:4160: $? = 0 configure:4191: gcc -E -static conftest.c conftest.c:13:28: error: ac_nonexistent.h: No such file or directory configure:4197: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:4230: result: gcc -E configure:4259: gcc -E -static conftest.c configure:4265: $? = 0 configure:4296: gcc -E -static conftest.c conftest.c:13:28: error: ac_nonexistent.h: No such file or directory configure:4302: $? = 1 configure: failed program was: | /* confdefs.h. */ <snip source-code listing> configure:4340: checking for grep that handles long lines and -e configure:4414: result: /bin/grep configure:4419: checking for egrep configure:4497: result: /bin/grep -E configure:4502: checking for ANSI C header files configure:4532: gcc -c -g -O2 -static -static conftest.c >&5 configure:4538: $? = 0 configure:4637: gcc -o conftest -g -O2 -static -static conftest.c >&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:4640: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:4666: result: no configure:4690: checking for sys/types.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for sys/stat.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for stdlib.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for string.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for memory.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for strings.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for inttypes.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for stdint.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4690: checking for unistd.h configure:4711: gcc -c -g -O2 -static -static conftest.c >&5 configure:4717: $? = 0 configure:4733: result: yes configure:4745: checking whether byte ordering is bigendian configure:4778: gcc -c -g -O2 -static -static conftest.c >&5 configure:4784: $? = 0 configure:4816: gcc -c -g -O2 -static -static conftest.c >&5 conftest.c: In function 'main': conftest.c:29: error: 'not' undeclared (first use in this function) conftest.c:29: error: (Each undeclared identifier is reported only once conftest.c:29: error: for each function it appears in.) conftest.c:29: error: expected ';' before 'big' configure:4822: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:4962: result: no configure:4986: checking for byte configure:5016: gcc -c -g -O2 -static -static conftest.c >&5 conftest.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac__type_new_' conftest.c: In function 'main': conftest.c:60: error: 'ac__type_new_' undeclared (first use in this function) conftest.c:60: error: (Each undeclared identifier is reported only once conftest.c:60: error: for each function it appears in.) conftest.c:60: error: expected expression before ')' token configure:5022: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:5037: result: no configure:5047: checking for ushort configure:5077: gcc -c -g -O2 -static -static conftest.c >&5 configure:5083: $? = 0 configure:5098: result: yes configure:5108: checking for ulong configure:5138: gcc -c -g -O2 -static -static conftest.c >&5 configure:5144: $? = 0 configure:5159: result: yes configure:5169: checking for u16 configure:5199: gcc -c -g -O2 -static -static conftest.c >&5 conftest.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac__type_new_' conftest.c: In function 'main': conftest.c:62: error: 'ac__type_new_' undeclared (first use in this function) conftest.c:62: error: (Each undeclared identifier is reported only once conftest.c:62: error: for each function it appears in.) conftest.c:62: error: expected expression before ')' token configure:5205: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:5220: result: no configure:5230: checking for u32 configure:5260: gcc -c -g -O2 -static -static conftest.c >&5 conftest.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac__type_new_' conftest.c: In function 'main': conftest.c:62: error: 'ac__type_new_' undeclared (first use in this function) conftest.c:62: error: (Each undeclared identifier is reported only once conftest.c:62: error: for each function it appears in.) conftest.c:62: error: expected expression before ')' token configure:5266: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:5281: result: no configure:5291: checking for u64 configure:5321: gcc -c -g -O2 -static -static conftest.c >&5 conftest.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac__type_new_' conftest.c: In function 'main': conftest.c:62: error: 'ac__type_new_' undeclared (first use in this function) conftest.c:62: error: (Each undeclared identifier is reported only once conftest.c:62: error: for each function it appears in.) conftest.c:62: error: expected expression before ')' token configure:5327: $? = 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:5342: result: no configure:5354: checking for unsigned short configure:5384: gcc -c -g -O2 -static -static conftest.c >&5 configure:5390: $? = 0 configure:5405: result: yes configure:5412: checking size of unsigned short configure:5714: gcc -o conftest -g -O2 -static -static conftest.c >&5 /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status configure:5717: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ < snip source-code listing> configure:5737: error: cannot compute sizeof (unsigned short) See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## < snip listing of cache variables> ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLLIB='' ACLOCAL='${SHELL} /home/aweiner/aide-0.13.1/missing --run aclocal-1.7' AIDE_USE_LOCALE='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/aweiner/aide-0.13.1/missing --run tar' ATTRLIB='' AUDITLIB='' AUTOCONF='${SHELL} /home/aweiner/aide-0.13.1/missing --run autoconf' AUTOHEADER='${SHELL} /home/aweiner/aide-0.13.1/missing --run autoheader' AUTOMAKE='${SHELL} /home/aweiner/aide-0.13.1/missing --run automake-1.7' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2 -static' CPP='gcc -E' CPPFLAGS=' -static' CRYPTLIB='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LD_STATIC_FLAG='-static' LEX='flex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/aweiner/aide-0.13.1/missing --run makeinfo' OBJEXT='o' PACKAGE='aide' PACKAGE_BUGREPORT='' PACKAGE_NAME='aide' PACKAGE_STRING='aide 0.13.1' PACKAGE_TARNAME='aide' PACKAGE_VERSION='0.13.1' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PSQLLIB='' RANLIB='ranlib' SELINUXLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='0.13.1' YACC='bison -y' YFLAGS='' ac_ct_CC='gcc' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__leading_dot='.' am__quote='' bindir='${exec_prefix}/bin' build_alias='' curlconfig='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='/home/aweiner/aide-0.13.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## <snip listing of confdefs.h> configure: exit 77 _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Oct 7 - Glade - Linux GUIs made easy Nov 4 - Google Wave Dec 2 - MythTV Jan 6 - Git
