Ethereal-dev: RE: [Ethereal-dev] win32-setup.sh and "nmake -f Makefile.nmake se tup"
Title: RE: [Ethereal-dev] win32-setup.sh and "nmake -f Makefile.nmake setup"
I had the same problem as Olivier, switch to the UNIX line and it's now working.
I suggest the enclosed note inside the README.win32.
Best regards,
Jérémy
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]
Sent: 23 March 2005 22:03
To: Ethereal development
Subject: Re: [Ethereal-dev] win32-setup.sh and "nmake -f Makefile.nmake setup"
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
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-dev
Attachment:
patch.readme
Description: Binary data