octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57935] mkoctfile: unrecognized argument /path


From: ederag
Subject: [Octave-bug-tracker] [bug #57935] mkoctfile: unrecognized argument /path/to/libopenblas.so
Date: Sun, 1 Mar 2020 14:09:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?57935>

                 Summary: mkoctfile: unrecognized argument
/path/to/libopenblas.so
                 Project: GNU Octave
            Submitted by: ederag
            Submitted on: Sun 01 Mar 2020 07:09:29 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

mkoctfile seems to fail when blas libraries are given as a path to the '.so'
file.

Installing nan yields


pkg install -forge nan
mkoctfile: unrecognized argument
/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64/libopenblas.so
/usr/local/gcc-9.2.0_binutils-2.32_isl/bin/mkoctfile-5.2.0 --mex -lgomp
/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64/libopenblas.so train.c tron.o
linear.o linear_model_matlab.c

__octave_config_info__('config_opts')
ans = 
'--with-blas=/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64/libopenblas.so'
'CPPFLAGS=-I/usr/local/gcc-9.2.0_binutils-2.32_isl/include:/usr/include'
'CFLAGS=-O2 -march=native' 'CXXFLAGS=-O2 -march=native' 'FFLAGS=-O2
-march=native' 'LDFLAGS=-L/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64
-Wl,-rpath,/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64'
'PKG_CONFIG_PATH=/usr/local/gcc-9.2.0_binutils-2.32_isl/lib64/pkgconfig'
'JAVA_HOME=/usr/lib64/jvm/java-10-openjdk-10'
'--prefix=/usr/local/gcc-9.2.0_binutils-2.32_isl'


Very similar error for optim, so it is not related to the --mex option at
all.
The nan package is a good example because it has been reported to work with
5.2.0: bug #57263

>From the following comment, at least the argument is at its expected place.
https://sourceforge.net/p/octave/optim/ci/c02b7b50344e4b3adf2451ddc579922eff88fbfa/





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57935>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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