简体   繁体   中英

Cabal Configure fails on Configuring test (Windows)

I am new to Haskell and trying to install Yesod on a windows machine using cabal.

When I try to do a yesod devel I get a build failure, saing I must run configure first.

Then when I run a cabal configure it fails with the following message:

Resolving dependencies...
Configuring test-0.0.0...
cabal: Test sharing name of exe found. Consider this a bug.

I am using the latest Haskell platform (2012.2.0.0).

Apparently there's a bug in cabal, and you can't have a test executable with the same name as a regular executable. Since the test executable is named test , and the regular executable has the same name as your project, it would appear that test is no longer a valid name for a Yesod project. If you name it something else, it should work.

Could you file a bug report on Github so that we prevent people from using the name test ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM