From: Steve S. <st...@sp...> - 2013-02-13 11:46:28
|
Since you have a 32 build of enthought... you'll need to link with a 32 bit build of boost. The instructions in MAC-OSX.txt (unfortunately for you) describe building a universal boost to match the current python binaries available at python.org. Here's what's in MAC-OSX.txt: > ./bootstrap.sh --with-toolset=gcc --with-python-version=2.7 --with-python-root=/Library/Frameworks/Python.framework/Versio\ > ns/2.7 --with-python=python2.7 --with-libraries=python,signals > > to create the bjam tool and project-config.jam. > > In the file project-config.jam, change "using gcc ;" to "using gcc : 4.2 : g++-4.2 ;" > > Now execute this, to build Boost libraries for both 32-bit and 64-bit architectures: > > ./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386 -arch x86_64" > Maybe try: ./bootstrap.sh --with-toolset=gcc --with-python-version=2.7 --with-python-root=/Library/Frameworks/Python.framework/Versio\ ns/7.3 --with-python=python2.7 --with-libraries=python,signals ./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386" ?? I don't know.. I may try to build with enthought at some point.. but alas, no time soon. -steve On Feb 12, 2013, at 10:39 PM, Bruce Sherwood <Bru...@nc...> wrote: > Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> wrote: > I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. > > I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! > > -Scott > > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: > >> (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) >> >> You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". >> >> Bruce Sherwood >> >> >> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: >> I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 >> >> This is my python: >> >> Enthought Python Distribution (EPD) free version -- www.enthought.com >> Version: 7.3-2 (32-bit) >> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >> >> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >> Type "credits", "demo" or "enthought" for more information. >> >> >> Getting VPython to work with EPD would be great. >> >> Thanks, >> -Scott >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |