Ethereal-dev: RE: [Ethereal-dev] Can't make on Windows with Visual C++ on latest CVS
My makefile.nmake looks like:
# On Windows, however, that script runs slowly, as multiple greps
# and seds are run for each input file, so, if Python is present
# (as indicated by PYTHON being defined), we run a faster Python
# script to do that work instead. That script doesn't take the name
# of the file to write as an argument; it always writes to
# "register.c".
#
register.c: $(DISSECTOR_SRC)
!IFDEF PYTHON
@echo Making register.c (using python)
@$(PYTHON) make-reg-dotc.py . $(DISSECTOR_SRC)
!ELSE
@echo Making register.c (using sh)
@$(SH) make-reg-dotc register.c . $(DISSECTOR_SRC)
!ENDIF
and it works fine.
tjp
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Ian Schorr
> Sent: Thursday, March 18, 2004 2:49 PM
> To: Ethereal development
> Subject: Re: [Ethereal-dev] Can't make on Windows with Visual C++ on
> latest CVS
>
>
> I've gotten these errors since a CVS update a couple of weeks ago.
>
> I'd gotten these in the past and it seemed to relate to the
> size of the
> "python" command-line that's executed. I'd been able to avoid the
> problem by removing the amount of whitespace in the DISSECTOR_SRC in
> epan\Makefile.common (well, \Makefile.common at the time). This no
> longer avoids the problem.
>
> Using sh should work fine though (albeit slowly). Just
> comment out the
> Python line in config.nmake.
>
> Are some people getting this to work in Windows using Python?
>
> Ian
>
> Greg Morris wrote:
>
> >I completely deleted my distro and then downloaded the current CVS
> >again. When running nmake -f makefile.nmake then the makefile in the
> >epan directory returns the following error.
> >
> >Making register.c (using python)
> >C:/python22/python.exe: can't open file '..'
> >NMAKE : fatal error U1077: 'C:/python22/python.exe' : return code
> >'0x2'
> >Stop.
> >
> >It appears that the running of the make-reg-dotc.py is failing in the
> >epan makefile.nmake.
> >
> >register.c: $(DISSECTOR_SRC)
> >!IFDEF PYTHON
> > @echo Making register.c (using python)
> > @$(PYTHON) ../make-reg-dotc.py . $(DISSECTOR_SRC)
> >!ELSE
> > @echo Making register.c (using sh)
> > @$(SH) ../make-reg-dotc register.c . $(DISSECTOR_SRC)
> >!ENDIF
> >
> >Is this due to some of the changes for the shared lib support?
> >
> >Greg
> >
> >
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>