LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-16-2005, 10:45 AM   #1
mattispappis
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
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
 
Old 11-15-2005, 03:32 AM   #2
asian_cajun
LQ Newbie
 
Registered: Nov 2005
Location: Stockholm
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Try configuring libscigraphica (and likewise scigraphica) with

./configure --with-python-numeric-path=/usr/include/python2.4/numarray/
 
Old 11-15-2005, 01:10 PM   #3
mattispappis
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for your reply.
I am learning new things everyday. now I get everything to compile. but ... it segfaults at startup instead.. maybe I should stick with QTIplot and wait until a new version gets out...
thanks again.
Yours
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFSd fails to start due to RPC? TexasDex Linux - Software 10 03-23-2010 02:02 AM
grub fails on ubuntu 5.10 dual boot xp due to sda webhideout Ubuntu 2 10-08-2005 04:55 PM
boot fails due to large harddrive Oh Cisco Debian 3 10-27-2004 12:24 AM
snort fails at startup due to rule zuessh Linux - Security 2 12-06-2003 08:49 AM
RedHat 7.2 Gnome fails due to segmentation fault chris.hicks Linux - Software 3 09-23-2003 10:27 AM


All times are GMT -5. The time now is 01:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration