failed build with current mercurial sources

Ben Abbott bpabbott at mac.com
Thu Mar 20 07:25:06 CDT 2008


On Mar 19, 2008, at 11:58 PM, John W. Eaton wrote:

> On 19-Mar-2008, Ben Abbott wrote:
>
> | I've now also been successful using the same configure options that
> | Fink uses. Specifically,
> |
> | ./configure '--prefix=/sw' 'FLIBS=/sw/lib/gcc4.3/lib/
> | libgfortran.dylib' 'F77=/sw/bin/gfortran' '--libexecdir=${prefix}/ 
> lib'
> | 'CFLAGS=-g -O3' 'LDFLAGS=-g -L/sw/lib' 'CPPFLAGS=-I/sw/include'
> | 'CXXFLAGS=-g -O3' 'FFLAGS=-g -O3 -fbounds-check -ff2c' '--with- 
> lapack=-
> | Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/
> | Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ 
> Versions/A/
> | libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/
> | Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib'  
> '--
> | with-blas=-Wl,-framework,Accelerate,-dylib_file,/System/Library/
> | Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
> vecLib.framework/
> | Versions/A/libBLAS.dylib:/System/Library/Frameworks/
> | Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ 
> Versions/A/
> | libBLAS.dylib'
>
> What sources are you using?  Do you have the xzdotc.f function and the
> modified qrupdate file that uses it?  If so, then I think you should
> be able to omit the -ff2c flag as well.
>
> jwe


The tip of my archive is,

changeset:   7719:ad068183ba76
branch:      release-3-0-x
tag:         tip
parent:      7716:82117ce3cd55
user:        John W. Eaton <jwe at octave.org>
date:        Wed Mar 19 16:28:23 2008 -0400
summary:     Emil Lucretiu

I've just upated to,

changeset:   7720:4f903c303c3c
tag:         tip
parent:      7718:60398362938c
user:        Jaroslav Hajek <highegg at gmail.com>
date:        Wed Mar 19 21:22:20 2008 -0400
summary:     implement subspace function

... I've removed the -ff2c parameter and built fresh. All tests pass!

My simple test code also works!

	mldivide (2*eye(500) + circshift (eye (500), 1), ones (500, 1));

Regarding the xztodc.f and modified qrupdate,

    1 2008-03-18  John W. Eaton  <jwe at octave.org>
    2
    3         * qrupdate/zqrqhv.f (zqrqhv): Call xzdotc instead of  
zdotc.
    4         * blas-xtra/xzdotu.f: Eliminate local zdotu variable.
    5         * blas-xtra/xzdotc.f: New file.
    6         * blas-xtra/Makefile.in (FSRC): Add it to the list.

I hadn't noticed that change when it was made. It is likely that I  
haven't tried to build with it until yesterday.

John/Jaroslav, thanks for the effort in resolving my problem.

Ben


More information about the Bug-octave mailing list