Братья-человеки!
Помогите собрать сию либу под ворожую ось.
Командная строка:
bash-3.2# bjam --toolset=darwin threading=multi link=static runtime-link=static release debug stage
Результат:
| | Скрытый текст |
| | warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:1066: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pstage/lib>libboost_date_time.a
error: previous virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { darwin%darwin.archive-libboost_date_time.a.STATIC_LIB { darwin%darwin.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { darwin%darwin.archive-libboost_date_time.a.STATIC_LIB { darwin%darwin.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <debug-symbols>on <inlining>off <optimization>off <runtime-debugging>on <variant>debug
error: removed properties: <debug-symbols>off <define>NDEBUG <inlining>full <optimization>speed <runtime-debugging>off <variant>release
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@3677
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:135: in object(file-target)@3677.actualize from module object(file-target)@3677
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build-system.jam:748: in load from module build-system
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/Users/rtelyuk/Desktop/boost_1_43_0/boost-build.jam:17: in module scope from module
|
| | |
Еще пробовал так:
bjam --toolset=darwin "-sGXX=g++ -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" threading=multi link=static runtime-link=static release debug stage
Результат:
| | Скрытый текст |
| | warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:1066: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pstage/lib>libboost_date_time.a
error: previous virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { darwin%darwin.archive-libboost_date_time.a.STATIC_LIB { darwin%darwin.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-libboost_date_time.a.STATIC_LIB { darwin%darwin.archive-libboost_date_time.a.STATIC_LIB { darwin%darwin.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <debug-symbols>on <inlining>off <optimization>off <runtime-debugging>on <variant>debug
error: removed properties: <debug-symbols>off <define>NDEBUG <inlining>full <optimization>speed <runtime-debugging>off <variant>release
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@3677
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build/virtual-target.jam:135: in object(file-target)@3677.actualize from module object(file-target)@3677
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/build-system.jam:748: in load from module build-system
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/kernel/modules.jam:283: in import from module modules
/Users/rtelyuk/Desktop/boost_1_43_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
/Users/rtelyuk/Desktop/boost_1_43_0/boost-build.jam:17: in module scope from module
|
| | |
вроде разобрался
sudo bjam "-sTOOLS=darwin" "-sGXX=g++ -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" "-sGCC=gcc -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" stage
Здравствуйте, nen777w, Вы писали:
N>вроде разобрался
N>N>sudo bjam "-sTOOLS=darwin" "-sGXX=g++ -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" "-sGCC=gcc -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" stage
В мак портах уже есть boost 1.44
Здравствуйте, alexeiz, Вы писали:
A>Здравствуйте, nen777w, Вы писали:
N>>вроде разобрался
N>>N>>sudo bjam "-sTOOLS=darwin" "-sGXX=g++ -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" "-sGCC=gcc -O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" stage
A>В мак портах уже есть boost 1.44
про 1.44 вкурсе. Но когда брал его собрать под винду не собиралась boost_zlib написал им багу. Под мак собирать не пробовал, решил пока на 1.43 остаться, пока исправят.