[ 
https://issues.apache.org/jira/browse/THRIFT-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Laxer updated THRIFT-2799:
--------------------------------
    Attachment: Makefile.am
                Makefile

David-Laxers-MacBook-Pro:boost davidlaxer$ cd ../thrift
David-Laxers-MacBook-Pro:thrift davidlaxer$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in compiler/cpp
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in lib
Making all in cpp
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in test
 cd ../../.. && /bin/sh /Users/davidlaxer/thrift/missing automake-1.14 
--foreign lib/cpp/test/Makefile
 cd ../../.. && /bin/sh ./config.status lib/cpp/test/Makefile depfiles
config.status: creating lib/cpp/test/Makefile
config.status: executing depfiles commands
Makefile:1350: *** missing separator.  Stop.
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

vi +1350 Makefile:

ThriftTest_extras.o: gen-cpp/ThriftTest_types.h
DebugProtoTest_extras.o: gen-cpp/DebugProtoTest_types.h
  -llibboost_unit_test_framework
  -llibboost_unit_test_framework
  -llibboost_unit_test_framework
                       -llibboost_unit_test_framework
        -llibboost_unit_test_framework







> 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
>
>         Attachments: Makefile, Makefile, Makefile.am, config.log
>
>
> /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