building hslogger error windows

Hi cafe, I just get a build error on install config-file (which depends on hslogger), C:\Documents and Settings\lenovo>cabal install hslogger Resolving dependencies... Downloading hslogger-1.1.1... Configuring hslogger-1.1.1... Preprocessing library hslogger-1.1.1... Preprocessing executables for hslogger-1.1.1... Building hslogger-1.1.1... src\System\Log\Handler\Rotating.hs:48:7: Could not find module `System.FilePath.Windows': It is a member of the hidden package `filepath-1.1.0.4'. Perhaps you need to add `filepath' to the build-depends in your .cabal fil e. Use -v to see a list of the files searched for. cabal: Error: some packages failed to install: hslogger-1.1.1 failed during the building phase. The exception was: ExitFailure 1 I am using platform-2.0, How can I solve it? Thanks in advance Gang

On Monday 24 January 2011 02:33:17, Gang Yu wrote:
Hi cafe,
I just get a build error on install config-file (which depends on hslogger),
C:\Documents and Settings\lenovo>cabal install hslogger Resolving dependencies... Downloading hslogger-1.1.1...
You can try with hslogger-1.1.0, which built on 6.12 and 7.0 on hackage, or maybe with hslogger-1.1.2 (which hasn't yet been built on hackage since it was uploaded only yesterday). hslogger-1.1.1 had the same build failure on hackage.
I am using platform-2.0, How can I solve it?
Thanks in advance
Gang

On 24 January 2011 02:02, Daniel Fischer
You can try with hslogger-1.1.0, which built on 6.12 and 7.0 on hackage, or maybe with hslogger-1.1.2 (which hasn't yet been built on hackage since it was uploaded only yesterday). hslogger-1.1.1 had the same build failure on hackage.
Isn't the problem that the cabal file for hslogger doesn't state a dependency on filepath? (even though filepath is a GHC boot lib its not in "base"). I'd expect the problem could be solved by downloading the hslogger archive, editing the cabal file and installing manually.

On Monday 24 January 2011 09:19:53, Stephen Tetley wrote:
On 24 January 2011 02:02, Daniel Fischer
wrote: You can try with hslogger-1.1.0, which built on 6.12 and 7.0 on hackage, or maybe with hslogger-1.1.2 (which hasn't yet been built on hackage since it was uploaded only yesterday). hslogger-1.1.1 had the same build failure on hackage.
Isn't the problem that the cabal file for hslogger doesn't state a dependency on filepath? (even though filepath is a GHC boot lib its not in "base").
I'd expect the problem could be solved by downloading the hslogger archive, editing the cabal file and installing manually.
So do I, but I somehow felt that shouldn't be the first advice to give.
participants (3)
-
Daniel Fischer
-
Gang Yu
-
Stephen Tetley