./configure (libscigraphica-2.1.1)

Daniel Klär <[email protected]> Sat, 05 Nov 2005 22:19:32 +0100
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
Hello,

I try to compile the latest release of scigraphica on Debian sarge

> user@Machine:~$ uname -a
> Linux Minitower 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux

The installation of gtk+extra-2.1.1 was running smoothly after
installing the following packages:

libxml2-dev (2.6.16-7)
libatk1.0-dev (1.8.0-4)
libdirectfb-dev (0.9.20-5)
libdirectfb-udeb-dev (0.9.20-5)
libexpat1-dev (1.95.8-3)
libfontconfig1-dev (2.3.1-2)
libfreetype6-dev (2.1.7-2.4)
libglib2.0-dev (2.6.4-1)
libgtk+2.0-directfb-udeb-dev (2.0.9-5)
libgtk2.0-dev (2.6.4-3)
libpango1.0-dev (1.8.1-1)
libpng12-dev (1.2.8rel-1)
libx11-dev (4.3.0.dfsg.1-14sarge1)
libxext-dev (4.3.0.dfsg.1-14sarge1)
libxft-dev (2.1.7-1)
libxi-dev (4.3.0.dfsg.1-14sarge1)
libxrender-dev (0.8.3-7)
libxv-dev (4.3.0.dfsg.1-14sarge1)
render-dev (0.8-4)

(Most of them were automatically added by apt to solve dependencies)

After the first try to configure libscigraphica I added:

python2.3-dev (2.3.5-3sarge1)
python2.3-libxml2 (2.6.16-7)
python2.3-numarray (1.1.1-3)
python2.3-numarray-ext (1.1.1-3)
python2.3-numeric-ext (23.8-1)

The next try spat out among a lot of normal output:

> ./configure: line 10338: test: too many arguments
> ./configure: line 2: /usr/include/python2.3/numarray/: is a directory
> [...]
> Try `uname --help' for more information.
> [...]
> mv: cannot stat `po/POTFILES': No such file or directory
> ./configure: line 10538: po/POTFILES.tmp: Datei oder Verzeichnis nicht gefunden

The first issue happens in line 10344:
> if test -n $array_loc -a -d $array_loc; then

and is caused by the line 10340:
> array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h//`

There are two folders in "/usr/include/python2.3". One "numarray"
and one "Numeric", both contain a file named "arrayobject.h". That's
why $array_loc gets the value:
"/usr/include/python2.3/numarray/ /usr/include/python2.3/Numeric/"
and the following test fails.
I could solve this, but I need to know, which "arrayobject.h" ist
the right one.

The second issue is hidden in line 10380:
> UNAME=`uname -s -m -r -p`

> user@Machine:~$ uname --help
> Aufruf: uname [OPTION]...
> Festgelegte Systeminformationen ausgeben.  Ohne OPTION dasselbe wie -s.
> 
>   -a, --all                alle Informationen ausgeben
>   -s, --kernel-name        Namen des Kernels ausgeben
>   -n, --nodename           Netzwerknamen der Maschine ausgeben
>   -r, --release            Release-Nummer des Betriebssystems ausgeben
>   -v, --kernel-version     print the kernel version
>   -m, --machine            print the machine hardware name
>   -o, --operating-system   print the operating system
>       --help     diese Hilfe anzeigen und beenden
>       --version  Versionsinformation anzeigen und beenden

Simply there is no -p argument. Which value of $UNAME is required
for proper configuration and copilation, can somebody give an example?

The third message with the "po/POTFILES.tmp" files will hopefully
disappear after solving the other issues.

Many thanks in advance.
Daniel


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php