>>>>> Arnar Birgisson <[email protected]> writes:
> I'm on OS-X Lion, and have installed the dependencies with homebrew. However,
> my homebrew stuff is in /usr/local/homebrew instead of /usr/local, so the
> ledger build system doesn't see them. I could point out boost by setting
> BOOST_ROOT, but how do I tell acprep or cmake that gmp and mpfr live under
> /usr
> /local/homebrew?
Try this:
cmake -DCMAKE_INCLUDE_PATH:STRING=/usr/local/homebrew/include
-DCMAKE_LIBRARY_PATH:STRING=/usr/local/homebrew/lib
<path to ledger source>
See if that helps it to find your GMP/MPFR. If that works, I can add an
option to acprep to make it easier to pass that down to cmake.
> Side question: At the top of acprep there is a definition of
> search_prefixes. This seems not to be used anywhere. Is that the case?
Quite possible. The transition to cmake left some crud, I'm sure.
John