From: Thomas S. <to...@fe...> - 2013-02-13 10:14:56
|
On Wed, Feb 13, 2013 at 11:08 AM, boy...@gm... <boy...@gm...> wrote: > Hello everyone, > > Continuing from my earlier question, I have now installed all dependancies > using a combination of homebrew (http://mxcl.github.com/homebrew), pip and > good-old python setup.py installing… > > Things seem to build fine, but I have a linking problem with boost. My boost > includes and library files live in the usual places /usr/local/include and > /usr/local/lib (well symlinks managed by homebrew). > > Any ideas on how to tell the install script the location of boost? > > I have edited the site.cfg to read, > > [build_ext] > include-dirs=/usr/local/include > library-dirs=/usr/local/lib > > The list lines of the error reads, > > --- > -L/usr/local/lib -lboost_python -lboost_signals -o > build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so > ld: library not found for -lboost_python > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > error: command 'c++' failed with exit status 1 > --- > > Any ideas? Looking into the right library directory seems to work. Are you sure, there is a libboost_python.so in there? It might also be that there is only a libboost_python-mt.so, so you need to link against that and change the "-lboost_python" to "-lboost_python-mt". Greetings, Tom > Best wishes, > > Dan > > > > > > On 13 Feb 2013, at 14:39, 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 > > > > ------------------------------------------------------------------------------ > 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 > |