Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error : make uhc : build/101/ehclib/hsc2hs: line 39 #63

Open
JarnoLeConte opened this issue Nov 22, 2015 · 0 comments
Open

Build error : make uhc : build/101/ehclib/hsc2hs: line 39 #63

JarnoLeConte opened this issue Nov 22, 2015 · 0 comments

Comments

@JarnoLeConte
Copy link

I get the following error when performing make uhc:

build/101/ehclib/hsc2hs: line 39: /Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs: No such file or directory
build/101/ehclib/hsc2hs: line 39: exec: /Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs: cannot execute: No such file or directory
make[2]: *** [build/101/ehclib/base/System/CPUTime.hs] Error 126
make[1]: *** [install/101/lib/pkg/base-3.0.0.0/101/bc/plain/CompileAll] Error 2
make: *** [101/ehclibs] Error 2

The requested path seems incorrect:
/Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs

I fixed the problem by removing the prefix $(EHCLIB_BLD_VARIANT_ASPECTS_PREFIX) from uhc/EHC/ehclib/files2.mk (line 365). Now it uses my global hsc2hs binary.
Not a real solution of course, but it works for me.

I'm not sure about the intended behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant