Ethereal-dev: [Ethereal-dev] SVN compilation problem, missing svnversion.h

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

From: Peter Johansson <Peter.Johansson@xxxxxxxxxxxx>
Date: Mon, 20 Dec 2004 22:18:35 +0100
I have just went from downloading the source from the anonsvn repository to using an SVN client on Windows instead, I am using TortoiseSVN and have managed to do a complete checkout. I then added the required libraries (gtk, glib, adns etc.) and edited config.nmake to change the path to the ethereal source code and libraries as one should do before compiling.

To compile I did (note that the following only shows the compilation the second time to not waste your time with successful compiler output):
H:\ethereal-win32-libs>vcvars32
Setting environment for using Microsoft Visual C++ tools.
H:\ethereal-win32-libs>nmake -f Makefile.nmake

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

       cd tools
       NMAKE /                   -f Makefile.nmake

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

       cd lemon
       NMAKE /                   -f Makefile.nmake

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

       cd ..
       cd ..
       cd image
       NMAKE /                   -f Makefile.nmake

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

       cd ..
       cd wiretap
       NMAKE /                   -f Makefile.nmake

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

       cd ..
       perl make-version.pl
Version configuration file version.conf not found.  Using defaults.
This is a build from SVN (or a SVN snapshot).
Can't exec "svn": No such file or directory at make-version.pl line 79.
Unable to get SVN info! at make-version.pl line 79.
NMAKE : fatal error U1077: 'perl' : return code '0x2'
Stop.

H:\ethereal-win32-libs>

So I went looking for svnversion.h. It does not exist anywhere. At least not amongst the source that TortoiseSVN got for me. I therefor went to http://ftp.sunet.se/pub/network/monitoring/ethereal/ and downloaded ethereal-0.10.8.tar.gz, just to be able to get a hold of svnversion.h. I put it in the top directory, then ethereal finally was able to compile and link.

What is the problem really with svnversion.h? Should it be generated automatically or should it have been part of the SVN download which I did earlier (what would cause it not to be downloaded with the rest of the sources)?

/ Peter