help-octave
[Top][All Lists]
Advanced

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

pkg: error running `make' for the control package.


From: Daniel
Subject: pkg: error running `make' for the control package.
Date: Fri, 27 Mar 2015 06:57:16 -0400

Hi,

I am not sure if this is a bug, so I post it here. Any suggestions would be appreciated.
I was installing control package, met the following error message. How can I proceed to solve it? Where shall I start?

pkg: error running `make' for the control package.
error: called from 'configure_make' in file /usr/local/share/octave/4.0.0-rc1/m/pkg/private/configure_make.m near line 96, column 9



More details:

~$ octave -version
GNU Octave, version 4.0.0-rc1

~$ uname -a
Linux MacBookPro 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux



Lately, I upgraded Octave from 3.8.2 to 4.0.0. 
3.8.2 was installed by
$ sudo apt-get install octave
4.0.0 was compiled from source, successfully with expected bugs according to make check.

../configure --prefix=/home/pc/octave4.0.0 --disable-gui --disable-silent-rules --enable-dependency-tracking --enable-jit --enable-strict-warning-flags --enable-install-build-logs

This morning, I was trying to install the control package within octave,
part of the the screen output was pasted below:



octave:5> pkg install /home/pc/Downloads/control-2.6.6.tar.gz
In file included from __control_slicot_functions__.cc:1:0:
sl_ab08nd.cc: In function ‘octave_value_list F__sl_ab08nd__(const octave_value_list&, int)’:
sl_ab08nd.cc:202:26: error: ambiguous overload for ‘operator*’ (operand types are ‘const Matrix’ and ‘octave_value’)
                 gain = c * xpow (a, double (n-1-nu)) * b;
                          ^
sl_ab08nd.cc:202:26: note: candidates are:
In file included from /usr/local/include/octave-4.0.0-rc1/octave/../octave/oct-obj.h:33:0,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/ov-fcn.h:31,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/ov-builtin.h:28,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/defun-int.h:28,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/defun-dld.h:30,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/oct.h:36,
                 from sl_ab08nd.cc:30,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.0.0-rc1/octave/../octave/ov.h:1305:3: note: octave_value operator*(const octave_value&, const octave_value&)
   operator op (const octave_value& a1, const octave_value& a2) \
   ^
/usr/local/include/octave-4.0.0-rc1/octave/../octave/ov.h:1312:3: note: in expansion of macro ‘OV_BINOP_OP’
   OV_BINOP_OP (name, op)
   ^
/usr/local/include/octave-4.0.0-rc1/octave/../octave/ov.h:1316:1: note: in expansion of macro ‘OV_BINOP_FN_OP’
 OV_BINOP_FN_OP (op_mul, *)
 ^
In file included from /usr/local/include/octave-4.0.0-rc1/octave/../octave/boolNDArray.h:29:0,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/boolMatrix.h:28,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/mx-base.h:32,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/Matrix.h:30,
                 from /usr/local/include/octave-4.0.0-rc1/octave/../octave/oct.h:33,
                 from sl_ab08nd.cc:30,
                 from __control_slicot_functions__.cc:1:
/usr/local/include/octave-4.0.0-rc1/octave/../octave/mx-op-decl.h:159:19: note: uint64NDArray operator*(const FloatNDArray&, const octave_uint64&)
   BIN_OP_DECL (R, operator *, ND, S, API); \
                   ^
/usr/local/include/octave-4.0.0-rc1/octave/../octave/mx-op-decl.h:29:16: note: in definition of macro ‘BIN_OP_DECL’
   extern API R OP (const X&, const Y&)
                ^
/usr/local/include/octave-4.0.0-rc1/octave/../octave/mx-fnda-ui64.h:8:1: note: in expansion of macro ‘NDS_BIN_OP_DECLS’
 NDS_BIN_OP_DECLS (uint64NDArray, FloatNDArray, octave_uint64, OCTAVE_API)
 ^

// omit many lines here
// omit many lines here
// omit many lines here
// omit many lines here

rm -rf sltmp slicot
LFLAGS="-L/usr/local/lib/octave/4.0.0-rc1 -L/usr/local/lib -llapack -lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lgfortran -lm -lquadmath" \
    /usr/local/bin/mkoctfile-4.0.0-rc1 __control_slicot_functions__.cc common.cc slicotlibrary.a
make: Leaving directory `/tmp/oct-v28Gq5/control/src'

pkg: error running `make' for the control package.
error: called from 'configure_make' in file /usr/local/share/octave/4.0.0-rc1/m/pkg/private/configure_make.m near line 96, column 9
//----------------EOF 
//----------------EOF 
//----------------EOF 
//----------------EOF 


If I go to the configure_make.m on my computer, it shows:

vi /usr/local/share/octave/4.0.0-rc1/m/pkg/private/configure_make.m

93      if (status != 0)
94        rmdir (desc.dir, "s");
95        disp (output);
96        error ("pkg: error running `make' for the %s package.", desc.name);
97      endif
98    endif


reply via email to

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