I ran into several problems when installing pytave.
After running "./configure" on Ubuntu 9.10, I got the following errors when running "make"
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/octave-3.0.5 -I/usr/include/python2.6 -I/usr/lib/python2.6/dist-packages/numpy/core/include -g -O2 -MT _pytave_la-octave_to_python.lo -MD -MP -MF .deps/_pytave_la-octave_to_python.Tpo -c -o _pytave_la-octave_to_python.lo `test -f 'octave_to_python.cc' || echo './'`octave_to_python.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include/octave-3.0.5 -I/usr/include/python2.6 -I/usr/lib/python2.6/dist-packages/numpy/core/include -g -O2 -MT _pytave_la-octave_to_python.lo -MD -MP -MF .deps/_pytave_la-octave_to_python.Tpo -c octave_to_python.cc -fPIC -DPIC -o .libs/_pytave_la-octave_to_python.o
octave_to_python.cc: In function ‘PyArrayObject* pytave::octvalue_to_pyarrobj(const octave_value&)’:
octave_to_python.cc:207: error: ‘FloatComplex’ was not declared in this scope
octave_to_python.cc:207: error: ‘FloatComplexNDArray’ was not declared in this scope
octave_to_python.cc:208: error: ‘const class octave_value’ has no member named ‘float_complex_array_value’
octave_to_python.cc:210: error: ‘FloatNDArray’ was not declared in this scope
octave_to_python.cc:211: error: ‘const class octave_value’ has no member named ‘float_array_value’
make[1]: *** [_pytave_la-octave_to_python.lo] error 1
make[1]: leaving directory `/home/feather/work/openmih/pytave'
make: *** [all] error 2
I have installed all the dependencies and "./configure"ran smoothly.
also tried command sudo python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/pytave
copying ./package/pytave.py -> build/lib.linux-i686-2.6/pytave
copying ./package/__init__.py -> build/lib.linux-i686-2.6/pytave
running build_ext
building 'pytave/_pytave' extension
creating build/temp.linux-i686-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CONFIG_H=1 -I/usr/include/octave-3.0.5 -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/home/feather/work/openmih/pytave -I. -I/usr/include/python2.6 -c ./octave_to_python.cc -o build/temp.linux-i686-2.6/./octave_to_python.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
./octave_to_python.cc: In function ‘PyArrayObject* pytave::octvalue_to_pyarrobj(const octave_value&)’:
./octave_to_python.cc:207: error: ‘FloatComplex’ was not declared in this scope
./octave_to_python.cc:207: error: ‘FloatComplexNDArray’ was not declared in this scope
./octave_to_python.cc:208: error: ‘const class octave_value’ has no member named ‘float_complex_array_value’
./octave_to_python.cc:210: error: ‘FloatNDArray’ was not declared in this scope
./octave_to_python.cc:211: error: ‘const class octave_value’ has no member named ‘float_array_value’
error: command 'gcc' failed with exit status 1
Thanks for any suggestions.