|
|
|
|
Snort Forums Archive
Archive Home » Snort Development » macro `AM_PATH_LIBPRELUDE' not found in library
Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.
[ Notice: Full Version of This Topic ]
macro `AM_PATH_LIBPRELUDE' not found in library
Posted by roj on August 09, 2005 18:56:07
I'm tried to compile Snort with Snortsam patch but I have "aclocal/configuration" problem on 6 different OSs:
Fedora Core 1, Fedora Core 3, FreeBSD 5.5, CentOS 3.4, etc.
aclocal:configure.in:675: warning: macro `AM_PATH_LIBPRELUDE' not found in
library
I never had it before.
Please advise.
It is compilation listing:
------------------------------------------------------------------
[root@fc3 111]# ls -l
total 2124
-rw------- 1 root root 2126176 Aug 7 17:36 snort-2.4.0.tar.gz
-rw------- 1 root root 29395 Aug 7 17:36 snortsam-patch.tar.gz
[root@fc3 111]# tar xzf snort-2.4.0.tar.gz
[root@fc3 111]# tar xzf snortsam-patch.tar.gz
[root@fc3 111]# ./patchsnort.sh snort-2.4.0
Patching Snort version 2.x...
patching file spo_alert_fwsam.c
patching file spo_alert_fwsam.h
patching file twofish.c
patching file twofish.h
rm: cannot remove `spo_alert_fwsam.?.orig': No such file or directory
rm: cannot remove `twofish.?.orig': No such file or directory
patching file plugbase.c
Hunk #1 succeeded at 114 with fuzz 2 (offset 4 lines).
Hunk #2 succeeded at 589 with fuzz 2 (offset 14 lines).
patching file plugin_enum.h
Hunk #1 succeeded at 37 with fuzz 1.
Patching Makefiles...
Done
[root@fc3 111]# cd snort-2.4.0
[root@fc3 snort-2.4.0]# aclocal
configure.in:169: warning: underquoted definition of SN_CHECK_DECL
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:202: warning: underquoted definition of SN_CHECK_DECLS
configure.in:298: warning: underquoted definition of FAIL_MESSAGE
aclocal:configure.in:675: warning: macro `AM_PATH_LIBPRELUDE' not found in
library
[root@fc3 snort-2.4.0]# autoheader
[root@fc3 snort-2.4.0]# automake --add-missing
[root@fc3 snort-2.4.0]# autoconf
configure.in:675: error: possibly undefined macro: AM_PATH_LIBPRELUDE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
[root@fc3 snort-2.4.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... no
checking for sparc alignment... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
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 for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strerror... yes
checking for __FUNCTION__... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
./configure: line 7759: syntax error near unexpected token `0.9.0,'
./configure: line 7759: ` AM_PATH_LIBPRELUDE(0.9.0, use_prelude=yes,
use_prelude=no)'
[root@fc3 snort-2.4.0]#
------------------------------------------------------------------ |
|
Posted by hgkeh on August 11, 2005 01:02:44
In your snort source directory, there is a directory called m4. Just copy the libprelude.m4 in there to /usr/share/aclocal and recompile your snort. |
|
Posted by roj on August 14, 2005 03:35:35
It is working now. I am much obliged to you. Thank you. :)
Roj. |
|
Posted by swedge on April 24, 2006 14:16:12
ditto. thx hgkeh! |
|
|
|
|
|