Can you send the config.log file (not as a Word document, just the file as
is). What are the RPM's you have installed for libpcap(-dev)?
On a side note, this line from your first email is odd:
/usr/local/./libpcap.a(grammar.o): In function `pcap_parse':
Maybe RHEL 7.2 changed things, but /usr/local isn't where they used to
install the officially shipped libraries.
--
Aaron Turner
https://synfin.net/ Twitter: @synfinatic
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
On Mon, Feb 29, 2016 at 2:13 PM, Randy Southern <rsouth...@charter.net>
wrote:
> Still cannot get tcpreplay working for my sandbox. Must be doing
> something wrong, but I have gone over all the setting and have not found
> anything incorrect?
>
>
>
> Any ideas? I am on a time crunch?
>
>
>
> THX
>
>
>
> *From:* rsouth...@charter.net [mailto:rsouth...@charter.net]
> *Sent:* Monday, February 29, 2016 10:33 AM
> *To:* 'Main forum for tcpreplay'; 'Main forum for tcpreplay'
>
> *Subject:* Re: [Tcpreplay-users] tcpreplay 4.1.1 installation error
>
>
>
> Checked for all of those and they are installed on this RHEL 7.2 install.
> Even tried to reinstall them. I am installing, and running, the tcpreplay
> on the same server.
>
>
>
> Ran the "sudo make test" command and came up with a lot of errors. Any
> ideas? THX
>
>
>
>
>
>
>
> [tcprewrite] Pad test: make[1]: *** [rewrite_pad] Error 127
>
> [tcprewrite] Seed IP test: make[1]: *** [rewrite_seed] Error 127
>
> [tcprewrite] Src/Dst MAC test: make[1]: *** [rewrite_mac] Error 127
>
> [tcprewrite] Layer2 test: make[1]: *** [rewrite_layer2] Error 127
>
> [tcprewrite] Config/VLAN Add test: make[1]: *** [rewrite_config] Error 127
>
> [tcprewrite] Skip bcast test: make[1]: *** [rewrite_skip] Error 127
>
> [tcprewrite] DLT User test: make[1]: *** [rewrite_dltuser] Error 127
>
> [tcprewrite] DLT Cisco HDLC test: make[1]: *** [rewrite_dlthdlc] Error 127
>
> [tcprewrite] VLAN Delete test: make[1]: *** [rewrite_vlandel] Error 127
>
> [tcprewrite] Remove EFCS: make[1]: *** [rewrite_efcs] Error 127
>
> [tcprewrite] Force TTL: make[1]: *** [rewrite_1ttl] Error 127
>
> [tcprewrite] Increase TTL: make[1]: *** [rewrite_2ttl] Error 127
>
> [tcprewrite] Reduce TTL: make[1]: *** [rewrite_3ttl] Error 127
>
> [tcprewrite] TOS test: make[1]: *** [rewrite_tos] Error 127
>
> [tcprewrite] MTU Truncate test: make[1]: *** [rewrite_mtutrunc] Error 127
>
> make[1]: Target `test' not remade because of errors.
>
> make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/test'
>
> make: *** [test] Error 2
>
>
>
>
>
> -----------------------------------------
>
> From: "Fredrick Klassen"
> To: "Main forum for tcpreplay"
> Cc:
> Sent: Mon, 29 Feb 2016 07:25:30 -0800
> Subject: Re: [Tcpreplay-users] tcpreplay 4.1.1 installation error
>
> It sounds as though something is not installed properly on your target
> machine. Did you build on one machine and run on another? Normally
> "configure" will detect if a prereq is not installed.
>
> Check to ensure that "libpcap", "libpcap-dev", "flex" and "bison" are
> installed.
>
> Fred.
> > On Feb 29, 2016, at 6:14 AM, rsouth...@charter.net wrote:
> >
> > On a new RHEL 7.2 install, I am trying to install and play tcpreplay.
> Have installed this on many test servers, but having an issue on this
> install.
> >
> > Steps performed;
> > 1. downloaded and tar'd tcpreplay-4.1.1.tar.gz file.
> > 2. ran ./configure in above directory
> > 3. attached config.log. Received a number of errors.
> > 4. Ran make. Received a number of errors. here is the echo output.
> Errors at end. Here is last portion of echo output. Complete output is in
> attached file.
> >
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > CCLD tcpreplay
> > /usr/local/./libpcap.a(grammar.o): In function `pcap_parse':
> > grammar.c:(.text+0x401): undefined reference to `pcap_lex'
> > collect2: error: ld returned 1 exit status
> > make[3]: *** [tcpreplay] Error 1
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > make: *** [all-recursive] Error 1
> >
> > 5. Ran make install. Here is the echo output.
> >
> > [root@rhel-dcrum-amd tcpreplay-4.1.1]# make install
> > Making install in kernel
> > make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > Making install in linux
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > Making install in quick_tx
> > make[3]: Entering directory
> `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'
> > make[4]: Entering directory
> `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'
> > make[4]: Nothing to be done for `install-exec-am'.
> > /bin/sh /tmp/Replay/tcpreplay-4.1.1/config/install-sh -d
> /lib/modules/3.10.0-327.10.1.el7.x86_64/misc
> > /usr/bin/install -c -m 644 quick_tx.ko
> /lib/modules/3.10.0-327.10.1.el7.x86_64/misc/quick_tx.ko
> > /usr/sbin/depmod -a 3.10.0-327.10.1.el7.x86_64
> > make[4]: Leaving directory
> `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'
> > make[3]: Leaving directory
> `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > make[4]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > make[4]: Nothing to be done for `install-exec-am'.
> > make[4]: Nothing to be done for `install-data-am'.
> > make[4]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > make[3]: Nothing to be done for `install-exec-am'.
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel'
> > Making install in scripts
> > make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/scripts'
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/scripts'
> > make[2]: Nothing to be done for `install-exec-am'.
> > make[2]: Nothing to be done for `install-data-am'.
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/scripts'
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/scripts'
> > Making install in lib
> > make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/lib'
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/lib'
> > make[2]: Nothing to be done for `install-exec-am'.
> > make[2]: Nothing to be done for `install-data-am'.
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/lib'
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/lib'
> > Making install in libopts
> > make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > make install-am
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > make[3]: Nothing to be done for `install-data-am'.
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/libopts'
> > Making install in src
> > make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > Making install in common
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > make install-am
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > make[4]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > make[4]: Nothing to be done for `install-exec-am'.
> > make[4]: Nothing to be done for `install-data-am'.
> > make[4]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/common'
> > Making install in tcpedit
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make install-am
> > make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make[4]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make[4]: Nothing to be done for `install-exec-am'.
> > make[4]: Nothing to be done for `install-data-am'.
> > make[4]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make[3]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'
> > make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > CCLD tcpreplay
> > /usr/local/./libpcap.a(grammar.o): In function `pcap_parse':
> > grammar.c:(.text+0x401): undefined reference to `pcap_lex'
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [tcpreplay] Error 1
> > make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'
> > make: *** [install-recursive] Error 1
> >
> > 6. Tried to run tcpreplay, tcpreplay --help, in Replay directory and
> error states: Command not found.
> >
> > What am I missing or what did I do wrong? THX
> >
> > <Make echo
> output.docx>------------------------------------------------------------------------------
> > Site24x7 APM Insight: Get Deep Visibility into Application Performance
> > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> > Monitor end-to-end web transactions and take corrective actions now
> > Troubleshoot faster and improve end-user experience. Signup Now!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________
> /> > Tcpreplay-users mailing list
> > Tcpreplay-users@lists.sourceforge.net
> >
> <http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________%3cbr>
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> /> > Support Information:
> <https://lists.sourceforge.net/lists/listinfo/tcpreplay-users%3cbr>
> http://tcpreplay.synfin.net/trac/wiki/Support
> />
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> <http://tcpreplay.synfin.net/trac/wiki/Support%3cbr>
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> /> _______________________________________________
> Tcpreplay-users mailing list
> Tcpreplay-users@lists.sourceforge.net
> <http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140%3cbr>
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> /> Support Information:
> <https://lists.sourceforge.net/lists/listinfo/tcpreplay-users%3cbr>
> http://tcpreplay.synfin.net/trac/wiki/Support
> /> <http://tcpreplay.synfin.net/trac/wiki/Support%3cbr>
>
> This email has been sent from a virus-free computer protected by Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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