help-octave
[Top][All Lists]
Advanced

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

Re: Building Octave from source


From: Markus Mützel
Subject: Re: Building Octave from source
Date: Mon, 28 Dec 2020 21:48:38 +0100

Am 28. Dezember 2020 um 18:32 Uhr schrieb "Sambeet Panigrahi":
> Hi,
> I have built Octave from source using the instructions from the Octave 
> building website[http://wiki.octave.org/Building]. I used the debian 
> maintainers 
> site[https://salsa.debian.org/pkg-octave-team/octave/blob/master/debian/control]
>  to get the debian packages that can be installed using apt. So after 
> installing all the dependencies, I used the following code:
> hg clone https://www.octave.org/hg/octave[https://www.octave.org/hg/octave] 
> && \
> cd octave                                  && \
> ./bootstrap
> 
> mkdir .build                            && \
> cd    .build                            && \
> ./../configure --prefix=$HOME/my_octave
> 
> But using the above I get the following error: configure: WARNING: SUNDIALS 
> IDA library not configured with SUNLINSOL_KLU or sunlinksol_klu.h is not 
> usable.   The solvers ode15i and ode15s will not support the sparse Jacobian 
> feature. I managed to build Octave using the command, ./../configure 
> --prefix=$HOME/my_octave CPPFLAGS="-I/usr/include/suitesparse"
>  Because I found the klu.h library inside suitesparse.How can I add this to 
> the configure.ac[http://configure.ac]
> so that next time I can just configure using: ./../configure 
> --prefix=$HOME/my_octave
> Can someone please help me out?
 
Which version of SuiteSparse do you use?

Might be related to https://savannah.gnu.org/bugs/?55937
IIUC, SUNLINSOL_KLU should be working out of the box with SuiteSparse 4.1 (and 
newer?).

Markus





reply via email to

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