|
From: Jaap S. <j....@hc...> - 2006-08-12 19:18:44
|
Jonathan Brandmeyer wrote:
> On Sat, 2006-08-12 at 18:47 +0200, Jaap Spies wrote:
...
>>>>Compiling ../../visual-4.beta5/src/python/faces.cpp ...
>>>>Compiling ../../visual-4.beta5/src/python/num_util.cpp ...
>>>>Compiling ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp ...
>>>>make[1]: *** [num_util_impl_numarray.lo] Error 1
>>>>make[1]: Leaving directory `/home/jaap/work/downloads/buildbeta/src'
>>>>make: *** [all-recursive] Error 1
>>>>[root@paix buildbeta]#
>>>>
>
>
> Did configure properly detect the existence and availability of
> numarray? What is the actual error (it should be in src/build.log)?
>
This is whar configure says about Python:
>> checking whether /usr/local/sage/local/bin/python version >= 2.2... yes
>> checking for /usr/local/sage/local/bin/python version... 2.4
>> checking for /usr/local/sage/local/bin/python platform... linux2
>> checking for /usr/local/sage/local/bin/python script directory... ${prefix}/lib/ python2.4/site-packages
>> checking for /usr/local/sage/local/bin/python extension module directory... ${ex ec_prefix}/lib/python2.4/site-packages
and numarray:
>> checking for array in python module Numeric... yes
>> checking for array in python module numarray... yes
>> checking for headers required to compile python extensions... found
>> checking for pkg-config... /usr/bin/pkg-config
>> checking pkg-config is at least version 0.9.0... yes
>> checking for GTK... yes
>> checking for GTHREAD... yes
>> checking where to install documentation... ${prefix}/lib/python2.4/site-packages /visual/docs
>> checking whether to install html documentation... yes
>> checking where to install example programs... ${prefix}/lib/python2.4/site-packa ges/visual/examples
>> checking whether to install example programs... yes
>> configure: creating ./config.status
From the src/build.log:
>> g++ -DHAVE_CONFIG_H -I../../visual-4.beta5/include -I..//include -I/usr/include/gtkglextmm-1.2 -I/usr/lib/gtkglextmm-1.2/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/lib/gtkglext-1.0/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/atk-1.0 -I/usr/include/atkmm-1.6 -I/usr/include/freetype2 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I../../visual-4.beta5/include/gtk2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/sage/local/include/python2.4 -fpic -DPIC -g -O2 -ftemplate-depth-120 -MMD -MF num_util_impl_numarray.d -
MT "num_util_impl_numarray.d num_util_impl_numarray.lo" -c ../../visual-4.beta5/src/python/num_util_impl_numarray.cpp -fPIC -DPIC -o .libs/num_util_impl_numarray.o
>> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: expected type-specifier before ';' token
>> /usr/local/sage/local/include/python2.4/numarray/nummacro.h:27: error: abstract declarator 'PyObject*' used as declaration
Version of 'numarray' is numeric-24.2
Jaap
|