Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
Installation of scigraphica fails due to missing path to arrayobject.h

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

the configure script lines that is mentioned above
line 10335-10354
" echo -n "checking for numeric python... "
if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
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//`
if test -n $array_loc -a -d $array_loc; then
echo "$array_loc"

PY_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PY_MAKEFILE`
PY_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PY_MAKEFILE`

and lin 10375 --

if eval "test x$array_loc = x"; then
echo "Numerical python not found!"
Old 11-15-2005, 04:32 AM   #2
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, 02:10 PM   #3
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.


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 03:02 AM
grub fails on ubuntu 5.10 dual boot xp due to sda webhideout Ubuntu 2 10-08-2005 05:55 PM
boot fails due to large harddrive Oh Cisco Debian 3 10-27-2004 01:24 AM
snort fails at startup due to rule zuessh Linux - Security 2 12-06-2003 09:49 AM
RedHat 7.2 Gnome fails due to segmentation fault chris.hicks Linux - Software 3 09-23-2003 11:27 AM

All times are GMT -5. The time now is 06:39 PM.

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