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

Vivian McPhail haskell.vivian.mcphail at gmail.com
Thu Apr 10 04:00:43 UTC 2014


Indeed.

It was using the wrong cabal-install version.  Even though I had installed
the newest cabal-install I needed to restart the xterm I was working in.

Thanks,

Vivian


On 10 April 2014 15:42, Carter Schonwald <carter.schonwald at gmail.com> wrote:

> 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/20140410/55789dd5/attachment.html>


More information about the Glasgow-haskell-users mailing list