bugGNU Octave - Bugs: bug #54939, Getting error while performing...

 
 

bug #54939: Getting error while performing installation of octave 4.4.1 in linux

Submitter:  Harika Kotakonda <harika>
Submitted:  Fri 02 Nov 2018 11:25:59 AM UTC
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid Assigned to:  None
Originator Name:  harika Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Sun 30 Dec 2018 01:02:25 PM UTC, comment #8: 

This is not a bug with Octave.  The user simply needs to have a more modern version of SuiteSparse installed.

Rik <rik5>
Project Administrator
Mon 05 Nov 2018 09:31:33 AM UTC, comment #7: 

Hi Mike,

how to check the version of suitesparse.

Regards
Harika

Harika Kotakonda <harika>
Sat 03 Nov 2018 09:46:02 PM UTC, comment #6: 

Mike you are right.  Sorry for noise comment #4, I did not read careful enough :/

Kai Torben Ohlhus <siko1056>
Project Member
Sat 03 Nov 2018 09:33:19 PM UTC, comment #5: 

The problem here seems to be with the SuiteSparse header files, the OP here seems to have gotten past the C++ compiler being too old.

What version of SuiteSparse are you building Octave against? Is it the version supplied by the EPEL 6 repositories, version 3.4.0?

If so, then the problem is that your version of SuiteSparse is too old to be used with the current version of Octave. You should try installing a newer version of SuiteSparse, probably version 4.0 or later, or build Octave without SuiteSparse when you need to use RHEL 6.

Mike Miller <mtmiller>
Project Administrator
Sat 03 Nov 2018 09:06:23 PM UTC, comment #4: 

Already answered on the mailing list:
https://lists.gnu.org/archive/html/help-octave/2018-11/msg00016.html

If this was the problem, this bug can be closed.

Kai Torben Ohlhus <siko1056>
Project Member
Sat 03 Nov 2018 04:27:10 PM UTC, comment #3: 

Hi Mike,
The octave 4.4.1 version installed successfully under rhel 7 versions.When i installed the same octave 4.4.1 in rhel 6 version i got this error first.

"configure: error: a compiler that fully supports C++11 is required to build Octave ".

Then i tried this command "/opt/rh/devtoolset-3/root/usr/bin/gcc " to configure again .

After performing the above command i did not get c++11 error but i got the suitesparse (below mentioned error).

Let me know if you need more info on it.

Regards
Harika

Harika Kotakonda <harika>
Fri 02 Nov 2018 06:33:42 PM UTC, comment #2: 

The type 'SuiteSparse_long' is defined in the header file SuiteSparse_config.h. You might want to check that your SuiteSparse installation is correct and up to date. If there is really an issue with building against a particular version of SuiteSparse, please give some more details on this bug report.

Mike Miller <mtmiller>
Project Administrator
Fri 02 Nov 2018 05:25:40 PM UTC, comment #1: 

You are probably missing the development libraries for SuiteSparse.  If you are on a debian system, or one of its derivatives like Ubuntu or Mint, try the following

apt-get build-dep octave

After that, you will need re-run configure and make.

Rik <rik5>
Project Administrator
Fri 02 Nov 2018 11:25:59 AM UTC, original submission:  

Hi,
When i tried to install octave 4.4.1 in gnu linux im getting this error . This error seems to be related to the definition of variable type suitesparse

 CXX      liboctave/array/liboctave_array_libarray_la-CSparse.lo
In file included from liboctave/array/CSparse.cc:54:0:
./liboctave/util/oct-sparse.h:166:11: error: âSuiteSparse_longâ does not name a type
   typedef SuiteSparse_long suitesparse_integer;
           ^
./liboctave/util/oct-sparse.h:171:10: error: âsuitesparse_integerâ does not name a type
   extern suitesparse_integer *
          ^
./liboctave/util/oct-sparse.h:174:16: error: âsuitesparse_integerâ does not name a type
   extern const suitesparse_integer *
                ^
./liboctave/util/oct-sparse.h:178:27: warning: âto_octave_idx_type_ptrâ initialized and declared âexternâ
   to_octave_idx_type_ptr (suitesparse_integer *i);
                           ^
./liboctave/util/oct-sparse.h:178:27: error: âsuitesparse_integerâ was not declared in this scope
./liboctave/util/oct-sparse.h:178:48: error: âiâ was not declared in this scope
   to_octave_idx_type_ptr (suitesparse_integer *i);
                                                ^
./liboctave/util/oct-sparse.h:181:33: error: âsuitesparse_integerâ does not name a type
   to_octave_idx_type_ptr (const suitesparse_integer *i);
                                 ^
./liboctave/util/oct-sparse.h:181:55: error: âconst octave_idx_type* octave::to_octave_idx_type_ptr(const int*)â redeclared as different kind of symbol
   to_octave_idx_type_ptr (const suitesparse_integer *i);
                                                       ^
./liboctave/util/oct-sparse.h:178:3: note: previous declaration âoctave_idx_type* octave::to_octave_idx_type_ptrâ
   to_octave_idx_type_ptr (suitesparse_integer *i);
   ^
liboctave/array/CSparse.cc: In member function âComplexDET SparseComplexMatrix::determinant(octave_idx_type&, double&, bool) constâ:
liboctave/array/CSparse.cc:1116:38: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                      octave::to_suitesparse_intptr (Ap),
                                      ^
liboctave/array/CSparse.cc:1117:38: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                      octave::to_suitesparse_intptr (Ai),
                                      ^
liboctave/array/CSparse.cc:1125:47: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                               octave::to_suitesparse_intptr (Ap),
                                               ^
liboctave/array/CSparse.cc:1126:47: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                               octave::to_suitesparse_intptr (Ai),
                                               ^
liboctave/array/CSparse.cc:1146:40: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
             = UMFPACK_ZNAME (numeric) (octave::to_suitesparse_intptr (Ap),
                                        ^
liboctave/array/CSparse.cc:1147:40: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                        octave::to_suitesparse_intptr (Ai),
                                        ^
liboctave/array/CSparse.cc: In member function âvoid* SparseComplexMatrix::factorize(octave_idx_type&, double&, Matrix&, Matrix&, SparseComplexMatrix::solve_singularity_handler, bool) constâ:
liboctave/array/CSparse.cc:5565:34: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                  octave::to_suitesparse_intptr (Ap),
                                  ^
liboctave/array/CSparse.cc:5566:34: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                  octave::to_suitesparse_intptr (Ai),
                                  ^
liboctave/array/CSparse.cc:5574:43: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                           octave::to_suitesparse_intptr (Ap),
                                           ^
liboctave/array/CSparse.cc:5575:43: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                           octave::to_suitesparse_intptr (Ai),
                                           ^
liboctave/array/CSparse.cc:5595:41: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
       status = UMFPACK_ZNAME (numeric) (octave::to_suitesparse_intptr (Ap),
                                         ^
liboctave/array/CSparse.cc:5596:41: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                         octave::to_suitesparse_intptr (Ai),
                                         ^
liboctave/array/CSparse.cc: In member function âComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&, double&, SparseComplexMatrix::solve_singularity_handler, bool) constâ:
liboctave/array/CSparse.cc:5846:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ap),
                                                   ^
liboctave/array/CSparse.cc:5847:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ai),
                                                   ^
liboctave/array/CSparse.cc: In member function âSparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&, octave_idx_type&, double&, SparseComplexMatrix::solve_singularity_handler, bool) constâ:
liboctave/array/CSparse.cc:6126:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ap),
                                                   ^
liboctave/array/CSparse.cc:6127:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ai),
                                                   ^
liboctave/array/CSparse.cc: In member function âComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&, octave_idx_type&, double&, SparseComplexMatrix::solve_singularity_handler, bool) constâ:
liboctave/array/CSparse.cc:6395:44: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                            octave::to_suitesparse_intptr (Ap),
                                            ^
liboctave/array/CSparse.cc:6396:44: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                            octave::to_suitesparse_intptr (Ai),
                                            ^
liboctave/array/CSparse.cc: In member function âSparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&, octave_idx_type&, double&, SparseComplexMatrix::solve_singularity_handler, bool) constâ:
liboctave/array/CSparse.cc:6651:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ap),
                                                   ^
liboctave/array/CSparse.cc:6652:51: error: âto_suitesparse_intptrâ is not a member of âoctaveâ
                                                   octave::to_suitesparse_intptr (Ai),
                                                   ^
make[2]: *** [liboctave/array/liboctave_array_libarray_la-CSparse.lo] Error 1
make[2]: Leaving directory `/prog/rdtoolbox/octave/versions/octave-4.4.1'

Harika Kotakonda <harika>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by harika (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-30 rik5 StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2018-11-05 rik5 Carbon-CopyRemoved 72865 -
    2018-11-02 mtmiller StatusNone Need Info
    2018-11-02 rik5 CategoryLibraries Configuration and Build System

    Back to the top


    Powered by Savane 3.9