From: Maurice L. <mj...@ga...> - 2002-09-15 19:06:44
|
Alan W. Irwin writes: > Maurice, I just built the plplot (1.5) python interface on RH 7.3 without > any problems For example, I can run pythondemos.py in plplot/tmp without any > problems. > > One potentially significant difference from your effort is I > used the attached python interface files that I generated with swig > on my Debian system. Could you please do the following? > > (1) See if the attached files work for you. They of course should be placed > in bindings/python with the exact names I have given them. The Makefile and > the symlinks set up in tmp by configure should take care of the rest. Hi, I finally got around to doing this, and yes it works! For the first time ever, I am seeing the plplot python bindings in action. :) So the difference is due to the change in version of swig. I am using 1.3.14 currently, so will back off to an older version as you suggested. > (2) If you also obtain success with those interface files, then please > compare them with what is generated by the latest-generation swig you > installed on your RH7.3 system, and please let me know what differences > there are. Lots. But the ones that look to be the likely culprits are: < #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. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |