From: Rafael L. <lab...@ps...> - 2003-02-04 09:00:59
|
* 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 for 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. However, the problem cannot be caused at all by the absence of the option --enable-maintainer-mode. I introduced maintainer-mode in a recent commit (by adding AM_MAINTAINER_MODE to configure.ac) but for now the only thing that is done in maintainer mode is the printing of a warning message about 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 either "swig" or "echo swig program not available #". I think that Joao should, first of all, update his AutoTools to the latest versions, and then try to reproduce the bug. -- Rafael |