From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Issues with Haskell's ghc Date: Sun, 04 Aug 2019 14:35:14 +0200 Message-ID: <87v9vdyupp.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44339) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huFjO-0005ha-9e for help-guix@gnu.org; Sun, 04 Aug 2019 08:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huFjN-0002ta-Cg for help-guix@gnu.org; Sun, 04 Aug 2019 08:35:22 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huFjN-0002ps-42 for help-guix@gnu.org; Sun, 04 Aug 2019 08:35:21 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Prateem Mandal Cc: help-guix@gnu.org Prateem Mandal writes: >> I've run aground with Haskell's ghc (interpreter works fine) - running >> ghc on a basic hello world program fails. I identified couple issues: >> >> - Include directory for linux headers wasn't passed to gcc >> (`C_INCLUDE_PATH=3D/gnu/... ghc` fixed it) >> - Lib C's crti.o and crt1.o where not found during linking >> (fixed with `LIBRARY_PATH=3D/gnu/... ghc`) >> - libgmp and libffi aren't passed to linker's -rpath >> >> If anybody uses Haskell here, i'd appreciate any insights on what might >> be the root cause here. > > I am facing the same issue. I could resolve the second issue including > glibc in the ad-hoc list while creating the environment (and I never > hit the first issue). However I am now stuck with the third issue. In > the original thread there was no resolution to this issue. Any idea > how this can be fixed? Installing the =E2=80=9Cgcc-toolchain=E2=80=9D package should be sufficient= . Have you tried that? --=20 Ricardo