[Aide] trouble compiling aide-0.13.1 on solaris 10 x86

Thomas Leveille thomas.leveille at gmail.com
Mon Feb 26 17:06:35 EET 2007


I managed to compile and use aide on Solaris 8 sparc but not with
Solaris 10 x86 :

It looks like flex is the problem according to the config.log. I tried
with flex 2.5.33 from both the sunfreeware packages and from source.

Here is the output from configure :

$ ./configure --prefix=/softwares/aide --with-mhash --with-zlib
 checking for a BSD-compatible install... ./install-sh -c
 checking whether build environment is sane... yes
 checking for gawk... no
 checking for mawk... no
 checking for nawk... nawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking whether make sets $(MAKE)... (cached) yes
 checking for ranlib... ranlib
 checking for bison... bison -y
 checking for flex... flex
 checking lex output file root... lex.yy
 checking lex library... -lfl
 checking whether yytext is a pointer... yes
 checking for pkg-config... /bin/pkg-config
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for library containing syslog... no
 checking for vsyslog... no
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
 checking for egrep... /usr/xpg4/bin/grep -E
 checking for ANSI C header files... no
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking whether byte ordering is bigendian... yes
 checking for byte... no
 checking for ushort... yes
 checking for ulong... yes
 checking for u16... no
 checking for u32... no
 checking for u64... no
 checking for unsigned short... yes
 checking size of unsigned short... configure: error: cannot compute
sizeof (unsigned short)
 See `config.log' for more details.

I put the config.log file as an attachment

Any idea ?

--
Thomas Leveille
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 80068 bytes
Desc: not available
Url : https://mailman.cs.tut.fi/pipermail/aide/attachments/20070226/cef8c47d/attachment-0001.bin 


More information about the Aide mailing list