-rwxr-xr-x. 1 root root 17992 Nov 18 2015 /usr/lib64/libgmpxx.so.4.1.0
ldconfig
接着安装,竟然可以
1
2
3
4
5
cabal install HUnit
Resolving dependencies...
Configuring HUnit-1.3.1.1...
Building HUnit-1.3.1.1...
Installed HUnit-1.3.1.1
然后 testloop 编译不过去了
cabal install testloop
Resolving dependencies...
Configuring testloop-0.1.1.0...
Building testloop-0.1.1.0...
Failed to install testloop-0.1.1.0
Build log ( /root/.cabal/logs/testloop-0.1.1.0.log ):
Configuring testloop-0.1.1.0...
Building testloop-0.1.1.0...
Preprocessing library testloop-0.1.1.0...
[1 of 6] Compiling System.TestLoop.Internal.Signal ( src/System/TestLoop/Internal/Signal.hs, dist/build/System/TestLoop/Internal/Signal.o )
[2 of 6] Compiling System.TestLoop.Util ( src/System/TestLoop/Util.hs, dist/build/System/TestLoop/Util.o )
[3 of 6] Compiling System.TestLoop.Internal.Types ( src/System/TestLoop/Internal/Types.hs, dist/build/System/TestLoop/Internal/Types.o )
[4 of 6] Compiling System.TestLoop.Internal.Watcher ( src/System/TestLoop/Internal/Watcher.hs, dist/build/System/TestLoop/Internal/Watcher.o )
[5 of 6] Compiling System.TestLoop.Internal.Cabal ( src/System/TestLoop/Internal/Cabal.hs, dist/build/System/TestLoop/Internal/Cabal.o )
[6 of 6] Compiling System.TestLoop ( src/System/TestLoop.hs, dist/build/System/TestLoop.o )
src/System/TestLoop.hs:47:23:
Couldn't match type `FS.FilePath' with `[Char]'
Expected type: FilePath
Actual type: FS.FilePath
In the second argument of `treeExtExists', namely
`(FS.decodeString path)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)
src/System/TestLoop.hs:49:23:
Couldn't match type `[Char]' with `FS.FilePath'
Expected type: FilePath -> IO ()
Actual type: FS.FilePath -> IO ()
In the fourth argument of `treeExtExists', namely
`(reloadTestSuite moduleName modulePath paths)'
In a stmt of a 'do' block:
treeExtExists
manager
(FS.decodeString path)
"hs"
(reloadTestSuite moduleName modulePath paths)
cabal: Error: some packages failed to install:
testloop-0.1.1.0 failed during the building phase. The exception was:
ExitFailure 1