I am getting the following error when I run "make", after running "./configure" when installing pytave on Ubuntu 9.04:
make all-am
make[1]: Entering directory `/home/x006/Code/external/pytave/pytave'
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/octave-3.0.1 -I/usr/include/python2.6 -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.1 -I/usr/include/python2.6 -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:172: error: ‘FloatComplex’ was not declared in this scope
octave_to_python.cc:172: error: ‘FloatComplexNDArray’ was not declared in this scope
octave_to_python.cc:173: error: ‘const class octave_value’ has no member named ‘float_complex_array_value’
octave_to_python.cc:175: error: ‘FloatNDArray’ was not declared in this scope
octave_to_python.cc:176: error: ‘const class octave_value’ has no member named ‘float_array_value’
octave_to_python.cc: In function ‘void pytave::copy_octarray_to_pyarrobj(PyArrayObject*, const OctaveBase&, unsigned int, unsigned int, int, unsigned int) [with PythonPrimitive = long int, OctaveBase = intNDArray<octave_int<int> >]’:
octave_to_python.cc:95: instantiated from ‘PyArrayObject* pytave::create_array(const OctaveBase&, int) [with PythonPrimitive = long int, OctaveBase = intNDArray<octave_int<int> >]’
octave_to_python.cc:107: instantiated from ‘PyArrayObject* pytave::create_array(const OctaveBase&, int, boost::true_type) [with PythonPrimitive = long int, OctaveBase = intNDArray<octave_int<int> >]’
octave_to_python.cc:140: instantiated from ‘PyArrayObject* pytave::create_sint_array(CLASS) [with CLASS = intNDArray<octave_int<int> >, unsigned int bytes = 4u]’
octave_to_python.cc:191: instantiated from here
octave_to_python.cc:63: error: conversion from ‘octave_int<int>’ to ‘long int’ is ambiguous
/usr/include/octave-3.0.1/octave/oct-inttypes.h:274: note: candidates are: octave_int<T>::operator float() const [with T = int]
/usr/include/octave-3.0.1/octave/oct-inttypes.h:272: note: octave_int<T>::operator double() const [with T = int]
/usr/include/octave-3.0.1/octave/oct-inttypes.h:268: note: octave_int<T>::operator T() const [with T = int]
make[1]: *** [_pytave_la-octave_to_python.lo] Error 1
make[1]: Leaving directory `/home/x006/Code/external/pytave/pytave'
make: *** [all] Error 2
As far as I can tell, all dependencies are install and up to date (as configure ran without errors).
Any thoughts?