2017-12-16 2 views
1

shapelib을 Windows에서 source으로 빌드하려고합니다. 라이브러리는 자동 도구를 사용합니다. MinGW에 적절한 패키지가 설치되어 있습니다. 내가Windows (MinGW)에서 autotools 실행

C:\MinGW\msys\1.0\bin\sh autogen.sh 

를 실행하면 내가 readlink를 Windows와 내가 단지도 오류

가 발생합니다

그러나
C:\MinGW\msys\1.0\bin\sh configure 

, 바로 건너 뛸 일을 기대하지 않습니다

autogen.sh: line 4: readlink: command not found 
autogen.sh: line 4: dirname: command not found 
**Error**: Directory `' does not look like the top-level package directory 

출력

configure: line 478: sed: command not found 
configure: line 477: expr: command not found 
configure: line 478: sed: command not found 
configure: line 492: sed: command not found 
: error: cannot create .lineno; rerun with a POSIX shell 

창문에서 이것을 컴파일하는 방법? 나는 명백한 것을 놓치고 있는가? 나는 이중 검사를하고 sed 패키지가 설치되어있다.

enter image description here

+0

올바른 Autotools 프로젝트에서 수정되지 않은 배포판에서 소프트웨어 자체를 빌드하기 위해 빌드 시스템을 재구성해야한다는 것은 아닙니다 (autogen.sh가 전통적으로하는 것입니다). 사실 그렇게하지 않는 것이 가장 좋습니다. –

답변

1

과제를 해결한다. 내 MinGW 설치가 손상되었습니다. 나는 MinGw를 제거하고 다시 설치했다. 지금 autogen.sh이 잘 실행됩니다.

관련 문제