Installing ghc-7.10.2 linux binary distro on SuSE

Kosyrev Serge _deepfire at feelingofgreen.ru
Sat Aug 29 22:23:51 UTC 2015


Levent Erkok <erkokl at gmail.com> writes:
> Hello all,
>
> I've been having a lot of trouble installing the binary-distro's on a
> SuSE machine. Unfortunately, I don't have root privileges and thus my
> options are rather limited.
>
> The problem seem to boil down to the use of the function
> pthread_setname_np. It appears the problem was noted before, and Simon
> Marlow added a corresponding configure check for platforms that do not
> have this function. See here:
> https://mail.haskell.org/pipermail/ghc-devs/2014-October/006707.html
>
> Alas, none of the binary distributions listed on
> https://www.haskell.org/ghc/download_ghc_7_10_2#binaries seem to be
> built against a system that does not have this function. So, I was
> unable to install 7.10.2 successfully. 
>
> Essentially, I'm looking for a binary distro on SuSE, or with a libc
> that doesn't have the GNU extensions such as pthread_setname_np; if
> anyone would be kind enough to put out such a binary distro, that'd
> really be appreciated.
>
> (Yes, I tried building from the source; but in the corporate
> environment with so many things controlled, that did not go very far.)

You could try the Nix route, which, conceptually, would boil down to:

1. Installing the Nix package manager into your $HOME on the SuSE system
2. Use Nix to install GHC

Which expands to:

1. Following the instructions at:

  https://nixos.org/wiki/How_to_install_nix_in_home_%28on_another_distribution%29#PRoot_Installation

2. Invoking:

  nix-env -iA haskellPackages.ghc

This would require only HTTP access, which, I presume, should be
available within the corporate environment.

All the packages from Hackage can be had precompiled from Nixpkgs,
but that's slightly more involved and requires some reading:

  http://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure

Should you meet trouble, you can always seek help either at
nix-dev at lists.science.uu.nl, or on the #nixos/irc.freenode.net IRC
channel -- both have a vibrant nightlife^W Haskell community.

-- 
с уважениeм / respectfully,
Косырев Серёга
--
“And those who were seen dancing were thought to be insane
 by those who could not hear the music.”
 – Friedrich Wilhelm Nietzsche


More information about the ghc-devs mailing list