Skip to content

Instantly share code, notes, and snippets.

@jchia
Last active August 9, 2016 00:25
Show Gist options
  • Save jchia/09e631bdd44351f7772f3892f4a9f651 to your computer and use it in GitHub Desktop.
Save jchia/09e631bdd44351f7772f3892f4a9f651 to your computer and use it in GitHub Desktop.
call-haskell-from-anything gets build error
name: ca
version: 0.1.0.0
synopsis: Initial project template from stack
description: Please see README.md
license: BSD3
license-file: LICENSE
author: Josh Chia
maintainer: [email protected]
copyright: Copyright (c) 2016 Joshua Chia
category: Development
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
executable ca-exe
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, ca
, call-haskell-from-anything
default-language: Haskell2010
test-suite ca-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, ca
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
# This file was automatically generated by 'stack init'
resolver: nightly-2016-08-06
packages:
- '.'
- location:
git: https://github.com/jchia/msgpack-haskell.git
commit: 64485b70daade805148bd7c096a5dc13a0bc5627
subdirs:
- msgpack
extra-deps:
- call-haskell-from-anything-1.0.1.0
flags: {}
extra-package-dbs: []
@jchia
Copy link
Author

jchia commented Aug 9, 2016

Process exited with code: ExitFailure 1                                                                                                                                                                                                                   
Logs have been written to: /home/jchia/hs/ca/.stack-work/logs/call-haskell-from-anything-1.0.1.0.log                                                                                                                                                      

[1 of 1] Compiling Main             ( /tmp/stack4230/call-haskell-from-anything-1.0.1.0/Setup.hs, /tmp/stack4230/call-haskell-from-anything-1.0.1.0/.stack-work/dist/x86_64-linux/Cabal-1.24.0.0/setup/Main.o )                                           
Linking /tmp/stack4230/call-haskell-from-anything-1.0.1.0/.stack-work/dist/x86_64-linux/Cabal-1.24.0.0/setup/setup ...                                                                                                                                    
Configuring call-haskell-from-anything-1.0.1.0...                                                                                                                                                                                                         
Determining GHC version: 8.0.1                                                                                                                                                                                                                            
setup: Missing dependency on a foreign library:                                                                                                                                                                                                           
* Missing C library: HSrts-ghc8.0.1                                                                                                                                                                                                                       
This problem can usually be solved by installing the system package that                                                                                                                                                                                  
provides this library (you may need the "-dev" version). If the library is                                                                                                                                                                                
already installed but in a non-standard location then you can use the flags                                                                                                                                                                               
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment