を私はMacOSのシエラ・システム上にCライブラリをコンパイルしたいが、私は次のエラーを取得しています:Mac OSのシエラ:Cコンパイラが動作するかどうかをチェックしません...何
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/Users/macuser/Downloads/libr':
configure: error: C compiler cannot create executables
私はシンボリックリンクを設定してみましたOS X 10.9.2: checking whether the C compiler works... noで提案されているように:
export CC=clang
xcode-select --install
:
sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain
私はhttps://apple.stackexchange.com/questions/216573/cant-compile-source-code-on-macのようにXcodeのをCCパスを設定してインストールしてみました
をダウンロードし、ライセンスに同意します。しかし何も働かなかった。コマンドラインツールが正しく動作するようにSierraで検討する新しいステップはありますか?
私はSSHを使ってMacosに接続していますが、コマンドラインからあなたが言ったことをどうすればできますか? – SebMa