Good day all, I installed OpenBSD 5.5 in order to learn haskell. There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
The integer-gmp problems is that you don't have all the bits of the gmp library installed. This happens when the package system doesn't correctly pick them up, or when I install HP from outside the package system. The usual fix (on Linux, anyway) is to install the appropriate dev package to go with gmp. If OpenBSD hasn't yet succumbed to the idiocy of dev packages, it's possible the gmp library itself is missing. I suspect similar issues with hs-vector: there's some dependency missing in the package system description. On Tue, May 20, 2014 at 2:40 PM, Michael S <msherman77@yahoo.com> wrote:
Good day all,
I installed OpenBSD 5.5 in order to learn haskell. There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp'
Has anyone experienced the same issue? Is this happening on OpenBSD 5.4?
Is this OpenBSD specific?
Thanks in advance.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks! I will try installing the lib. Michael On Tuesday, May 20, 2014 4:27:11 PM, Mike Meyer <mwm@mired.org> wrote: The integer-gmp problems is that you don't have all the bits of the gmp library installed. This happens when the package system doesn't correctly pick them up, or when I install HP from outside the package system. The usual fix (on Linux, anyway) is to install the appropriate dev package to go with gmp. If OpenBSD hasn't yet succumbed to the idiocy of dev packages, it's possible the gmp library itself is missing. I suspect similar issues with hs-vector: there's some dependency missing in the package system description. On Tue, May 20, 2014 at 2:40 PM, Michael S <msherman77@yahoo.com> wrote:
Good day all, I installed OpenBSD 5.5 in order to learn haskell.
There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Unfortunately installing the lib did not fix the issue: pkg_info | grep gmp gmp-5.0.2p2 library for arbitrary precision arithmetic ghci GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... ghc: /usr/local/lib/ghc/integer-gmp-0.5.0.0/HSinteger-gmp-0.5.0.0.o: unhandled ELF relocation(Rel) type 10 One way to rectify the issue is apparently to installed OpenBSD for x64, which I will do if I don't find fix soon. On Tuesday, May 20, 2014 4:27:11 PM, Mike Meyer <mwm@mired.org> wrote: The integer-gmp problems is that you don't have all the bits of the gmp library installed. This happens when the package system doesn't correctly pick them up, or when I install HP from outside the package system. The usual fix (on Linux, anyway) is to install the appropriate dev package to go with gmp. If OpenBSD hasn't yet succumbed to the idiocy of dev packages, it's possible the gmp library itself is missing. I suspect similar issues with hs-vector: there's some dependency missing in the package system description. On Tue, May 20, 2014 at 2:40 PM, Michael S <msherman77@yahoo.com> wrote:
Good day all, I installed OpenBSD 5.5 in order to learn haskell.
There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
On May 20, 2014 12:40, Michael S wrote:
Good day all, I installed OpenBSD 5.5 in order to learn haskell. There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
Known problem with ghci on OpenBSD 5.5 i386. If you can, try amd64. You should be fine there. If you can't, 5.4 i386 was ok, iirc.
That was what I did. ghci works on the amd64 port. Thanks! Tha On Friday, May 23, 2014 1:32:02 PM, Dawe <dawedawe@gmx.de> wrote: On May 20, 2014 12:40, Michael S wrote:
Good day all, I installed OpenBSD 5.5 in order to learn haskell. There are a few glitches however. I installed the haskell-platform meta-package and the issues I noticed are: - hs-vector wouldn't install - ghci wouldn't start, the message: unable to load package `integer-gmp' Has anyone experienced the same issue? Is this happening on OpenBSD 5.4? Is this OpenBSD specific? Thanks in advance.
Known problem with ghci on OpenBSD 5.5 i386. If you can, try amd64. You should be fine there. If you can't, 5.4 i386 was ok, iirc.
participants (3)
-
Dawe -
Michael S -
Mike Meyer