Re: Octave can't find BLAS or LAPACK

John Ferreira <[email protected]> Mon, 11 Apr 2022 11:27:08 -0400
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
Hello,

I have successfully added the -m32 flags to C, CPP and Fortran compilers. ./configure seems to work. However, when I run make -j5 I eventually get a make error:
Liboctave/system/lo-sysdep.cc:32:19: fatal error: codecvt: No such file or directory
#include<codecvt>

Is there a known fix for this issue?

Thank you,
John F

> On Apr 10, 2022, at 4:56 PM, Dmitri A. Sergatskov <[email protected]> wrote:
> 
> 
> Please reply to the list.
> You need to provide flags for C, C++, and Fortran compilers. 
> For gcc/clang the flag is "-m32"
> Try some kind of "Hello world" program first to make sure you got them right.
> 
> Dmitri.
> -- 
> 
> 
> 
>> On Sun, Apr 10, 2022 at 4:47 PM John Ferreira <[email protected]> wrote:
>> I tried passing CFLAG=“-mcpu=i686” 
>> I also tried CFLAG=“-march =i686”
>> 
>> But I still got the same BLAS and LAPACK error.
>> 
>> Thanks,
>> John
>> 
>>>> On Apr 10, 2022, at 4:34 PM, Dmitri A. Sergatskov <[email protected]> wrote:
>>>> 
>>> 
>>>> On Sun, Apr 10, 2022 at 4:26 PM John Ferreira <[email protected]> wrote:
>>>> Hello,
>>>> 
>>>> I am attempting to build a recent version of octave as a 32--bit i686 package for RHEL 7. I have installed the BLAS and LAPACK packages but ./configure does not detect the libraries. I have the 32 bit packages including the -devel packages installed as seen below:
>>>> 
>>>> 
>>>> I have also tried passing the library paths in ./configure option as:
>>>> ./configure  --prefix=/home/jferreira/builds/octaveCompile --with-blas=/usr/lib/libblas.so --with-lapack=/usr/lib/liblapack.so
>>>> 
>>>> I still get: configure: error: BLAS and LAPACK libraries are required.
>>>> 
>>>> Any help would be appreciated.
>>> 
>>> Did you tell your compiler to build i686 binary?
>>> 
>>>  
>>>> 
>>>> Thank you,
>>>> John Ferreira
>>>> 
>>> 
>>> Dmitri.
>>> --


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help