From bug-octave-request at bevo dot che dot wisc dot edu Sat Oct 18 12:53:05 1997 Subject: Unidentified subject! From: "John W. Eaton" To: Vincent Cautaerts Cc: bug-octave at bevo dot che dot wisc dot edu Date: Sat, 18 Oct 1997 12:50:42 -0500 On 18-Oct-1997, Vincent Cautaerts wrote: | To: bug-octave at bevo dot che dot wisc dot edu | Subject: Installation and check problem | | Bug report for Octave 2.0.9 configured for i586-pc-linux-gnu | | Description: | ----------- | | When compiling octave with: | ./configure --prefix=/usr/local/ --enable-dl --enable-shared \ | --enable-lite-kernel | make | make check | | 1)The "check" utility may not be used before installation, because the | dynamic libraries are not found.(all tests fails) I believe this would be fixed by using libtool to handle building the shared libraries. Some time ago, someone volunteered to work on converting Octave's Makefiles to use it, but I don't think the work has been finished yet as I've not received any patches. | 2) After making "make install" it was OK expect: | 2a) I did (OK, it's stupid) run "make check" as root | => the test "geteuid-1.m" "getuid-1.m" "getegid-1.m" and "getgid-1.m" | did all fails (because my ID was "0"(=root)) These tests have already been fixed for the next release so that they will succeed if the returned value is >= 0, not just > 0. | 2b) The test "poly/poly-2.m" did fail | This test is: | all (all (poly ([1, 2; 3, 4]) - [1, -5, -2] < 20 * eps)) | and should return 1, but on my machine: | poly ([1, 2; 3, 4]) - [1, -5, -2] | gives | 0.0000e+00 0.0000e+00 2.4425e-15 | and eps = 2.2204e-16 | Therefore, the test failed. I changed this test to be all (all (abs (poly ([1, 2; 3, 4]) - [1, -5, -2]) < sqrt (eps))) which I think should be good enough. | One more remark: I first compiled "octave" without having DejaGnu installed, | and couldn't run the "make check". Installing "DejaGnu" only did not allow | me either to run it. That's because configure checks for runtest. Adding a definition for RUNTEST in Makeconf should be enough to allow you to run `make check' after installing dejagnu. | Re-running "configure" just introduced errors. Can you provide details? I don't have any problems running configure again after Octave has been compiled. Thanks, jwe