2012-10-16 29 views
12

xây dựng với lệnh
[[email protected] boost_1_51_0]$ ./b2 --prefix=$HOME/ins/ins-boost2không cập nhật được 58 mục tiêu khi cố gắng tăng cường, điều gì đã xảy ra?

và không thành công với thông báo sau, tại sao?

common.copy stage/lib/libboost_timer.a 
common.mkdir bin.v2/libs/wave/build/gcc-4.1.2/release/link-static 
common.mkdir bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_cpp_exprgrammar.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_cpp_grammar.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_cpp_literalgrs.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_defined_grammar.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_predef_macros.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_re2c_lexer.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/instantiate_re2c_lexer_str.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/token_ids.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/wave_config_constant.o 
common.mkdir bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/cpplexer 
common.mkdir bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/cpplexer/re2clex 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/cpplexer/re2clex/aq.o 
gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/cpplexer/re2clex/cpp_re.o 
gcc.archive bin.v2/libs/wave/build/gcc-4.1.2/release/link-static/threading-multi/libboost_wave.a 
common.copy stage/lib/libboost_wave.a 
...failed updating 58 targets... 
...skipped 12 targets... 
...updated 887 targets... 
[[email protected] boost_1_51_0]$ echo $? 
1 

vấn đề này là không giống như Failed to build boost hoặc Unable to build Boost libraries with GCC, i theo hướng dẫn với liên kếthttp://www.boost.org/doc/libs/1_51_0/more/getting_started/unix-variants.html

+1

Tôi cũng đã thử chính xác điều tương tự và đã ... không cập nhật được 58 mục tiêu ... (googled và dẫn tôi tới đây) –

+0

@Xploit xem câu trả lời của tôi bên dưới – TemplateRex

Trả lời

13

Boost có một vài thư viện mà không phải là độc và yêu cầu cài đặt thư viện của bên thứ 3. Đó là:

  • Boost.IOStreams bzip2 lọc
  • Boost.IOStreams Zlib lọc
  • Boost.MPI
  • Boost.Python
  • Boost.Regex ICU hỗ trợ

Nếu bạn không cài đặt những phụ thuộc này, Boost.Build sẽ bỏ qua chúng để giải thích thông điệp xây dựng của bạn. Nếu bạn muốn các thành phần tùy chọn, sau đó bạn có nhiều việc phải làm. Điều này được giải thích chi tiết trong số này answer.

+1

Những nội dung đó phải được liệt kê trong "bị bỏ qua" chứ không phải "không thành công" mặc dù, phải không? –

+0

@DavidDoria tốt, về mặt kỹ thuật, bạn là đúng, nhưng kịch bản xây dựng tiếp tục xây dựng tất cả các thư viện Boost khác, thậm chí một số có thể thất bại. Đó là những gì tôi có nghĩa là với bỏ qua. – TemplateRex

Các vấn đề liên quan