7.8.1 cabal install of vector package (dependent on primitive package) fails

Carter Schonwald carter.schonwald at gmail.com
Thu Apr 10 03:42:26 UTC 2014


i bet you have cabal --version reply with  1.16 :)

1) cabal update
2) cabal install cabal-install
3) rm ~/.cabal/config # old pre 1.18 config should go!
4) cabal update # also probably add ~/.cabal/bin to path
5)  cabal install vector



On Wed, Apr 9, 2014 at 11:24 PM, Vivian McPhail <
haskell.vivian.mcphail at gmail.com> wrote:

> Hi,
>
> Ubuntu 12.04, 64 bit x86, ghc 7.8.1 gives the following:
>
> # cabal install --global vector
> ...
> [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
> Data/Vector/Fusion/Stream/Monadic.hs,
> dist/build/Data/Vector/Fusion/Stream/Monadic.o )
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package primitive-0.5.2.1 ... <command line>: can't load .so/.DLL
> for: libHSprimitive-0.5.2.1.so (libHSprimitive-0.5.2.1.so: cannot open
> shared object file: No such file or directory)
> cabal: Error: some packages failed to install:
> vector-0.10.9.1 failed during the building phase. The exception was:
> ExitFailure 1
>
> Cheers,
>
> Vivian
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140409/5d43ce03/attachment.html>


More information about the Glasgow-haskell-users mailing list