前提・実現したいこと
CentOS7にwxHaskellをインストールしたい。
発生している問題・エラーメッセージ
cabal unpack wx wxcore wxdirect wxc
を実行すると
「wx-0.92.3.0」フォルダ
「wxc-0.92.3.0」フォルダ
「wxcore-0.92.3.0」フォルダ
「wxdirect-0.92.3.0」フォルダ
が作成されます。
こちらの指示通りに
> cd ~/dev/wxhaskell/wxdirect > cabal install > cd ../wxc > cabal install > cd ../wxcore > cabal install > cd ../wx > cabal install
をしようとしたところ、
cd ../wxc-0.92.3.0 cabal install
のところで下記エラーがでます。
[apo@localhost hs_hxHaskell]$ cd wxcore-0.92.3.0 [apo@localhost wxcore-0.92.3.0]$ cabal install Resolving dependencies... Configuring wxc-0.92.3.0... Failed to install wxc-0.92.3.0 Build log ( /home/apo/.cabal/logs/ghc-7.8.3/wxc-0.92.3.0-8A7gZ8xKrFz77LwQ0mQ8YE.log ): cabal: Entering directory '/tmp/cabal-tmp-25498/wxc-0.92.3.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/setup.hs, /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/setup ... Warning: No config found to match: /usr/local/bin/wx-config --version=3.0 --version-full in /home/apo/doc/dev/git_clone/wxWidgets/lib/wx/config If you require this configuration, please install the desired library build. If this is part of an automated configuration test and no other errors occur, you may safely ignore it. You may use wx-config --list to see all configs available in the default prefix. readCreateProcess: wx-config "--version=3.0" "--version-full" (exit 1): failed cabal: Leaving directory '/tmp/cabal-tmp-25498/wxc-0.92.3.0' cabal: Error: some packages failed to install: wxc-0.92.3.0-8A7gZ8xKrFz77LwQ0mQ8YE failed during the configure step. The exception was: ExitFailure 1 wxcore-0.92.3.0-GP5GWjnlKSCAS1FlnJs3hE depends on wxcore-0.92.3.0 which failed to install.
/home/apo/.cabal/logs/ghc-7.8.3/wxc-0.92.3.0-8A7gZ8xKrFz77LwQ0mQ8YE.log
[apo@localhost wxcore-0.92.3.0]$ cat /home/apo/.cabal/logs/ghc-7.8.3/wxc-0.92.3.0-8A7gZ8xKrFz77LwQ0mQ8YE.log cabal: Entering directory '/tmp/cabal-tmp-25498/wxc-0.92.3.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/setup.hs, /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-25498/wxc-0.92.3.0/dist/setup/setup ... Warning: No config found to match: /usr/local/bin/wx-config --version=3.0 --version-full in /home/apo/doc/dev/git_clone/wxWidgets/lib/wx/config If you require this configuration, please install the desired library build. If this is part of an automated configuration test and no other errors occur, you may safely ignore it. You may use wx-config --list to see all configs available in the default prefix. readCreateProcess: wx-config "--version=3.0" "--version-full" (exit 1): failed cabal: Leaving directory '/tmp/cabal-tmp-25498/wxc-0.92.3.0'
補足情報(FW/ツールのバージョンなど)
OS:CentOS7 64bit
Cabal version:2.2.0.0
wx-config version:3.1.3
ご教示よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/01/26 18:29
2019/01/26 23:09 編集