From: Bruce S. <bas...@nc...> - 2010-07-20 05:07:41
|
The missing links all seem to be Python symbols such as _PyExc_RuntimeError and _PyInt_AsLong, which are part of the Python API for connecting to C. I don't have any experience with the darwin environment, but maybe someone on this list will recognize what the problem is. It probably is irrelevant, but why are you using 5.2 rather than an up-to-date version of Visual, which is now at 5.32? Also, what problem are you trying to address by trying to build Visual in the darwin environment rather than using the fink package or the native Mac package? Bruce Sherwood On Mon, Jul 19, 2010 at 7:31 PM, K. Uebayashi <u.k...@gm...> wrote: > After adding some patchs, error message has changed. > # I use visual-5.2_release.tar.bz2. > > This is my patch.(thanks Mirko) > ======= > $ diff visual-5.2_releaseORIG/src/Makefile.in > visual-5.2_release/src/Makefile.in > 46c46 > < OSX_CPPFLAGS = #-no-cpp-precomp -fno-common -Wno-long-double > --- >> OSX_CPPFLAGS = -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include # -no-cpp-precomp -fno-common -Wno-long-double > 202c202 > < $(GTHREAD_LIBS) /sw/lib/libboost_python-mt.a > -lboost_thread-mt -lboost_signals) > --- >> $(GTHREAD_LIBS) /opt/local/lib/libboost_python-mt.a -lboost_thread-mt -lboost_signals) > ======= > > These are my process, > 1. adding my patch > 2. ./configure --prefix=/opt/local > 3. make, > then I met new error. > > I attached config.log and build.log. > > > > 2010/7/12 Bruce Sherwood <bas...@nc...>: >> The error indicates that some library was not found in the linking stage. If >> you showed just a bit more of the tail end of build.log, there might be a >> specific indication of what library it is. >> Bruce Sherwood >> >> On Sat, Jul 10, 2010 at 7:02 PM, K. Uebayashi <u.k...@gm...> wrote: >>> >>> 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 >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> > > > > -- > K. Uebayashi > |