[Nix-dev] Boost 1.47.0 doesn't find libtool on Darwin

Peter Simons simons at cryp.to
Wed Jul 13 09:05:26 CEST 2011


Hi guys,

I've updated the Boost libraries to the latest available version.
Unfortunately, there is a build error on Darwin [1]:

 | darwin.archive bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/libboost_test_exec_monitor.a
 | /bin/sh: line 1: libtool: command not found
 |
 |     "libtool" -static -o
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/libboost_test_exec_monitor.a"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/compiler_log_formatter.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/debug.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/execution_monitor.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/framework.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/plain_report_formatter.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/progress_monitor.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/results_collector.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/results_reporter.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/test_main.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/test_tools.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/unit_test_log.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/unit_test_main.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/unit_test_monitor.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/unit_test_parameters.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/unit_test_suite.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/xml_log_formatter.o"
 |              "bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/xml_report_formatter.o"
 |
 | ...failed darwin.archive
 |              bin.v2/libs/test/build/darwin-4.2.1/release/link-static/threading-multi/libboost_test_exec_monitor.a...

Now, I believe that 'libtool' is a system utility on MacOS X -- i.e. it
is not the same program as GNU Libtool --, so I don't want to add GNU
libtool as a build input. Instead, we should probably add a mini-wrapper
like 'darwinArchUtility' or 'darwinLipoUtility' for that tool. However,
I don't have access to Darwin and can't test these things, so I wonder
if anyone who does have access could please do that for me?

Take care,
Peter



[1] http://hydra.nixos.org/build/1161194




More information about the nix-dev mailing list