From: Alan W. Irwin <irwin@be...> - 2004-02-17 03:42:54
I imported swig.m4 into acinclude.m4 like we discussed privately, and now
use the SWIG_PROG macro in configure.ac rather than the swig stanza in
sysloc.in to define the swig executable and do the swig version check. Also,
I use the PYTHON_DEVEL macro in configure.ac to figure out PYTHON_LDFLAGS.
Could you please make the equivalent changes for your new configuration
The newly determined PYTHON_LDFLAGS is now used bindings/python/Makefile.am
to find all symbols required in the python module link steps for the
-no-undefined case. I also changed bindings/java/Makefile.am to use
-no-undefined since the symbols should all be resolved in that case as well.
Also, I have just checked CVS HEAD using the standard installed examples
test and all is well. I also did the same thing with "make check" (with all
installed stuff removed), and all is well there except the java examples
don't work (as expected). java life gets somewhat complicated with the pure
build tree case (you have to compile the examples in the correct
subdirectory of bindings/java to maintain the java package mechanism, and
you have to fiddle with your CLASSPATH) so it will take a substantial effort
to fix this. I just plain don't have time/inclination now.
From my tests, I believe current cvs HEAD is ready for additional
cross-platform testing now to make sure my recent python, java, and libgd.la
linking changes work on Mac OS X, Cygwin, Solaris, and OSF1.
Rafael, could you please generate another test tarball from cvs HEAD? I
know you wanted to hold off until your new configuration project was done,
but I think it is important to test all these recent changes (which
_finally_ finishes everything immediate I wanted to do with linking issues)
on a wide variety of platforms using the old configuration paradigm before
we do the same tests for your new paradigm.
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the PLplot scientific plotting software
package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the
Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project