Ethereal-dev: Re: [Ethereal-dev] Problems with python in building from SVN

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

From: Gilbert Ramirez <[email protected]>
Date: Fri, 23 Jul 2004 10:23:19 -0500
On Thursday 22 July 2004 23:49, Richard Sharpe wrote:
> Hi,
>
> I just tried building on a FreeBSD 4.3 system with a recent version of
> python (2.3.4), and here is what I got:
>
> Making all in dissectors
> /usr/local/bin/python  -o packet-ncp2222.c
> Unknown option: -o
>
> If I do python -h, -o is just not an option to python.
>

The name of the python script is missing. -o is an option to the script. The 
rule comes from epan/dissectors/Makefile.am:

packet-ncp2222.c : $(srcdir)/ncp2222.py
        $(PYTHON) $< -o [email protected]

Does your Makefile.am, and the generated Makefile, look like this?

--gilbert