From: William S F. <ws...@fu...> - 2006-09-21 11:55:14
|
John Lenz <jlenz2 <at> math.uiuc.edu> writes: > > Ok, so I have run the test suites for a bunch of languages, and guile, > chicken, python, perl5, and mzscheme appear to be ok (mzscheme is hard > to see, because there are so many errors in the test suite, but the > imports and a few other runme tests ran fine). > > I have also tested tcl, ocaml, and ruby. Now the problems: > > I have not yet dug deeply into these problems, and if someone else has > already done so let me know. Otherwise I will take a closer look. > > 1) Tcl fails to even compile for any test and is majorly broken > Tcl all working except exception_partial_info. > 2) ruby fails on two tests > > Checking testcase newobject1 (with run test) under ruby > ./newobject1_runme.rb:12: RuntimeError (RuntimeError) > make[1]: *** [newobject1.cpptest] Error 1 > Checking testcase newobject2 (with run test) under ruby > ./newobject2_runme.rb:15: RuntimeError (RuntimeError) > make[1]: *** [newobject2.ctest] Error 1 > > Which has me concerned, because both of those tests are using the stuff > from swigrun.swg to create pointer objects. > For me, these tests never failed on any system, until I installed Suse 10.1 on one box. So it could be a newer version of Ruby/gcc or just a lurking bug that never was exposed. I got Ruby 1.8.4 and gcc-4.1.0. You'll see that the test fails with older versions of SWIG too, so I don't think it is anything newly introduced by SWIG. > 3) Ocaml fails every test with > Checking testcase abstract_access under ocaml > File "swig.ml", line 159, characters 54-57: > Warning X: this argument will not be used by the function. > File "swigp4.ml", line 6, characters 0-1: > Unbound value _loc > make[2]: *** [ocaml_static_cpp] Error 2 > > Not sure if I am missing some library or what... > > Lastly, I couldn't get lua, pike, php4, or R to work (the other > languages that use swigrun.swg), and I am not sure about getting them to > work. I have the (ubuntu) lua and pike packages installed, but > configure does not pick them up. > I've never managed to get Ocaml, Pike or mzscheme to work and never tried R. Lua 5.0.2 mostly works for me. The tests that don't work might need some tweaking in configure.in or probably just need installing properly. Usually you have to install a devel package in addition to the scripting language itself. Not sure if that helps too much! William |