홈>
./configure
를 운영하고 있습니다
autoconf를 사용하는 OpenFST 패키지를 빌드하기 전에 명령.
ar
를 확인할 때 스크립트가 실패합니다
인터페이스 :
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... unknown
configure: error: could not determine ar interface
이것은 이 질문 과 관련이있는 것 같습니다. 구성이 작동하도록 스크립트가 올바른 MacOS 파일을 사용하도록하는 방법을 이해하십시오.
- 답변 # 1
관련 자료
- apache spark - macOS Mojave에서 Pandas UDF를 사용하는 방법은 무엇입니까? ([__NSPlaceholderDictionary initialize]로 인해 실패했습니다 )
- gnu make - autotools를 사용하여 Windows 용 구성 스크립트를 생성하는 방법
- google cloud platform - Deployment Manager 템플리트로 방화벽 및 시작 스크립트를 구성하는 중 문제점
- php - SSH를 통해 실행할 때 원격 스크립트에 포함 실패
- WinDbg에서 "스크립트"검색 경로를 어떻게 구성 할 수 있습니까?
- vba - 스크립트는 때때로 웹 사이트에 로그인하지만 대부분 실패합니다
- PHP 스크립트가 SSL을 사용하여 MySQL에 연결하지 못함
- azure pipelines - 호스팅 된 Macos 이미지 구성
- fastcgi를 사용하여 Python 스크립트를 실행하도록 Lighttpd 구성
- shell - 스크립트가 실패하면 에코 "TEXT">> FILE을 수행하지 않습니다
- mac - MacOS 1014 Mojave에서 iTunes 9 실행
- xcode8 - macOS mojave에서 Xcode 1021 옆에 Xcode 833 설치
- catalina - bash 외부 스크립트로 설정된 경우 Cronjob macOS가 작동하지 않음
- node.js - [email protected] 설치 스크립트에서 실패시 npm 설치 실패
- awk를 사용하는 쉘 스크립트는 AppleScript에서 실패하지만 동일한 awk 명령이 터미널에서 작동합니다
- MacOS Big Sur에서 Homebrew가 실패 함
- apt - 스크립트에서 ssh 업데이트 명령 연결 실패
- node.js - Heroku가 시작 스크립트에서 실패하지만 내 packagejson에 표준 시작 스크립트가 있습니다
- linux - 이 tar 명령은 명령 줄에서 작동하지만 스크립트에서는 실패합니다
- Future.BatchTools (Slurm)로 R 스크립트 병렬로 병렬로 배치 스크립트를 구성하는 방법
config.log 내부를 보면 문제가 잘못된
ar
사용과 관련이 있음이 밝혀졌습니다. 그리고 잘못된ranlib
/opt/local/bin/
에 위치/usr/bin
에있는 것 대신 .이것을 실행하면 문제가 해결되었습니다 :
이 토론의 제안을 바탕으로 : https://github.com/commercialhaskell/stack/issues/4380