-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
$ uname -a
Linux ip-172-31-9-24 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
After installing latest stack (from HEAD), I ran stack setup in a project configured to NOT use the system GHC:
$ stack setup
Downloaded lts-2.16 build plan.
Caching build plan
Downloading package index from http://our-private-hackage/00-index.tar.gz
Populated index cache.
Downloaded ghc-7.8.4.
Installed GHC.
The GHC located at /home/alfredo/.stack/programs/x86_64-linux/ghc-7.8.4/bin/ghc failed to compile a sanity check. Please see:
https://github.com/commercialhaskell/stack/wiki/Downloads
for more information. Exception was:
Running /home/alfredo/.stack/programs/x86_64-linux/ghc-7.8.4/bin/ghc /tmp/stack-sanity-check3899/Main.hs exited with ExitFailure 1
[1 of 1] Compiling Main ( /tmp/stack-sanity-check3899/Main.hs, /tmp/stack-sanity-check3899/Main.o )
Linking /tmp/stack-sanity-check3899/Main ...
/home/alfredo/.stack/programs/x86_64-linux/ghc-7.8.4/lib/ghc-7.8.4/integer-gmp-0.5.1.0/libHSinteger-gmp-0.5.1.0.a(gmp-wrappers.o): In function `cjw_info':
(.text+0x2e4b): undefined reference to `__gmpz_powm_sec'
collect2: ld returned 1 exit status
I also have all the required deps installed, according to yum:
$ sudo yum install perl make automake gcc gmp-devel
Loaded plugins: amazon-id, rhui-lb, security
Setting up Install Process
Package 4:perl-5.10.1-136.el6_6.1.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package gmp-devel-4.3.1-7.el6_2.2.x86_64 already installed and latest version
Nothing to do
What am I doing wrong?
Thanks!
Alfredo
Metadata
Metadata
Assignees
Labels
No labels