octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave-2.9.17 from source - make check fails - please help!


From: kahacjde
Subject: Re: octave-2.9.17 from source - make check fails - please help!
Date: Tue, 13 Nov 2007 02:18:44 -0800 (PST)


juras wrote:
> 
> Hi everyone,
> 
> I compiled octave from source with suitesparse, hdf5 and qhull.
> The problem appears at the "make check" stage:
> 
> (...)
> scripts/general/trapz.m ................................ PASS    6/6
> scripts/geometry/convhull.m ............................panic:
> Segmentation fault -- stopping myself...
> make[2]: *** [check] Naruszenie ochrony pamięci
> make[2]: Leaving directory
> `/home/juras/download/octave/octave-2.9.16/test'
> make[1]: *** [check] Błąd 2
> make[1]: Leaving directory `/home/juras/download/octave/octave-2.9.16'
> make: *** [check] Błąd 2
> 
> To isolate the bug I started renaming the scripts/geometry/*.m files,
> which caused problems.
> This way I found out that the following files caused problems
> (segmentation fault):
> 
> -rw-rw-r-- 1 juras juras 2492 paź 12 23:27 convhull.m
> -rw-rw-r-- 1 juras juras 2857 paź 12 23:27 delaunay.m
> -rw-rw-r-- 1 juras juras 3163 paź 12 23:27 griddatan.m
> 
> When I get rid of these files the "make check" ends up with two other
> fails:
> (...)
>   scripts/general/trapz.m ................................ PASS    6/6
>   scripts/geometry/delaunay3.m ........................... PASS    1/1
>   scripts/geometry/dsearch.m ............................. PASS    2/2
>   scripts/geometry/dsearchn.m ............................ PASS    6/6
>   scripts/geometry/griddata.m ............................ PASS    0/1   
> FAIL 1
>   scripts/geometry/tsearchn.m ............................ PASS    5/5
>   scripts/image/imshow.m ................................. PASS    3/3
> (...)  
>  test_arith.m ........................................... PASS  237/238 
> FAIL 1
> (...)
> 
> It makes me think that I must have done something wrong. Please advice
> what can I do about it.
> My system is Linux from Scratch, gcc-4.2.2, P4 32bit.
> 
> Regards,
>          juras
> 

I had the same problem with opensuse 10.3. It seems, if you compile qhull
with gcc-4.2.2 and -O2 qhull crashes. I have no idea if its a compiler or
qhull problem.

After some research, I found a reference to this problem on a gcc mailing
list [2]. There it is suggested to compile qhull with -O using:

make CFLAGS=-O

After that make sure that the tests in the qhull source tree work. 

sh ./eg/q_test

If this is successful (!) you can install qhull again, recompile octave, now
the octave tests should work.

Kai

P.S. I have used this [1] src-rpm

[1] http://www.qhull.org/download/qhull-2003.1-1mdk.src.rpm
[2] http://gcc.gnu.org/ml/gcc-bugs/2007-09/msg00474.html
-- 
View this message in context: 
http://www.nabble.com/octave-2.9.17-from-source---make-check-fails---please-help%21-tf4796444.html#a13723169
Sent from the Octave - Maintainers mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]