[ 
https://issues.apache.org/jira/browse/THRIFT-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200488#comment-14200488
 ] 

David Laxer commented on THRIFT-2799:
-------------------------------------

I’m building boost from GitHub and I’m getting icu build warnings:

   - icu                      : no  (cached)
    - icu (lib64)              : no  (cached)
- Boost.Locale needs either iconv or ICU library to be built.

David-Laxers-MacBook-Pro:thrift davidlaxer$ port list select icu
icu                            @53.1           devel/icu

http://stackoverflow.com/questions/24416251/build-boost-locale-with-icu-on-os-x

I tried this (but it skips most targets).

./b2 -sICU_PATH=/opt/local/lib/icu/53.1/ --with-locale boost.locale.iconv=off 
boost.locale.icu=on

...
Component configuration:

    - atomic                   : not building
    - chrono                   : not building
    - context                  : not building
    - coroutine                : not building
    - date_time                : not building
    - exception                : not building
    - filesystem               : not building
    - graph                    : not building
    - graph_parallel           : not building
    - iostreams                : not building
    - locale                   : building
    - log                      : not building
    - math                     : not building
    - mpi                      : not building
    - program_options          : not building
    - python                   : not building
    - random                   : not building
    - regex                    : not building
    - serialization            : not building
    - signals                  : not building
    - sync                     : not building
    - system                   : not building
    - test                     : not building
    - thread                   : not building
    - timer                    : not building
    - wave                     : not building

...found 12 targets...


The Boost C++ Libraries were successfully built!

Any ideas?




> Build Problem(s): ld: library not found for -l:libboost_unit_test_framework.a
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-2799
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2799
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9.1
>         Environment: Mac OS X Yosemite
>            Reporter: David Laxer
>            Assignee: Jake Farrell
>              Labels: boost
>             Fix For: 0.9.3
>
>
> /bin/sh ../../../libtool  --tag=CXX   --mode=link g++ -Wall -Wextra -pedantic 
> -g -O2 -std=c++11 -L/usr/local/lib  -o processor_test 
> processor/ProcessorTest.o processor/EventLog.o processor/ServerThread.o 
> libprocessortest.la ../../../lib/cpp/libthrift.la 
> ../../../lib/cpp/libthriftnb.la -L/usr/local/lib -levent 
> -l:libboost_unit_test_framework.a -lssl -lcrypto -lpthread 
> libtool: link: g++ -Wall -Wextra -pedantic -g -O2 -std=c++11 -o 
> .libs/processor_test processor/ProcessorTest.o processor/EventLog.o 
> processor/ServerThread.o -Wl,-bind_at_load  -L/usr/local/lib 
> ./.libs/libprocessortest.a ../../../lib/cpp/.libs/libthrift.dylib 
> ../../../lib/cpp/.libs/libthriftnb.dylib /usr/local/lib/libevent.dylib 
> -l:libboost_unit_test_framework.a -lssl -lcrypto -lpthread
> ld: library not found for -l:libboost_unit_test_framework.a
> collect2: error: ld returned 1 exit status
> make[4]: *** [processor_test] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> David-Laxers-MacBook-Pro:thrift davidlaxer$ sudo port list select boost
> Password:
> boost                          @1.56.0         devel/boost



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to