2014-12-02 2 views
0

this site에서 ZThread-2.3.2를 컴파일 중입니다../configure failed, error : Gentoo 정상 검사가 실패했습니다.

tar.gz 파일의 압축을 푼 후.

: 그것은 나에게 필요에 따라 내가이 명령을 실행 다음

*** Gentoo sanity check failed! *** 
*** libtool.m4 and ltmain.sh have a version mismatch! *** 
*** (libtool.m4 = 1.5.10, ltmain.sh =) *** 

Please run: 

    libtoolize --copy --force 

if appropriate, please contact the maintainer of this 
package (or your distribution) for help. 

오류를 준 반면 ZThread-2.3.2의 루트 디렉토리에서 나는 명령 후

./configure --prefix=/home/Documents/zthread

를 실행 libtoolize --copy --force

하지만 여전히 오류 메시지를 보냈습니다.

libtool --version

이 버전은 2.4.2이다 libtool이 말한다 :이 문제의 원인을

libtool (GNU libtool) 2.4.2 
Written by Gordon Matzigkeit <[email protected]>, 1996 

Copyright (C) 2011 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions. There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

?
libtoolize: putting auxiliary files in `.'. 
libtoolize: copying file `./ltmain.sh' 
libtoolize: You should add the contents of the following files to `aclocal.m4': 
libtoolize: `/usr/share/aclocal/libtool.m4' 
libtoolize: `/usr/share/aclocal/ltoptions.m4' 
libtoolize: `/usr/share/aclocal/ltversion.m4' 
libtoolize: `/usr/share/aclocal/ltsugar.m4' 
libtoolize: `/usr/share/aclocal/lt~obsolete.m4' 
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and 
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. 
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. 
나는 아래 libtool의 버전을 확인 ZThread를 성공적으로 설치 한 사람이 있습니까?

저는 ZThread 이외의 라이브러리를 꽤 많이 쓰고 있음을 알고 있습니다. 나는 무엇이 잘못되었는지 알고 싶습니다.

+0

'ltmain.sh' seams에는 버전이 없습니다. 이것을 확인 했습니까? 온전한 체크가 어떻게 버전을 감지하는지 결정할 수 있습니까? – harper

+0

수퍼 유저에게 더 적합합니다. – OMGtechy

+0

@harper 예'ltmain.sh' 파일을 확인했습니다. 49 행.'VERSION = 1.5.10'. 사실, 저는 리눅스 스타일의 편집 및 설치에 초보자입니다. 현재로서는 온 전성 수표가 어떻게 버전을 감지하는지 모르겠습니다. 어떤 생각? – lqr

답변

1

방금 ​​우분투에 ZThread를 설치했습니다.

ltmain.sh에 빈 버전이있는 이유는 ./configure 파일의 구문 오류 때문입니다. 당신은 *** Gentoo sanity check failed! ***하기 전에 다음과 같은 오류가 있어야합니다

checking for correct ltmain.sh version... grep: character class syntax is [[:space:]], not [:space:] 
no 

오류가 ./configure 실행 파일의 다음 줄에 있습니다 [[:space:]][:space:]을 변경 한 후

gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` 

, 다음과 수정해야된다 문제 :

gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` 

사용하지 않는 구문 때문에 우리는 다음에 컴파일 오류가 발생할 수 있습니다. ./configure에 다음 행을 추가하여 수정할 수있는 ZThread에 의해 수정되었습니다.

CXXFLAGS="$CXXFLAGS -fpermissive" 
관련 문제