Hi all, The package nan-2.3.0 wont install in octave2.3.4 compiled form sources The errors follows (obtained when >pgk install nan-2.3.0.tar.gz) make: /usr/local/matlab/bin/mexext: Command not found make: Entering directory `/tmp/oct-f12JCa/NaN/src' make: /usr/local/matlab/bin/mexext: Command not found make: /usr/local/matlab/bin/mexext: Command not found make: /usr/local/matlab/bin/mexext: Command not found make: /usr/local/matlab/bin/mexext: Command not found make: /usr/local/matlab/bin/mexext: Command not found make: /usr/local/matlab/bin/mexext: Command not found str2array.cpp: In function ‘void mexFunction(int, mxArray**, int, const mxArray**)’: str2array.cpp:144: warning: deprecated conversion from string constant to ‘char*’ str2array.cpp:145: warning: deprecated conversion from string constant to ‘char*’ str2array.cpp:147: warning: deprecated conversion from string constant to ‘char*’ linear.cpp: In function ‘model* load_model(const char*)’: linear.cpp:1938: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:1941: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:1961: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:1966: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:1971: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:1983: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:2010: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear.cpp:2011: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result linear_model_matlab.c:32:17: error: mex.h: No such file or directory linear_model_matlab.c:53: error: expected ‘)’ before ‘*’ token linear_model_matlab.c:132: warning: type defaults to ‘int’ in declaration of ‘mxArray’ linear_model_matlab.c:132: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token make: *** [train.mex] Error 1 'make' returned the following error: mkoctfile --mex histo_mex.cpp ## Octave mkoctfile --mex covm_mex.cpp ## Octave mkoctfile --mex kth_element.cpp ## Octave mkoctfile --mex sumskipnan_mex.cpp ## Octave mkoctfile --mex str2array.cpp ## Octave g++ -Wall -Wconversion -O3 -fPIC -c tron.cpp g++ -Wall -Wconversion -O3 -fPIC -c linear.cpp gcc -Wall -Wconversion -O3 -fPIC -I /usr/include/octave -c linear_model_matlab.c make: Leaving directory `/tmp/oct-f12JCa/NaN/src' error: called from `pkg>configure_make' in file /usr/local/share/octave/3.2.4/m/pkg/pkg.m near line 1253, column 2 error: called from: error: /usr/local/share/octave/3.2.4/m/pkg/pkg.m at line 714, column 5 error: /usr/local/share/octave/3.2.4/m/pkg/pkg.m at line 287, column 7
-- M. Sc. Juan Pablo Carbajal ----- PhD Student University of Zürich www.ailab.ch/carbajal ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev