В Пнд, 22/06/2009 в 14:07 -0700, Aaron Turner пишет:
> Peter, let me know if this works:
> 
> http://tcpreplay.synfin.net/tcpreplay-3.4.3.tar.gz

Hi, Aaron, and thank you for your help! There is a typo in configure.ac,
patch in attachment fixes it and with the patch everything works. Also
could you apply attached patch for Makefile.am to avoid the following
autoreconf error:

# autoreconf
Makefile.am:6: NEED_LIBOPTS does not appear in AM_CONDITIONAL
autoreconf-2.63: automake failed with exit status: 1

or probably another solution will be put libopts m4 macroses into m4
directory.

-- 
Peter.
=== modified file 'configure.ac'
--- configure.ac	2009-06-23 07:55:58 +0000
+++ configure.ac	2009-06-23 07:56:15 +0000
@@ -386,7 +386,7 @@
 
 # Does libpcap require libnl?
 AC_SEARCH_LIBS([pcap_close], [pcap],
-    LPCAPLIB="$LPCAPLIB",
+    LPCAPLIB="$LIBS",
     AC_ERROR([Unable to link libpcap in ${foundpcap}]),
     -lnl)
 

=== modified file 'Makefile.am'
--- Makefile.am	2009-06-23 07:55:58 +0000
+++ Makefile.am	2009-06-23 08:22:19 +0000
@@ -1,7 +1,7 @@
 # $Id$
 AUTOMAKE_OPTIONS = foreign
 
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4 -I libopts/m4
 
 if NEED_LIBOPTS
 SUBDIRS = scripts lib $(LIBOPTS_DIR) src

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to