I get the same error message for 2.4.3

--Nir


> pkg install nan-2.4.3.tar.gz

make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: Entering directory `/tmp/oct-yti1XA/NaN/src'
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
make: /usr/local/MATLAB/R2010b/bin/mexext: Command not found
str2array.cpp: In function 'void mexFunction(int, mxArray**, int,
const mxArray**)':
str2array.cpp:142: warning: deprecated conversion from string constant
to 'char*'
str2array.cpp:143: warning: deprecated conversion from string constant
to 'char*'
str2array.cpp:145: warning: deprecated conversion from string constant
to 'char*'
linear_model_matlab.c:32:17: error: mex.h: No such file or directory
linear_model_matlab.c:57: error: expected ')' before '*' token
linear_model_matlab.c:136: warning: type defaults to 'int' in
declaration of 'mxArray'
linear_model_matlab.c:136: error: expected ';', ',' or ')' before '*' token
make: *** [train.mex] Error 1
'make' returned the following error: mkoctfile --mex histo_mex.cpp
-lz -lgomp         ## Octave
mkoctfile --mex covm_mex.cpp  -lz -lgomp         ## Octave
mkoctfile --mex kth_element.cpp  -lz -lgomp         ## Octave
mkoctfile --mex sumskipnan_mex.cpp  -lz -lgomp         ## Octave
mkoctfile --mex str2array.cpp  -lz -lgomp         ## Octave
g++ -fopenmp -Wall -Wconversion -O2 -fPIC  -c tron.cpp
g++ -fopenmp -Wall -Wconversion -O2 -fPIC  -c linear.cpp
gcc -fopenmp -Wall -Wconversion -O2 -fPIC  -I /usr/include/octave  -c
linear_model_matlab.c
make: Leaving directory `/tmp/oct-yti1XA/NaN/src'
error: called from `pkg>configure_make' in file
/home/nir/octave/octave-3.4.0/octave/share/octave/3.4.0/m/pkg/pkg.m
near line 1332, column 9
error: called from:
error:   /home/nir/octave/octave-3.4.0/octave/share/octave/3.4.0/m/pkg/pkg.m
at line 783, column 5
error:   /home/nir/octave/octave-3.4.0/octave/share/octave/3.4.0/m/pkg/pkg.m
at line 354, column 9

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to