From: Alan W. I. <ir...@be...> - 2002-12-25 00:07:34
|
On Tue, 24 Dec 2002, Maurice LeBrun wrote: > In my tests from last Sept, I found that swig versions: > > 1.3.11 - 1.3.13 > > were the only ones that worked with the plplot python wrapper code. > Specifically: > > 1.3.14 & 1.3.15 > > did NOT work, due to the following change: > > > < #define SWIG_init initplplotc > > < #define SWIG_name "plplotc" > > > > > #define SWIG_init init_plplotc > > > #define SWIG_name "_plplotc" > > > > The latter ones are those generated by swig 1.3.14. Ugh. > > Has this been fixed? I don't recall seeing cvs commits for it but could've > missed it. Not fixed. I may get to it in the next few days, but I am not sure I will have the time. I am playing with swig-1.3.17 at the moment, but the focus is on java. There *might* be a chance to produce a complete plplot API under java which is an exciting possibility. I have already gotten it to work well enough so I can produce our simplest example (x10.java), but I am still on pretty steep parts of both the swig and java learning curves so it is not clear how long this will take. It is possible I could get it done before January, but otherwise I will go with the present hand-crafted but fairly incomplete java interface we have now for the release, and try again with swig and java after the release. > > BTW the latest swig is up to 1.3.17. If we do go to release with it working > only with swig 1.3.11 - 1.3.13, this needs to be very prominently stated > *somewhere*. I am willing to state that somewhere, but it may not be necessary (or may not need to be very prominent) since it is only going to affect CVS developers as now. The tarball will have the swig-generated interface file in it already so no tarball (or rpm or deb) user will require swig at all. So in light of that extra information, what do you think of just putting a comment in the Makefile.am where swig is invoked and letting it go at that (assuming I don't have time to make 1.3.17 work)? If I use the right number of # characters in the front of such a comment it propagates to Makefile.in and Makefile as well. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |