From: K. U. <u.k...@gm...> - 2010-07-11 01:02:40
|
I only replied to Steve, personally. So, I resend my message to this list. After executed ./configure --prefix=/opt/local \ CPPFLAGS="-I/opt/local/Library/Frameworks/Python.framework/\ Versions/2.6/lib/python2.6/site-packages/numpy/core/include/" , I met "new" error message, $ make .... Compiling ./gtk2/rate.cpp ... Linking cvisualmodule.so ... make[1]: *** [cvisualmodule.so] Error 1 make: *** [all-recursive] Error 1 . "src/build.log" ends with $tail -3 src/build.log Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5659) . Could I fix the above error "Error 1" ? -- K. Uebayashi 2010/7/4 Steve Spicklemire <st...@sp...>: > OK.. here's the trouble: > > In file included from > ../../visual-5.2_release/include/python/arrayprim.hpp:9:0, > from ../../visual-5.2_release/src/python/arrayprim.cpp:1: > ../../visual-5.2_release/include/python/num_util.hpp:73:31: fatal error: > numpy/arrayobject.h: No such file or directory > compilation terminated. > > Did you build/install numpy? Do you have the sources someplace where visual > can find the header files? > > -steve > > On Jul 3, 2010, at 7:54 PM, K. Uebayashi wrote: > >> <build.log> > > -- K. Uebayashi |