Ubuntu 14.04 cannot build

69 views
Skip to first unread message

CK Hello

unread,
Aug 4, 2015, 5:31:24 AM8/4/15
to leksah
ubuntu:$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

ubuntu:$ cabal install leksah-serverResolving dependencies...
Configuring leksah-server-0.15.0.6...
Building leksah-server-0.15.0.6...
Preprocessing library leksah-server-0.15.0.6...
[ 1 of 15] Compiling Paths_leksah_server ( dist/build/autogen/Paths_leksah_server.hs, dist/build/Paths_leksah_server.o )
[ 2 of 15] Compiling IDE.Utils.Server ( src/IDE/Utils/Server.hs, dist/build/IDE/Utils/Server.o )
[ 3 of 15] Compiling IDE.Core.CTypes  ( src/IDE/Core/CTypes.hs, dist/build/IDE/Core/CTypes.o )
[ 4 of 15] Compiling IDE.Core.Serializable ( src/IDE/Core/Serializable.hs, dist/build/IDE/Core/Serializable.o )

src/IDE/Core/Serializable.hs:79:17-19:
    No instance for (Data.Typeable.Internal.Typeable PackageIdentifier)
      arising from a use of `put'
    Possible fix:
      add an instance declaration for
      (Data.Typeable.Internal.Typeable PackageIdentifier)
    In a stmt of a 'do' block: put mbSourcePathPD'
    In the expression:
      do { put packagePD';
           put exposedModulesPD';
           put buildDependsPD';
           put mbSourcePathPD' }
    In the first argument of `putShared', namely
      `(\ (PackageDescr packagePD'
                        exposedModulesPD'
                        buildDependsPD'
                        mbSourcePathPD')
          -> do { put packagePD';
                  put exposedModulesPD';
                  put buildDependsPD';
                  .... })'

src/IDE/Core/Serializable.hs:239:10-32:
    No instance for (Data.Typeable.Internal.Typeable ModuleName)
      arising from the superclasses of an instance declaration
    Possible fix:
      add an instance declaration for
      (Data.Typeable.Internal.Typeable ModuleName)
    In the instance declaration for `BinaryShared ModuleName'

src/IDE/Core/Serializable.hs:243:10-33:
    No instance for (Data.Typeable.Internal.Typeable PackageName)
      arising from the superclasses of an instance declaration
    Possible fix:
      add an instance declaration for
      (Data.Typeable.Internal.Typeable PackageName)
    In the instance declaration for `BinaryShared PackageName'
Failed to install leksah-server-0.15.0.6
cabal: Error: some packages failed to install:
leksah-server-0.15.0.6 failed during the building phase. The exception was:
ExitFailure 1


-----------------

Whats wrong with me?

CK

Evgeny Rachlenko

unread,
Sep 5, 2015, 3:39:22 AM9/5/15
to leksah
same here .

вторник, 4 августа 2015 г., 12:31:24 UTC+3 пользователь CK Hello написал:

Александр Замараев

unread,
Sep 10, 2015, 5:17:02 AM9/10/15
to leksah
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3
 
leksah-server-0.15.0.5 - latest compilable version for ubuntu 14.04
Reply all
Reply to author
Forward
0 new messages