2016-06-14 1 views
0

autotools를 뭔가 잘못을 libprocess을 구축하는 데 실패, 실행, 나는 <a href="https://github.com/3rdparty/libprocess" rel="nofollow">https://github.com/3rdparty/libprocess</a>에서 libprocess을 다운로드 한 다음 내가 빌드 명령을 수행

Makefile.am:97: warning: source file 'src/tests/time_tests.cpp' is in a subdirectory, 
Makefile.am:97: but option 'subdir-objects' is disabled 
:

./bootstrap 

는 경고가 말한다있을 것 이제

AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability foreign subdir-objects]) 

:

은 그래서 configure.ac 파일에서 '하위 디렉터리-객체를'추가했습니다 ./bootstrap은 부드럽게 진행되지만, "빌드"를 mkdir하고 실행할 때 "../configure;

Making all in 3rdparty 
Makefile:879: gmock-1.6.0/src/.deps/libgmock_la-gmock-all.Plo: No such file or directory 
Makefile:880: gmock-1.6.0/gtest/src/.deps/libgmock_la-gtest-all.Plo: No such file or directory 
Makefile:881: ry-http-parser-1c3624a/.deps/libry_http_parser_la-http_parser.Plo: No such file or directory 
Makefile:882: stout/tests/.deps/stout_tests-bytes_tests.Po: No such file or directory 
Makefile:883: stout/tests/.deps/stout_tests-duration_tests.Po: No such file or directory 

내가 빌드/3rdparty 디렉토리에 디렉토리가있는 것을 발견했습니다 : 구축 "DIR"에서 "확인이 실패했습니다

$(GMOCK) 
$(GTEST) 
$(RY_HTTP_PARSER) 
$(STOUT) 

그래서 문제가 생각

그러나 버그를 고칠 수있는 방법을 찾지 못했습니다. 아무도 실마리를 줄 수 없습니까?

답변

1

그래서 configure.ac 파일에 'subdir-objects'를 추가했습니다.

가능성이 있습니다. bootstrap 문제는 경고 일뿐입니다.

최근 버전의 automake는 비 재귀 Makefile.am 인 like this question에이 오류를 표시합니다.

+0

고마워요! 정확히 내가 필요로하는 것! – Jerrylk

관련 문제