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