Well if GHC is on the path in the shell, and EclipseFP doesn't autodetect, that seems to mean GHC is not on the path that EclipseFP sees. So when EclipseFP launches buildwrapper and cabal using the same environment, they can't find GHC either, which is consistent with the error you're getting. So I would doublecheck that the path set for the GUI is correct and taken into account.


On Wed, Jun 25, 2014 at 6:07 AM, Randall Britten <r.britten@auckland.ac.nz> wrote:

I just upgraded everything, but can’t get eclipsefp working again (was fine with older versions eclipse, Mac OS X and ghc 7.6.3).

I create a new Haskell project (executable), but straight away, the following message is displayed in the console:
"The program 'ghc' version >=6.4 is required but it could not be found.”

From the shell, ghc is in the path, and everything seems fine.

I’ve tried both ways of setting Mac OS X GUI paths (/etc/launchd.conf and “.MacOSX/environment.plist”) as described here http://serverfault.com/questions/16355/how-to-set-global-path-on-os-x (linked to from the EclipseFP FAQ for this type of problem).

When I try from the Menu: “Eclipse/Preferences/Haskell Implementations” then “Autodetect”, the list is blank. I have manually added an entry for ghc, and it displays “7.8.2” for the Version field.

Any help would be really appreciated, I’ve really found EclipseFP helpful in the past.


Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
eclipsefp-develop mailing list

JP Moresmau