From: Bruce S. <Bru...@nc...> - 2007-11-09 15:32:59
|
The problem seems to boil down to this (in build.log): g++ -I/usr/include/python2.5 -I/usr/local/lib/python2.5/site-packages/numpy/core/include -pthread (snip.....) -I/usr/include/python2.5 -I/usr/local/lib/python2.5/site-packages/numpy/core/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -MMD -MF convex.d -MT "convex.d convex.lo" -c ./python/convex.cpp -fPIC -DPIC -o .libs/convex.o In file included from ../include/python/convex.hpp:12, from ./python/convex.cpp:6: ../include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No such file or directory (Due to an infelicity in the autoconfigure machinery, you see "-I/usr/local/lib/python2.5/site-packages/numpy/core/include" not once but twice in the instructions for where to find the numpy includes.) It appears from early in config.log that ${prefix} is /usr, not /usr/local. Here we see Python includes in /usr, but numpy includes in /usr/local. So somehow there's a mismatch, and possibly an error in the autoconfigure files not previously noticed. For starters, I suggest setting --prefix=/usr/local and trying again. Bruce Sherwood bradley wrote: > I am having some trouble installing on Fedora 8. I think its trying to > tell me I don't have numpy or numeric, but I definitely do. The > build.log and config.log are attached. I got the error while running make. > > Would creating a symbolic link somewhere fix this? I can confirm these > packages are installed... > gcc-c++ > boost > boost-devel > gtkglextmm > gtkglextmm-devel > libglademm24-devel python > numpy > python-numarray > numeric > > Brad Longo > > |