From: José L. G. P. <jgp...@gm...> - 2012-09-26 12:44:17
|
Hello: I'm tryng to compile octave from the hg sources in order to test the gui and the jit features, but the compilation stops after an error. For the jit I have the llvm 3.1 dependencies installed and detected in the ./configure step. After configure all are OK: Build Octave GUI: true JIT compiler for loops: true Do internal array bounds checking: false Use octave_allocator: false Build static libraries: false Build shared libraries: true Dynamic Linking: true (dlopen) Include support for GNU readline: true 64-bit array dims and indexing: false In the compilation proccess I obtain this results: 1. From g++ -E -DHAVE_CONFIG_H -I. -I.. \ -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Iinterp-core -I./interp-core -Iinterpfcn -I./interpfcn -Icorefcn -I../libgnu -I../libgnu -isystem /usr/lib/llvm-3.1/include -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread \ -DMAKE_BUILTINS octave.cc | ./mkdefs . octave.cc > octave.df-t to g++ -E -DHAVE_CONFIG_H -I. -I.. \ -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Iinterp-core -I./interp-core -Iinterpfcn -I./interpfcn -Icorefcn -I../libgnu -I../libgnu -isystem /usr/lib/llvm-3.1/include -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread \ -DMAKE_BUILTINS corefcn/typecast.cc | ./mkdefs . corefcn/typecast.cc > corefcn/typecast.df-t I obtain the message: " In file included from interpfcn/defun.h:30:0, from corefcn/typecast.cc:32: interp-core/defun-int.h:31:21: fatal error: version.h: No existe el fichero o el directorio (File or directory does not exist -my locales are spanish) compilation terminated. " But the compilation is not aborted! Then, from libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Iinterp-core -I./interp-core -Iinterpfcn -I./interpfcn -Icorefcn -I../libgnu -I../libgnu -isystem /usr/lib/llvm-3.1/include -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread -MT parse-tree/parse_tree_libparse_tree_la-pt-arg-list.lo -MD -MP -MF parse-tree/.deps/parse_tree_libparse_tree_la-pt-arg-list.Tpo -c parse-tree/pt-arg-list.cc -fPIC -DPIC -o parse-tree/.libs/parse_tree_libparse_tree_la-pt-arg-list.o to libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree -Iinterp-core -I./interp-core -Iinterpfcn -I./interpfcn -Icorefcn -I../libgnu -I../libgnu -isystem /usr/lib/llvm-3.1/include -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread -MT octave-value/octave_value_liboctave_value_la-ov-usr-fcn.lo -MD -MP -MF octave-value/.deps/octave_value_liboctave_value_la-ov-usr-fcn.Tpo -c octave-value/ov-usr-fcn.cc -fPIC -DPIC -o octave-value/.libs/octave_value_liboctave_value_la-ov-usr-fcn.o I obtain the warnings: " octave-value/ov-usr-fcn.cc: In member function 'void octave_user_function::restore_warning_states()': octave-value/ov-usr-fcn.cc:675:42: error: 'Fwarning' was not declared in this scope In file included from ../liboctave/array/dMatrix.h:27:0, from ../liboctave/array/Range.h:28, from ./octave-value/ov.h:33, from interp-core/Cell.h:32, from octave-value/ov-usr-fcn.cc:32: ../liboctave/array/MDiagArray2.h: In instantiation of 'MArray<T> MDiagArray2<T>::diag(octave_idx_type) const [with T = double; octave_idx_type = int]': ../liboctave/array/dDiagMatrix.h:102:35: required from here ../liboctave/array/MDiagArray2.h:94:36: warning: 'Array<T> DiagArray2<T>::diag(octave_idx_type) const [with T = double; octave_idx_type = int]' is deprecated (declared at ../liboctave/array/DiagArray2.h:100) [-Wdeprecated-declarations] ../liboctave/array/MDiagArray2.h: In instantiation of 'MArray<T> MDiagArray2<T>::diag(octave_idx_type) const [with T = std::complex<double>; octave_idx_type = int]': ../liboctave/array/CDiagMatrix.h:124:36: required from here ../liboctave/array/MDiagArray2.h:94:36: warning: 'Array<T> DiagArray2<T>::diag(octave_idx_type) const [with T = std::complex<double>; octave_idx_type = int]' is deprecated (declared at ../liboctave/array/DiagArray2.h:100) [-Wdeprecated-declarations] ../liboctave/array/MDiagArray2.h: In instantiation of 'MArray<T> MDiagArray2<T>::diag(octave_idx_type) const [with T = float; octave_idx_type = int]': ../liboctave/array/fDiagMatrix.h:102:34: required from here ../liboctave/array/MDiagArray2.h:94:36: warning: 'Array<T> DiagArray2<T>::diag(octave_idx_type) const [with T = float; octave_idx_type = int]' is deprecated (declared at ../liboctave/array/DiagArray2.h:100) [-Wdeprecated-declarations] ../liboctave/array/MDiagArray2.h: In instantiation of 'MArray<T> MDiagArray2<T>::diag(octave_idx_type) const [with T = std::complex<float>; octave_idx_type = int]': ../liboctave/array/fCDiagMatrix.h:124:41: required from here ../liboctave/array/MDiagArray2.h:94:36: warning: 'Array<T> DiagArray2<T>::diag(octave_idx_type) const [with T = std::complex<float>; octave_idx_type = int]' is deprecated (declared at ../liboctave/array/DiagArray2.h:100) [-Wdeprecated-declarations] " And after this last message: " make[3]: *** [octave-value/octave_value_liboctave_value_la-ov-usr-fcn.lo] Error 1 make[3]: se sale del directorio `/home/topo/octave/libinterp' make[2]: *** [all] Error 2 make[2]: se sale del directorio `/home/topo/octave/libinterp' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/topo/octave' make: *** [all] Error 2 " And the compilation is aborted, but I didn't find any error Is this a bug? Thanks -- ***************************************** José Luis García Pallero jgp...@gm... (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** |