John Wiegley <[email protected]> writes:

>>>>>> Philip Rooke 
>>>>>> <phil-en7ojfye3rc1qrn1bg8bzw-xmd5yjdbdmrexy1tmh2...@public.gmane.org> 
>>>>>> writes:

>> That's what homebrew does (mt = multi-threaded??) and it is the only version
>> of the files that are installed.
>
> Aha.  I have this in my CMake config:
>
>     set(Boost_USE_MULTITHREADED OFF)
>
> Can you try deleting that line in ledger/CMakeLists.txt and trying again?

Thanks, yes that change does work. The libraries under their
'libboost_regex-mt' variant are now found.

Just for the record the build then failed when looking for gettext.  I
pretty much expected this as Homebrew does not install its gettext on any
system paths.  This is not a ledger issue.  I am sure that when homebrew
ledger recipe is updated to the new build system this will be taken care
of automatically.  In the meantime I manually edited a couple of
filepaths in CMakeCache.txt.

//Path to a program.
GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=/usr/local/Cellar/gettext/0.18.1.1/bin/msgfmt

//Path to a program.
GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH==/usr/local/Cellar/gettext/0.18.1.1/bin/msgmerge

I know nothing about CMake and I have no idea whether this is the right
way to configure these settings.  Anyway, with just those 3 changes ledger
happily builds for me.

Brilliant, thanks a bunch!

Phil

Reply via email to