Build error
Opened this issue · 2 comments
Hi!
I get the following errors while installing crf-chain1 (needed for nef), how can I solve this problem?
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeFreeze' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeThaw' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicLength' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeSlice' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeIndexM' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeCopy' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
elemseq' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeFreeze' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeThaw' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicLength' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeSlice' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeIndexM' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeCopy' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
elemseq' is not a (visible) method of class
Data.Vector.Generic.Base.Vector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicLength' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeSlice' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicOverlaps' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeNew' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeReplicate' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeRead' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeWrite' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicClear' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicSet' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeCopy' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeMove' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeGrow' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicLength' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeSlice' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicOverlaps' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeNew' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeReplicate' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeRead' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeWrite' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicClear' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicSet' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeCopy' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeMove' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
Data/CRF/Chain1/Dataset/Internal.hs:38:1:
basicUnsafeGrow' is not a (visible) method of class
Data.Vector.Generic.Mutable.MVector'
cabal: Error: some packages failed to install:
crf-chain1-0.2.2 failed during the building phase. The exception was:
ExitFailure 1
Hi,
I have found a similar report here: mikeizbicki/HLearn#34. Could you try to use the solution described there on the version 2.2 of the library?
What versions of GHC and cabal are you using?
I am trying to install it in a docker container, it has: GHC 7.4.1 and cabal 1.14.0 (os: ubuntu precise).
I'll take a closer look at the solution.