Numeric Python problem Re: Compiling problem

Olaf Leidinger <[email protected]> Wed, 18 May 2005 23:25:25 +0200
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello List!

First of all nice to see a new version of scigraphica!

I also have problems compiling scigraphica due numeric python:

1. during configuring:

./configure --prefix=/usr
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/leidola/software/downloads/gtk/libscigraphica-2.0.0/missing:
Unknown `--run' option
Try `/home/leidola/software/downloads/gtk/libscigraphica-2.0.0/missing
- --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
./configure: line 1938: /backup: is a directory
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for intltool >= 0.27.2... 0.33 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for some Win32 platform... no
checking for native Win32... no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for gzwrite in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libxml-2.0 >= 2.4.10... yes
checking XML_CFLAGS... -I/usr/include/libxml2
checking XML_LIBS... -lxml2 -lpthread -lz -lm
checking for xmlSAXUserParseFile... yes
checking for gtk+-2.0 >= 2.0.0... yes
checking GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
- -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
- -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
- -I/usr/include/freetype2/config -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
- -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
- -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtkextra-2.0 >= 2.0.0... yes
checking GTK_EXTRA_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
- -I/usr/include/gtkextra-2.0 -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
- -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
- -I/usr/include/pango-1.0 -I/usr/include/freetype2
- -I/usr/include/freetype2/config
checking GTK_EXTRA_LIBS... -lgtkextra-x11-2.0 -lgtk-x11-2.0
- -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
- -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libart-config... no
checking for art_pixbuf_new_rgb in -lart_lgpl... no
Cannot find LIBART
checking for lp... /usr/bin/lp
checking for python... yes

*********** error is here

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
stripping compiler flags
mv: cannot stat `po/POTFILES': No such file or directory
./configure: line 10547: po/POTFILES.tmp: Datei oder Verzeichnis nicht
gefunden

***********
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libscigraphica-2.0.spec
config.status: creating libscigraphica-2.0-mdk.spec
config.status: creating libscigraphica-2.0.pc
config.status: creating plugins/Makefile
config.status: creating scigraphica/Makefile
config.status: creating scigraphica/sg_features.h
config.status: creating scigraphica/algorithms/Makefile
config.status: creating scigraphica/dialogs/Makefile
config.status: creating scigraphica/widgets/Makefile
config.status: creating pixmaps/Makefile
config.status: creating plugins/layers/Makefile
config.status: creating plugins/iterators/Makefile
config.status: creating plugins/styles/Makefile
config.status: creating plugins/io/Makefile
config.status: creating plugins/menus/Makefile
config.status: creating plugins/toolbars/Makefile
config.status: creating plugins/arrays/Makefile
config.status: creating plugins/functions/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands


Calling make, I get the same error as the previous poster:

 ../../scigraphica/sg_python.h:35:25: error: arrayobject.h: No such file
or directory

Hope that helps a bit,

Ciao,

Olaf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCi7LF4Yz1Ukx83/kRAs/6AKCN2LP2oGw7RbpX8LzUntN0r5UedQCfX9A9
A5kckJBrbtWWKMnC6ySai+U=
=aGQw
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click