Build of 3.1.51+ Gperf and Make Check Hangs

Thomas D. Dean tomdean at speakeasy.org
Wed Feb 4 21:27:07 CST 2009


Octave 3.1.51+

I checked out the sources, configure, make, at 1600 PST.

I had errors in lex.cc (.l), octave_kw not defined.  I had oct-gperf.h
from the distribution, but, it was empty.  I checked after the compile
failed.

I installed gperf (sudo apt-get install gperf), cleaned out the
directory, restored the sources.

Then, the build completed without error.  I kept a script of the build.
There were 160 warnings of the "comparison always [true|false]", "old
style cast", "unused variable", etc..

Is there any interest in making a clean compile?

I do not have qrupdate or arpack, so I am missing some functionality.

'make check' appears to have hung.  It has been on 
...
 src/DLD-FUNCTIONS/hess.cc ....................... PASS    5/5   
 src/DLD-FUNCTIONS/eigs.cc ....................... <-- skipped no eigs
 src/DLD-FUNCTIONS/max.cc ........................ PASS   12/12  
 src/DLD-FUNCTIONS/dispatch.cc ...................

for some 35 minutes, using 100% of one cpu, quad 2.8GHz, 4G RAM, 160G
Disk, 80% empty.  I killed the process after 48 minutes, dinner!

>From fntest.log

>>>>>
processing /home/tomdean/Math/Octave/Development/octave/src/DLD-FUNCTIONS/
dispatch.cc
  ***** test # replace base m-file
 echo_to_file ('function a=dispatch_x(a)', "dispatch_x.m");
 dispatch('dispatch_x','length','string')
 assert(dispatch_x(3),3)
 assert(dispatch_x("a"),1)
 sleep (2);
 echo_to_file ('function a=dispatch_x(a),++a;', "dispatch_x.m");
 rehash();
 assert(dispatch_x(3),4)
 assert(dispatch_x("a"),1)
!!!!! test failed
`dispatch_x' undefined near line 5 column 9


The file dispatch_x.m does not exist.
The file dispatch_y.m contains one line:
function a=dispatch_y(a)

I have not figured out the test, but, the sleep(2), as mentioned before
seems to indicate some sort of timing problem.  What can I do to help
with this?

tomdean




More information about the Bug-octave mailing list