首页 > 代码库 > thrift 安装 make 失败 ar: .libs/ThriftTest_constants.o: No such file or directory

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 directorymake[3]: *** [libtestgencpp.la] 错误 1make[3]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1/test/cpp‘make[2]: *** [all-recursive] 错误 1make[2]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1/test‘make[1]: *** [all-recursive] 错误 1make[1]:正在离开目录 `/home/chef/sss/sf/thrift-0.9.1‘make: *** [all] 错误 2

  

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