[Haskell-cafe] Trouble w/ ExitFailure 139 (Segmentation Fault), during Cabal installs.
David Banas
capn.freako at gmail.com
Fri Oct 25 13:53:09 UTC 2013
Hi all,
Prolog: I have installed GHC v7.6.3, from source, on Ubuntu 13.0.4.
I think I've made my GHC v7.6.3 installation unstable, because I'm having
lots of trouble with "ExitFailure 139"s when cabal installing. And I'm
wondering if this is a pertinent clue:
dbanas at dbanas-lap:~/prj/plush$ cabal unpack lifted-base
Unpacking to lifted-base-0.2.1.0/
dbanas at dbanas-lap:~/prj/plush$ pushd lifted-base-0.2.1.0/
~/prj/plush/lifted-base-0.2.1.0 ~/prj/plush ~
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc --make Setup.hs
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure
Segmentation fault (core dumped)
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ head Setup.hs
#! /usr/bin/env runhaskell
{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax #-}
module Main (main) where
-------------------------------------------------------------------------------
-- Imports
-------------------------------------------------------------------------------
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ chmod 755 Setup.hs
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup.hs configure
Configuring lifted-base-0.2.1.0...
Setup.hs: At least the following dependencies are missing:
base-unicode-symbols >=0.1.1 && <0.3,
monad-control ==0.3.*,
transformers-base ==0.4.*
dbanas at dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$
What I'm attempting to call attention too, with the above excerpt, is this:
*If I compile and run "Setup configure" I get a core dump, but if I just
run "Setup.hs configure" (taking advantage of the fact that Setup.hs begins
with a shebang line) it works fine.*
Is this a clue as to how I've horked up my ghc installation?
Thanks!
-db
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131025/e0211c19/attachment.html>
More information about the Haskell-Cafe
mailing list