ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] win32-setup.sh and "nmake -f Makefile.nmake setup"

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

From: "Olivier Biot (Ethereal)" <ethereal@xxxxxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 22:02:48 +0100
Hi Olivier,

It works correctly *without* your patch on my system (note there are 2 cygpath calls in that script). I have a quite recent CygWin and use a rather fresh CVS snapshot, and it runs smoothly.

Is it possible that you chose DOS line-ending convention when you installed cygwin? I installed cygwin with the default (UNIX) line end setting.

Best regards,

Olivier

----- Original Message ----- From: Olivier Jacques

Hello,

in order to make the "nmake -f Makefile.nmake setup" work on my winXP
system (which has also cygwin installed), I had to change
tools/win32-setup.sh.
Here is the patch:

C:\transfer\ethereal\winbuild\ethereal>svn diff
Index: tools/win32-setup.sh
===================================================================
--- tools/win32-setup.sh        (revision 13798)
+++ tools/win32-setup.sh        (working copy)
@@ -42,7 +42,7 @@
       if [ -z "$2" -o -z "$3" -o -z "$4" ] ; then
               usage
       fi
-       DEST_PATH=`cygpath --unix "$2"`
+       DEST_PATH=`cygpath --windows "$2"`
       DEST_SUBDIR=$3
       PACKAGE_PATH=$4
       PACKAGE=`basename "$PACKAGE_PATH"`

I don't know if this is only me though. If someone can confirm that
"nmake -f Makefile.nmake setup" doesn't work "as is", then I would
suggest to try the diff so that we can eventually check it in.

Thanks,
Olivier