Xây dựng tiết kiệm 0.9.1 (hỗ trợ C, C++, java, C#, perl, python) trên Ubuntu 13.04 Tôi nhận được lỗi này.lỗi libtool xây dựng tiết kiệm 0.9.1 trên Ubuntu 13.04
./configure chạy mà không bất kỳ tùy chọn, hãy chạy mà không bất kỳ tùy chọn ...
Making all in test
make[2]: Entering directory `/home/dvb/sw/thrift-0.9.1/test'
Making all in nodejs
make[3]: Entering directory `/home/dvb/sw/thrift-0.9.1/test/nodejs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dvb/sw/thrift-0.9.1/test/nodejs'
Making all in cpp
make[3]: Entering directory `/home/dvb/sw/thrift-0.9.1/test/cpp'
Makefile:832: warning: overriding commands for target `gen-cpp/ThriftTest.cpp'
Makefile:829: warning: ignoring old commands for target `gen-cpp/ThriftTest.cpp'
/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] Error 1
make[3]: Leaving directory `/home/dvb/sw/thrift-0.9.1/test/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dvb/sw/thrift-0.9.1/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dvb/sw/thrift-0.9.1'
make: *** [all] Error 2
[email protected]:~/sw/thrift-0.9.1$
khi cấu hình không nơi nương tựa C++ (./configure -with-cpp = no) thực hiện chạy thành công. Điều này có vẻ là một vấn đề đường dẫn đối với libtool; ThriftTest_constants.o hiện diện. –
Vấn đề tương tự trên Ubuntu 13.10. Giải quyết bằng cách loại bỏ hỗ trợ C++ như đã nêu ở trên. –