Ethereal-dev: RE: [Ethereal-dev] cvsversion.h isn't generated in MSVC Makefile. nmake

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 19 Jan 2004 10:32:28 +0100
Hi Anders,

Ethereal only requires a file named cvsversion.h in the top-level directory.
You can compile Ethereal by creating an empty cvsversion.h file (or by
running make-version.pl or "make cvsversion.h" at least once).

Regards,

Olivier

| -----Original Message-----
| From: Anders Broman
| 
| Hi,
| Building from todays tarball ( 2004-01-19) there i still 
| problems :) perhaps because
| cvsversion.h now required by main.c in /wiretap directory, I 
| suspect the script gets called
| to late. I did the following change to make it work :
| 
| --- makefile.old.nmake  2004-01-19 10:12:23.398262400 +0100
| +++ makefile.nmake      2004-01-19 09:46:19.088896000 +0100
| @@ -616,6 +616,7 @@
|  <<
| 
|  config.h       : config.h.win32 config.nmake
| +       $(PERL) make-version.pl
|         sed -e s/@VERSION@/$(VERSION)/ \
|             -e "s/@HAVE_GNU_ADNS@/$(ADNS_CONFIG)/" \
|             -e "s/@HAVE_PCRE@/$(PCRE_CONFIG)/" \
| 
| 
| I don't know if it's the right thing to do.
| Best regards
| Anders
| 
| 
| -----Original Message-----
| From: Joerg Mayer
| 
| On Sat, Jan 17, 2004 at 01:54:09AM +0100, Joerg Mayer wrote:
| > > Given that the script that generates cvsversion.h is 
| written in the 
| > > Swiss Army Chainsaw of programming languages, I wouldn't 
| be surprised 
| > > if it could just do the directory tree search for "Entries" files 
| > > itself - and I wouldn't even be surprised to find that it 
| could do it 
| > > with code that works both on Windows and on UNIX>
| > 
| > OK, I'll do that (I thought about it and was too lazy :) tomorrow.
| 
| Done. In case there are still problems on either Unix or 
| Windows, please
| let me know.
| 
|  ciao
|         Jörg