thrift 安装 make 失败 ar: .libs/ThriftTest_constants.o: No such file or directory

$wget http://mirrors.cnnic.cn/apache/thrift/0.9.1/thrift-0.9.1.tar.gz
$tar zxvf thrift-0.9.1.tar.gz
$cd thrift-0.9.1
$./configure
$make

  

/bin/bash ../../libtool --tag=CXX   --mode=link g++ -Wall -g -O2 -L/usr/lib   -o libtestgencpp.la  ThriftTest_constants.lo ThriftTest_types.lo ../../lib/cpp/libthrift.la -lssl -lcrypto -lrt -lpthread 
libtool: link: ar cru .libs/libtestgencpp.a .libs/ThriftTest_constants.o .libs/ThriftTest_types.o 
ar: .libs/ThriftTest_constants.o: No such file or directory
make[3]: *** [libtestgencpp.la] 错误 1
make[3]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1/test/cpp'
make[2]: *** [all-recursive] 错误 1
make[2]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1/test'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1'
make: *** [all] 错误 2

  

$cp test/cpp/*.o test/cpp/.libs/
$make
$make install

  

posted on 2014-07-30 18:02  q191201771  阅读(1988)  评论(0编辑  收藏  举报