Wireshark-dev: Re: [Wireshark-dev] error during the compilation.

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 29 Jul 2009 10:33:08 +0100
Aurélien Decagny wrote:
Maybe this could interest some of you:

When trying to install all the programs to compile Wireshark, I had the 
following error:

"C:\Python26\python.exe" rdps.py print.ps ps.c
        rm -f svnversion.h
        perl make-version.pl
Version configuration file version.conf not found.  Using defaults.
This is a build from SVN (or a SVN snapshot).
nmake fatal error U1077 c:\cygwin\bin\perl.EXE : return code '0x1'
Stop


I thought first it was because I made an upgrade of Cygwin on my 
computer. So I uninstalled like 10 times all the programs and 
reinstalled it, and it didn't solved the problem. This was on my 
computer at work, with Windows XP 32-bits.
Then I tried to install everything on my personal laptop, and I had 
exactly the same problem. And this one run with Windows Vista 64-bits 
(But I installed only 32-bits versions of the programs).

So maybe it is a coincidence, but maybe it could be a real problem. I 
don't know if one of you tried to install everything on a new computer 
recently, and this is why I write to you: does this error only happens 
for me, or some other people already saw it?

So for me, the solution was in both case to install a Perl program: 
ActivePerl (and launch it at least one time to associate the perl files 
with the executable).

I don't know if it could help somebody, but maybe it could be worthwhile 
to put it in the Developer's Guide?

Regards

Aurelien


Aurélien Decagny a écrit :
  
Hi,

I'm trying to compile Wireshark, but it doesn't work very well...
I have Windows XP (32-bits) on my computer.
One month ago, I already managed to compile Wireshark with the 
developer's guide. After the 1.2.1 version was out, I thought I should 
update my sources. So I did so, tried to re-compilate, and it didn't 
work. I uninstalled all the programs (Visual C++, python, Cygwin...), 
restarted my computer, and installed again all of them following the 
guide. But I still have the same error when I compile (nmake -f 
Makefile.nmake all)** :

nmake fatal error U1077 c:\cygwin\bin\perl.EXE : return code '0x1'
Stop

And I don't find any solution on the Internet.
So where is the problem?
I thought it was Cygwin, so I "uninstalled it" (delete the Cygwin 
folder in fact seems to be ths only way of uninstalling) and reinstall 
it, but I still have the same problem.

So what should I try to solve this problem?

Regards

Aurelien

Presuming that you were using the cygwin perl, do you know what version of cygwin and cygwin perl you installed?

-- 
Regards,

Graham Bloice