ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] 0.99.4 packaging fails on Windows

From: "Anders Broman \(AL/EAB\)" <anders.broman@xxxxxxxxxxxx>
Date: Fri, 3 Nov 2006 16:33:23 +0100
Hi,
The src package is built on unix. Updating the epan/wslua/Makefile.am will
Make the unix build include this files in the src package.

If you build from a a SVN checkout there isn't a problem in the first place.
/Anders  

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Maynard, Chris
Sent: den 3 november 2006 14:21
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] 0.99.4 packaging fails on Windows

The link you sent for revision 19764 only lists one file that was changed, namely epan/wslua/Makefile.am.  This file is only used by automake, isn't it, which isn't used in a Windows build environment, so I don't think this will help.

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
Sent: Friday, November 03, 2006 2:42 AM
To: 'Developer support list for Wireshark'
Subject: Re: [Wireshark-dev] 0.99.4 packaging fails on Windows

Hi,
An attempt to fix it was checked in in rev 19764
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19764
I have not had the time to test it though.
/Anders 

-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Maynard, Chris
Skickat: den 3 november 2006 01:11
Till: Developer support list for Wireshark
Ämne: [Wireshark-dev] 0.99.4 packaging fails on Windows

I successfully compiled Wireshark 0.99.4 on a Win32 platform, but when I ran "nmake -f Makefile.nmake packaging", it failed as follows:

========================================
.....
File: "libtasn1-3.dll" 538493 bytes
File: "lua5.1.dll" 114688 bytes
File: "init.lua" 5611 bytes
File: "..\..\epan\wslua\console.lua" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "wireshark.nsi" on line 335 -- aborting creation process NMAKE : fatal error U1077: '"C:/program files/nsis/makensis.exe"' :
return code
'0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\Bin\ MAKE.EXE"' : return code '0x2'
Stop.

C:\wireshark-0.99.4>
========================================

It seems that the wireshark.nsi file includes these 2 lines [335-336], but neither file is present in the epan\wslua\ directory:

File "..\..\epan\wslua\console.lua"
File "..\..\epan\wslua\dtd_gen.lua"

Did "nmake -f Makefile.nmake" truly succeed and these 2 lines should simply be removed from the wireshark.nsi file, or should these 2 files actually be there and something went wrong during compilation, or something else?  I commented out the 2 lines and the installer seemed to build and install OK, but I guess I just wanted to make sure nothing is missing, such as the ..\epan\wslua\template-init.lua file, for example.

Thanks in advance,
Chris Maynard



-----------------------------------------
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev