2

Hackage サーバーhttps://github.com/haskell/hackage-serverのコピーをビルドして実行しようとしています。https://github.com/haskell/hackage-server/wikiの指示と、readme の指示に従いました。どちらを試しても、ghc 7.8.4 と cabal 1.22 でビルドしようとすると、次のエラーが表示されます。

Preprocessing executable 'hackage-server' for hackage-server-0.5.0...
Main.hs:40:8:
Could not find module ‘Network.URI’
It is a member of the hidden package ‘network-uri-2.6.0.1’.
Perhaps you need to add ‘network-uri’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘network-2.4.2.3’.
Perhaps you need to add ‘network’ to the build-depends in your .cabal file.

また、最新の Haskell Platform を使用してみましたが、同じ失敗メッセージが表示されます。

これが現在の hackage-server の master ブランチのバグなのか、それとも ghc や cabal のインストール方法に関係があるのか​​、解決しようとしています。

編集: Ubuntu 14.04 リポジトリ haskell-platform (ghc 7.6.3、cabal 1.16) で再試行しましたが、同じエラーが発生します。

4

1 に答える 1