Ethereal-dev: [Ethereal-dev] Path slash issue for Windows Python builds ?

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

From: Neil Piercy <Neil.Piercy@xxxxxxxxxxxx>
Date: Tue, 23 May 2006 12:39:54 +0100
I've only just moved on to building the trunk head (under Windows MSVC6 with Python 2.4), and found that the builds failing all the new Makefile.nmake which have paths to new tools py scripts - e.g. in the plugins:

!IFDEF PYTHON
     @echo Making plugin.c (using python)
     @$(PYTHON) ../../tools/make-dissector-reg.py . plugin $(DISSECTOR_SRC)
!ELSE
     @echo Making plugin.c (using sh)
     @$(SH) ../../tools/make-dissector-reg . plugin $(DISSECTOR_SRC)
!ENDIF
  	
Whilst the latter works OK under cygwin python, the former doesnt with Windows native Python - I've moved to 2.4, but I guess the issue is there with 2.3 too - or am I mistaken on that ?

Changing the line to the below with Windows backslashes fixes this:-

     @$(PYTHON) ..\..\tools\make-dissector-reg.py . plugin $(DISSECTOR_SRC)

These have been introduced all over the place - about 80 places if I've got my script right! I've scripted changing them over, so if someone can confirm I'm not making a silly error, I'll happily submit a patch.

Regards,
Neil
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev