From: Mirko B. <mir...@ie...> - 2010-01-23 13:17:20
|
I built boost 1.35 with a patch from svn that makes the incompatibility with python > 2.6.2 disappear (you don't get the "object attribute '__doc__' is read-only" error when importing the visual module). Although on my machine visual still does not work (see my other email), I believe that just replacing the libs in the mac_libs folder with the ones that I built might be a solution for most people. If Bruce is interested I can email him the binaries, and if that works for him he can just repackage the dependencies zip files. Mirko On Sat, Jan 23, 2010 at 5:05 AM, Bruce Sherwood <Bru...@nc...>wrote: > Yes, this is the roadblock I too ran into when attempting to build on > the Mac. You seem to have done everything correctly. It is not known how > to address the problem, which is serious, because at the moment it seems > impossible to build for the latest version of Python on the Mac. > > Bruce Sherwood > > K.-Michael Aye wrote: > > Dear all, > > as it was written here, that the upgrade to boost-1.41 renders VPython > compatible with Python2.6.4, I thought I give the compilation of VPython a > first try. > > > > 1st question: > > Do I only need vpython-core2 from the cvs files? I can't find anywhere a > hint on that. > > > > 2nd question: > > I managed to compile boost-1.41 successfully with the command line given > in MAC-OSX.txt in vpython-core2. > > I then copied boost_1_41_0/boost to > vpython-core2/dependencies/boost_files (a folder i created there following > the instruction of MAC-OSX.txt). > > Next I copied all created libs in boost-1.41/stage/lib into > vpython-core2/dependencies/boost_files/mac_libs > > Is that all I need to have there before starting next step? > > > > 3rd question: > > Having executed > > 'sudo make setup' in src/mac resulted in access rights failure when > executing the next step 'make install' in the ../mbuild directory. So I > compiled with 'sudo make install'. Is that okay? > > > > 4th question: > > The compilation went along awhile but then stopped with the following > error: > > > > /usr/bin/g++ -fPIC -MMD -DNDEBUG -mmacosx-version-min=10.4 -arch i386 > -DPIC -O2 -g -finline-functions -I../vpython-core2/include/mac > -I../vpython-core2/include > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 > -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include > -I../vpython-core2//dependencies/boost_files > -I../vpython-core2//dependencies/threadpool/include > -F/System/Library/Frameworks/AGL.framework > -F/System/Library/Frameworks/Carbon.framework > -F/System/Library/Frameworks/OpenGL.framework -c -o render_manager.o > ../vpython-core2//src/core/util/render_manager.cpp > > In file included from > ../vpython-core2//dependencies/boost_files/boost/exception_ptr.hpp:15, > > from > ../vpython-core2//dependencies/boost_files/boost/thread/future.hpp:12, > > from > ../vpython-core2//dependencies/boost_files/boost/thread.hpp:24, > > from > ../vpython-core2//dependencies/threadpool/include/threadpool/detail/worker_thread.hpp:24, > > from > ../vpython-core2//dependencies/threadpool/include/threadpool/detail/pool_core.hpp:29, > > from > ../vpython-core2//dependencies/threadpool/include/threadpool/pool.hpp:27, > > from > ../vpython-core2//dependencies/threadpool/include/threadpool.hpp:21, > > from > ../vpython-core2//src/core/util/render_manager.cpp:4: > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:29: > error: declaration does not declare anything > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:30: > error: declaration does not declare anything > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:31: > error: expected primary-expression before ‘)’ token > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:40: > error: declaration does not declare anything > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:41: > error: declaration does not declare anything > > > ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:42: > error: expected primary-expression before ‘)’ token > > make: *** [render_manager.o] Error 1 > > > > > > Many thanks for any upcoming tips! > > Best regards and good weekend! > > > > Michael > > > > _____________________________ > > Universität Bern > > Physikalisches Institut > > Space and Planetary Sciences > > > > K.-Michael Aye, PhD > > BELA Assistant Project Manager > > > > Sidlerweg 5 > > CH-3012 Bern > > Tel. +41 (0)31 631 44 27 > > Fax +41 (0)31 631 44 05 > > mailto:mic...@sp... > > http://space.unibe.ch/ > > ICQ: 164960383 > > Skype: kmichaelaye > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Throughout its 18-year history, RSA Conference consistently attracts the > > world's best and brightest in the field, creating opportunities for > Conference > > attendees to learn about information security's most important issues > through > > interactions with peers, luminaries and emerging and established > companies. > > http://p.sf.net/sfu/rsaconf-dev2dev > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |