From: Joao C. <jc...@fe...> - 2003-02-04 13:11:06
|
On Tuesday 04 February 2003 08:35, Rafael Laboissiere wrote: > * Alan W. Irwin <ir...@be...> [2003-02-03 14:17]: > > On Mon, 3 Feb 2003, Rafael Laboissiere wrote: > > > > make[3]: Entering directory `/home/jcard/plplot/bindings/python' > > > > python -o plplotcmodule_p_double.c -c++ -DPL_DOUBLE \ > > > > plplotcmodule.i > > > > Unknown option: -o > > > > > > No idea about this. Alan? > > > > The command should be > > > > $(SWIG) -python -o plplotcmodule_p_double.c -c++ -DPL_DOUBLE \ > > plplotcmodule.i > > > > So I think his error message is caused because $(SWIG) is undefined f= or > > him, but I don't know the root cause of that problem. One possibility= is > > the old autotools versions he is using. Another possibility is he may > > have forgot to specify --enable-maintainer-mode for his ./configure > > option. I don't know whether that is essential or not after you have > > done a make > > maintainer-clean, but I suspect it is. > > > > What happens, Joao, for the latest stable autotools versions, clean > > PLplot checkout, and --enable-maintainer-mode? > > Your diagnosis above related to the $(SWIG) variable is correct. Howev= er, > the problem cannot be caused at all by the absence of the option > --enable-maintainer-mode. I introduced maintainer-mode in a recent com= mit > (by adding AM_MAINTAINER_MODE to configure.ac) but for now the only thi= ng > that is done in maintainer mode is the printing of a warning message ab= out > the unavailability of swig. > > To sum up: even with option --disable-maintainer-mode (or, equivalently= , by > omitting --enable-maintainer-mode), but with --enable-python, the swig > checks are done, and the SWIG variable *must* be AC_SUBSTituted by eith= er > "swig" or "echo swig program not available #". > > I think that Joao should, first of all, update his AutoTools to the lat= est > versions, and then try to reproduce the bug. Yes, I will do that, give me some more time :) Joao |