[Haskell-cafe] IHaskell trouble, after upgrading to Haskell Platform 7.10.3?

David Banas capn.freako at gmail.com
Wed Dec 16 15:31:55 UTC 2015


Thanks, Adam.
Following the suggestion in the error message, this worked for me:

Davids-MacBook-Air-2:IHaskell dbanas$ git diff ihaskell.cabal 
diff --git a/ihaskell.cabal b/ihaskell.cabal
index fb53441..9562240 100644
--- a/ihaskell.cabal
+++ b/ihaskell.cabal
@@ -147,7 +147,8 @@ executable ihaskell
                        strict               >=0.3,
                        unix                 >= 2.6,
                        directory            -any,
-                       ipython-kernel       >=0.7
+                       ipython-kernel       >=0.7,
+                       here                 -any
 
   if flag(binPkgDb)
     build-depends:       bin-package-db
Davids-MacBook-Air-2:IHaskell dbanas$ 

-db

On Dec 16, 2015, at 5:30 AM, Adam Bergmark <adam at bergmark.nl> wrote:

> It looks like that version of ihaskell is broken, the dependency is missing in the cabal file. Could it be that you are trying to install a later version than you had compiled on <7.10.3?
> 
> The maintainer will probably be interested in hearing about this.
> 
> HTH,
> Adam
> 
> 
> On Wed, Dec 16, 2015 at 2:08 PM, David Banas <capn.freako at gmail.com> wrote:
> Hi all,
> 
> Are there any other IHaskell users out there, who are having trouble re-installing IHaskell, after upgrading to Haskell Platform 7.10.3?
> I’m getting this, at the tail end of the actual ihaskell build:
> 
> [24 of 25] Compiling IHaskell.Eval.Info ( src/IHaskell/Eval/Info.hs, dist/build/IHaskell/Eval/Info.o )
> [25 of 25] Compiling IHaskell.Publish ( src/IHaskell/Publish.hs, dist/build/IHaskell/Publish.o )
> In-place registering ihaskell-0.8.3.0...
> Preprocessing executable 'ihaskell' for ihaskell-0.8.3.0...
> 
> main/Main.hs:29:18:
>     Could not find module ‘Data.String.Here’
>     It is a member of the hidden package ‘here-1.2.7 at here_63mTmLx8Sz20TyEJBVCnnC’.
>     Perhaps you need to add ‘here’ to the build-depends in your .cabal file.
>     Use -v to see a list of the files searched for.
> Updating documentation index
> /Users/dbanas/Library/Haskell/share/doc/x86_64-osx-ghc-7.10.3/index.html
> cabal: Error: some packages failed to install:
> ihaskell-0.8.3.0 failed during the building phase. The exception was:
> ExitFailure 1
> 
> Thanks, and Happy Holidays!
> -db
> 
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151216/69949f31/attachment.html>


More information about the Haskell-Cafe mailing list