Ethereal-dev: RE: [Ethereal-dev] Problem in building ethereal - help needed

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 14 Feb 2006 09:48:39 -0000
Continuing the html top-posting.
 
I'm not aware of anyone successfully building ethereal on win32 using the GnuWin32 tools instead of Cygwin.  As explained in the README for Win32 (http://anonsvn.ethereal.com/ethereal/trunk/README.win32) additional tools will be required when building Ethereal from svn, including Bison.  As the README states:
Most of those tools are available for Win32 systems as part of the
Cygwin package:

	http://www.cygwin.com/

After installing them, you will probably have to modify the config.nmake
file to specify where the Cygwin binaries are installed.
The verify tools target of the makefile just confirms that the tools are available, it doesn't check their functionality.  It does appear that you have Cygwin installed (i.e. bash is reported as /usr/bin/bash), so I don't understand why you want to use the GnuWin32 tools.  Maybe you should try removing the GnuWin32\bin entry from your path and allow the Cygwin tools to run.
 
If you wish to continue with the use of GnuWin32 tools you may find yourself on new ground and will probably have to solve the issues yourself.
 
Regards,
 
Graham
 
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Sattanathan. S
Sent: 14 February 2006 08:46
To: ethereal-user@xxxxxxxxxxxx; ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] Problem in building ethereal - help needed

Hello,
 
Thanks for the comments.
I have installed bison v2.1 (downloaded from http://gnuwin32.sourceforge.net/), and setted the path in config.nmake file.
Here is the output of nmake -f MakeFile.nmake verify_tools. Output shows that, it is able to detect the bison properly as per my configurations in config.win32
 
C:\ethereal-0.10.14>nmake -f MakeFile.nmake verify_tools

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Checking for required applications:
        cl: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/cl
        link: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/link
        nmake: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin/nmake

        bash: /usr/bin/bash
        bison: /cygdrive/c/GnuWin32/bin/bison
        flex: /cygdrive/c/GnuWin32/bin/flex
        env: /usr/bin/env
        grep: /usr/bin/grep
        /usr/bin/find: /usr/bin/find
        perl: /cygdrive/c/Perl/bin/perl
        python: /cygdrive/c/python24/python
        sed: /cygdrive/c/GnuWin32/bin/sed
        unzip: /cygdrive/c/GnuWin32/bin/unzip
        wget: /cygdrive/c/GnuWin32/bin/wget

Problem is happening when it tries to execute bison -d -p ascend ascend-grammar.y -o ascend-grammar.c. Please let me know how I can solve this problem for executing nmake -f makefile.nmake all  for building ethereal.
Looking for your early help.


Regds
Sattanathan. S
 
 
 
  • Subject: RE: [Ethereal-dev] Problem in building ethereal - help needed
  • From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
  • Date: Mon, 13 Feb 2006 09:33:30 -0000

Continuing the html top posting style
 
Hmmm.
 
Bison should be in the usual place for cygwin bison, e.g. drive_and_path_to_cygwin/usr/bin/bison.
 
It sounds as though your build environment is fubared.
 
The path to the cygwin binaries (CYGWIN_PATH) is set in config.nmake which is then added to the main PATH.
 
Regards,
 
Graham
 
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto: ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Muthyala, Rajeswara Rao (Rajeswara Rao)** CTR **
Sent: 13 February 2006 05:55
To: 'Ethereal development'
Subject: RE: [Ethereal-dev] Problem in building ethereal - help needed

please make sure that you have bison.exe file in \VC98\bin folder .if not just download it and deploy.
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto: ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Sattanathan. S
Sent: Friday, February 10, 2006 6:13 PM
To: ethereal-dev@xxxxxxxxxxxx; ethereal-user@xxxxxxxxxxxx
Subject: [Ethereal-dev] Problem in building ethereal - help needed

Hi,
 
I'm getting the following error when I was trying to execute nmake -f makefile.nmake in command line prompt of Windows XP for the purpose of setting up of an development environment.
Platform: Windows XP, using Visual Studio 6.
FYI: I have installed all the softwares/tools/libraries as per README.win32 file, developer guide. nmake -f makefile.nmake verify_tools command is listing all the installed softwares as per the documentation provided in the Ethereal site.
. . . .
. . . .
. . . .
        "bison"  -d -p ascend ascend-grammar.y -o ascend-grammar.c
bison: m4: Invalid argument
NMAKE : fatal error U1077: '"bison"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.
 
Please let me know how I can solve this problem for executing nmake -f makefile.nmake all  for building ethereal.
Looking for your kind help.
 
Thanks a lot,
Regds
Sattanathan. S