Path to ghc etc

Help
2014-07-21
2014-07-21
  • Graham Berks

    Graham Berks - 2014-07-21

    This is on a mac, do you need to set the system wide path to point to GHC as well as setting the eclipse to GHC?

    Thanks

     
  • Graham Berks

    Graham Berks - 2014-07-21

    Yeah i guess you do, that is now working.

    When I create a new project I get no run configs and get the output below,

    is cabal the issue ?

    ~/D/B/S/h/validation git:master ❯❯❯ cabal --version ✱ ◼
    cabal-install version 1.20.0.2
    using version 1.20.0.1 of the Cabal library

    and

    ~/D/B/S/h/validation ❯❯❯ ghc-pkg list | grep Cabal
    Cabal-1.18.1.3

    I'm not getting the usual mismatch error.

    Thanks


    /Applications/ghc-7.8.3.app/Contents/bin/cabal sandbox init
    Writing a default package environment file to
    /Users/graham/Development/BitBucket/Sandbox/haskell/validation/cabal.sandbox.config
    Creating a new sandbox at
    /Users/graham/Development/BitBucket/Sandbox/haskell/validation/.cabal-sandbox
    /Applications/ghc-7.8.3.app/Contents/bin/cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
    Resolving dependencies...
    All the requested packages are already installed:
    Use --reinstall if you want to reinstall anyway.
    /Users/graham/bin/buildwrapper synchronize --force=false --tempfolder=.dist-buildwrapper --cabalpath=/Applications/ghc-7.8.3.app/Contents/bin/cabal --cabalfile=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/validation.cabal --cabalflags= --logcabal=true
    configuring because setup_config not present
    /Applications/ghc-7.8.3.app/Contents/bin/cabal configure '--verbose=1' --enable-tests --enable-benchmarks '--builddir=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/.dist-buildwrapper/dist'

    buildwrapper: Left over temporary directory not removed: /var/folders/jt/4dd4k7_x5dn084q11936v3vh0000gn/T/dynamic-cabal.15
    : cannot satisfy -package Cabal-1.20.0.1
    (use -v for more information)
    /Applications/ghc-7.8.3.app/Contents/bin/cabal sandbox init
    Writing a default package environment file to
    /Users/graham/Development/BitBucket/Sandbox/haskell/validation/cabal.sandbox.config
    Using an existing sandbox located at
    /Users/graham/Development/BitBucket/Sandbox/haskell/validation/.cabal-sandbox
    /Applications/ghc-7.8.3.app/Contents/bin/cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
    Resolving dependencies...
    All the requested packages are already installed:
    Use --reinstall if you want to reinstall anyway.
    /Users/graham/bin/buildwrapper build --output=true --cabaltarget=Source --tempfolder=.dist-buildwrapper --cabalpath=/Applications/ghc-7.8.3.app/Contents/bin/cabal --cabalfile=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/validation.cabal --cabalflags= --logcabal=true
    configuring because setup_config not present
    /Applications/ghc-7.8.3.app/Contents/bin/cabal configure '--verbose=1' --enable-tests --enable-benchmarks '--builddir=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/.dist-buildwrapper/dist'

    buildwrapper: Left over temporary directory not removed: /var/folders/jt/4dd4k7_x5dn084q11936v3vh0000gn/T/dynamic-cabal.16
    : cannot satisfy -package Cabal-1.20.0.1
    (use -v for more information)
    /Users/graham/bin/buildwrapper components --tempfolder=.dist-buildwrapper --cabalpath=/Applications/ghc-7.8.3.app/Contents/bin/cabal --cabalfile=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/validation.cabal --cabalflags= --logcabal=true
    configuring because setup_config not present
    /Applications/ghc-7.8.3.app/Contents/bin/cabal configure '--verbose=1' --enable-tests --enable-benchmarks '--builddir=/Users/graham/Development/BitBucket/Sandbox/haskell/validation/.dist-buildwrapper/dist'

    buildwrapper: Left over temporary directory not removed: /var/folders/jt/4dd4k7_x5dn084q11936v3vh0000gn/T/dynamic-cabal.17
    : cannot satisfy -package Cabal-1.20.0.1
    (use -v for more information)

     
  • Graham Berks

    Graham Berks - 2014-07-21

    Should add that i built build wrapper from source with the -dynamic flag on.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks