2016-07-18 11 views
2

私は干潮サイクル(http://tidalcycles.org/getting_started.html)をインストールしようとしていますが、cabal install tidalコマンドの実行に問題がありました。 元々はwindows10との互換性のために問題が発生していたので、Cygwinをインストールしました。そのシェルからコマンドを実行しようとしました。しかし、これは発生します。Gycwin:cコンパイラが実行可能ファイルを作成できません - 干潮サイクルインストール

[email protected]_di_Andrea ~ 
$ cabal install tidal 
Resolving dependencies... 
Configuring old-time-1.1.0.3... 
Configuring network-2.6.2.1... 
Failed to install old-time-1.1.0.3 
Build log (C:\Users\Andrea\AppData\Roaming\cabal\logs\old-time-1.1.0.3.log): 
Configuring old-time-1.1.0.3... 
configure: WARNING: unrecognized options: --with-compiler 
checking for gcc... C:\PROGRA~1\HASKEL~1\802E01~1.1\mingw\bin\gcc.exe 
checking whether the C compiler works... no 
configure: error: in `/tmp/cabal-tmp-8957/old-time-1.1.0.3': 
configure: error: C compiler cannot create executables 
See `config.log' for more details 
cabal: Leaving directory 'C:\cygwin\tmp\cabal-tmp-8957\old-time-1.1.0.3' 
Failed to install network-2.6.2.1 
Build log (C:\Users\Andrea\AppData\Roaming\cabal\logs\network-2.6.2.1.log): 
Configuring network-2.6.2.1... 
configure: WARNING: unrecognized options: --with-compiler 
checking build system type... i686-pc-cygwin 
checking host system type... i686-pc-cygwin 
checking for gcc... C:\PROGRA~1\HASKEL~1\802E01~1.1\mingw\bin\gcc.exe 
checking whether the C compiler works... no 
configure: error: in `/tmp/cabal-tmp-8956/network-2.6.2.1': 
configure: error: C compiler cannot create executables 
See `config.log' for more details 
cabal: Leaving directory 'C:\cygwin\tmp\cabal-tmp-8956\network-2.6.2.1' 
cabal.exe: Error: some packages failed to install: 
hosc-0.15 depends on network-2.6.2.1 which failed to install. 
mersenne-random-pure64-0.2.0.5 depends on old-time-1.1.0.3 which failed to 
install. 
network-2.6.2.1 failed during the configure step. The exception was: 
ExitFailure 77 
old-time-1.1.0.3 failed during the configure step. The exception was: 
ExitFailure 77 
tidal-0.8 depends on old-time-1.1.0.3 which failed to install. 
websockets-0.9.6.2 depends on network-2.6.2.1 which failed to install. 

だから、それは

configure: error: C compiler cannot create executables 

が問題であると述べています。

[email protected]_di_Andrea ~ 
$ echo; gcc --version; echo; g++ --version; 

gcc (GCC) 5.4.0 
Copyright (C) 2015 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. 


g++ (GCC) 5.4.0 
Copyright (C) 2015 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. 

私はこの「Cygwinの的環境」への総初心者だと私の質問ならば、私は謝罪:私はシステムからこの応答を取得するので、私は、32ビットバージョンを実行しているよ、とCコンパイラをインストールする必要があります適切ではありませんが、私はこのcコンパイラの問題に関するいくつかのガイドを読んで、私は何が間違っているのか全く理解していませんでした。問題を発見

+0

Cyg ** win **はLinuxに関連していません。 – Olaf

+0

私を許してください。私はそれを編集します。 –

+0

configureスクリプトはログファイルを作成しています。そのログファイルは、コンパイルが失敗したと判断したconfigureの実行したテストの詳細を表示します。コンパイルしようとしたコード、コンパイルコマンド、コンパイル結果の実行方法です。 –

答えて

4

:私はこのソースとして

extra-prog-path: C:\Program Files\Haskell Platform\8.0.1\msys\usr\bin 
extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\lib 
extra-include-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\include+ 

で、徒党config.fileを編集Haskellのインストールを完了しませんでしたhttps://www.haskell.org/platform/氏は述べています。

+0

あなたはスペースを含む 'bin'、' lib'、 'include'ディレクトリへのパスに問題があります。ツールチェーンの移動を提案する。しかし、 'mingw'は' cygwin'にはない 'windows'の開発のためのものです。しかし、あなたが 'cygwin'を使っているならば、1)' cygwin'の特定のツールチェーンをインストールしていなければなりません2)何かをする前に 'cygwin'の' startup batch'ファイルを実行していなければなりません。あなたの質問によれば、それらのステップは適切に実行されていません。 – user3629249

+0

最後に、Windowsのcmdプロンプトから 'cabal install tidal'を実行したので、問題はありませんでした。確かにそれはツールチェーンとしてcygwinを使用した –

関連する問題