Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Issues with Installing Libraries (Win32)

From: John Sullivan <jsethdev@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 23:27:26 +0100
On Thursday, October 16, 2008, 9:56:03 PM, Ramesh Sankaranarayanan wrote:
> The build appeared to run its course( all the packet dissector files were
> compiled) and ended up finally with this error:

>         bash -o igncr pod2html                     --title="The Wireshark
> Network Analyzer 1.1.2-DVB-SIM"  --css=ws.css  --noind
>               wireshark-tmp.pod > wireshark.html
> Can't execute /usr/bin/pod2html.
> NMAKE : fatal error U1077: 'bash' : return code '0x1d'
> Stop.
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
> return code '0x2'
> Stop.

> I do see the pod2html file in "c:\cygwin\bin". Any idea as to why it would
> fail at this point?

(No idea where the apparent decimal 29 return code got generated
above. pod2html/Pod::Html seem to only be able to generate 0/1/2. 29
is ESPIPE (illegal seek) under Linux and ERROR_WRITE_FAULT (cannot
write to the specified device) under Windows, neither of which seem
likely from their technical definitions.)

When I try `bash -o igncr echo` it says:

winsys$ uname -a
CYGWIN_NT-5.0 winsys 1.5.19s(0.148/4/2) 20051216 23:59:19 i686 unknown unknown Cygwin
winsys$ bash --version
GNU bash, version 3.00.16(11)-release (i686-pc-cygwin)
Copyright (C) 2004 Free Software Foundation, Inc.
winsys$ bash -o igncr echo
bash: line 0: bash: igncr: invalid option name
winsys$ echo $?
2

lnxsys$ uname -a
Linux lnxsys 2.6.16.60 #1 SMP Sun Feb 10 14:48:32 GMT 2008 i686 GNU/Linux
lnxsys$ bash --version
GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
lnxsys$ bash -o igncr echo
bash: line 0: bash: igncr: invalid option name
lnxsys$ echo $?
2

My cygwin installation hasn't been upgraded in a while.

Googling "cygwin" and "igncr" shows that there *could* be an issue
with it. It looks like it's a cygwin specific option and behaviour has
been changed significantly at some point.

If you run `bash -o igncr echo` at a cygwin bash prompt what do you
get?

If no error occurs there, what happens when you execute the command:

  bash -o igncr pod2html --title="The Wireshark Network Analyzer 1.1.2-DVB-SIM" --css=ws.css --noind wireshark-tmp.pod >wireshark.html

In the same directory from either a bash prompt or from the same
cmd.exe prompt?

John
-- 
Dead stars still burn