On Monday, July 11, 2011 2:09:23 PM UTC-7, John Wiegley wrote: > > Hyrum K Wright writes: > > > I don't know if there is a better way to debug this. > > The first thing to confirm is that Ledger and your boost_python shared > library > are both linking to the exact same Python library. That's usually the > reason > for startup crashes when using the Python bridge. > > John > As a random follow up to this old thread, I build ledger from the git repo, but use homebrew to maintain python and boost. As a long term reminder to myself and perhaps of help to other mac users, to get ledger to run w/ python:
(a) check that /usr/local/bin is before /usr/bin in PATH (b) brew install python (c) brew install boost --with-mpi --with-icu (d) mkdir build; ./acprep -j 2 --python --enable-doxygen --enable-cache opt make following those steps, it appears as though python support works: ./build/ledger/opt/ledger python Python 2.7.2 (default, Mar 15 2012, 16:05:11) [GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.12)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>
