make fails for me and says:
In file included from ../include/python/convex.hpp:12,
from ./python/convex.cpp:6:
../include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No such file or directory
../include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No such file or directory
../include/python/num_util.hpp:90: error: 'npy_intp' was not declared in this scope
../include/python/num_util.hpp:90: error: 'NPY_TYPES' was not declared in this scope
../include/python/num_util.hpp:100: error: 'npy_intp' was not declared in this scope
and prints a lot of other errors. My system is linux and the version is visual-4.beta26. I tracked the issue down to be in the configure script which fails to find the right PYTHON_PREFIX under linux:
if test $PYTHON_PLATFORM = "win32"; then
PYTHON_PREFIX=`$PYTHON -c "from distutils import sysconfig; print sysconfig.PREFIX"`
PYTHON_EXEC_PREFIX=`$PYTHON -c "from distutils import sysconfig; print sysconfig.EXEC_PREFIX"`
else
PYTHON_PREFIX='${prefix}'
PYTHON_EXEC_PREFIX='${exec_prefix}'
fi
changing the first line to
if test $PYTHON_PLATFORM = "win32" -o test $PYTHON_PLATFORM = "win32"; then
works for me. I don't know however why autoconf doesn't do this itself.
Logged In: NO
oh, i made a mistake: the line must be changed to
if test $PYTHON_PLATFORM = "win32" -o $PYTHON_PLATFORM = "linux2"; then