Installation of scigraphica fails due to missing path to arrayobject.h
Hi
I have been trying to install scigraphica 2.0 for a long time now---
I have only found the source code. The problem i have is with compiling.... I would really appreciate some help on my problem...
I'have tracked down my problem to the ./configure script of libscigraphica...
when I run ./configure I get
"checking for numeric python... ./configure: line 10341: test: too many arguments./configure: line 10344: test: too many arguments
./configure: line 10376: /usr/include/python2.4/numarray/: is a directory
Try `uname --help' for more information.
so when i compile I get
"../../scigraphica/sg_python.h:35:25: error: arrayobject.h: No such file or directory"
the thing is that arrayobject.h belongs to numerical python and is installed on my computer... at
/usr/include/python2.4/Numeric/arrayobject.h and
/usr/include/python2.4/numarray/arrayobject.h
the configure script lines that is mentioned above
is
line 10335-10354
" echo -n "checking for numeric python... "
if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
PY_LIBS="python$PY_VERSION"
PY_LIB_LOC="$PY_EXEC_PREFIX/lib/python$PY_VERSION/"
array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h//`
if test x$array_loc = x; then
array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h//`
fi
if test -n $array_loc -a -d $array_loc; then
echo "$array_loc"
PY_CFLAGS="$PY_CFLAGS -I$array_loc -DWITH_NUMERIC_PYTHON"
numpy=true
fi
PY_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PY_VERSION/config/Makefile"
PY_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
PY_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
PY_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PY_MAKEFILE`
PY_EXTRA_LIBS="$PY_LOCALMODLIBS $PY_BASEMODLIBS $PY_OTHER_LIBS"
and lin 10375 --
if eval "test x$array_loc = x"; then
echo "Numerical python not found!"
exit
|