Yes, that did the trick...I won't forget that '\r' thing for awhile...
--- On Mon, 11/23/09, Aaron Turner <synfina...@gmail.com> wrote:
From: Aaron Turner <synfina...@gmail.com>
Subject: Re: [Tcpreplay-users] WinServer2003/cygwin configure failure
To: "Main forum for tcpreplay" <tcpreplay-users@lists.sourceforge.net>
Date: Monday, November 23, 2009, 12:01 PM
On Mon, Nov 23, 2009 at 10:53 AM, Chris Packham <judge.pack...@gmail.com> wrote:
> On Mon, Nov 23, 2009 at 1:21 PM, Aaron Turner <synfina...@gmail.com> wrote:
>> On Mon, Nov 23, 2009 at 9:25 AM, Robert Smith <rasmith2...@yahoo.com> wrote:
>>>
>>> Attempting to run configure on a Windows Server 2003 SP2 - cygwin
>>> 1.7.0-25 instance results in a failure:
>>> BEGIN Configure output
>>> ./configure: line 12: $'\r': command not found
>>> ./configure: line 23: syntax error near unexpected token '$'in\r' '
>>> ./configure: line 23: ' case '<set -o> 2>/dev/null' in
>>> END Configure output
>>>
>>> TCPReplay version 3.4.3
>>> GCC version 4.3.4
>>> libnet none
>>> libdnet none
>>> libpcap locations C:/cygwin/wpdpack & C:/Program Files/WinPcap
>>> Autogen none
>>> Platform Windows 2003 server SP2 with cygwin 1.0.7-25
>>> ./configure --with-libpcap=/wpdpack --enable-debug
>>> configure log none generated
>>> make output none
>>>
>>> Attempts to configure older versions of TCPReplay 3.0.0, 3.3.2 and 3.4.0
>>> result in the same failure.
>>>
>>> Any help would be appreciated.
>>
>>
>> Hmmm... never seen that before. I assume you are running configure
>> from within the Cygwin shell not cmd.exe?
>>
>> --
>
> '\r' is a carriage return character (in windows text files usually use
> \r\n to mark an end of line whereas *nix uses just \n). As I recall
> there is some cygwin setting to handle this but I'm not sure what it is.
Seems like something has added the \r. When I look for \r in
configure, there is only one line containing it and it's not \r\n:
atur...@macallan:~/tcpreplay-3.4.3> xxd configure | grep -E '( 0d|0d )'
00eb380: 6865 6e0a 0a0a 6163 5f63 723d 270d 270a hen...ac_cr='.'.
Perhaps you opened the file in a windows editor and hit save? Not
sure how you extracted the tarball, but you might try re-extracting it
via Cygwin:
tar zxvf tcpreplay-3.4.3.tar.gz
--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
"carpe diem quam minimum credula postero"
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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