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@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@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users