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

cabal install --uhc always fails with "fileAccess: does not exist" #85

Open
skatayama opened this issue Aug 23, 2016 · 1 comment
Open

Comments

@skatayama
Copy link

I successfully built and installed v1.1.9.4 of UHC by the standard way:

$ ./configure
$ make
$ sudo make install

`uhc --version' returns

ehc-1.1.9.4, revision @952b02e907, timestamp 20160823 +0900 113928

When I try to install a package using cabal, it always fails, complaining
missing bc/plain. For example,

$ cabal install --uhc transformers
Resolving dependencies...
Configuring transformers-0.5.2.0...
Building transformers-0.5.2.0...
Preprocessing library transformers-0.5.2.0...
ehc: dist/build/transformers-0.5.2.0/uhc-1.1.9.4/bc/plain: fileAccess: does not exist (No such file or directory)
Failed to install transformers-0.5.2.0
cabal: Error: some packages failed to install:
transformers-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1

I also tried filepath-1.3.0.1 and show-0.6, and they failed with the same error.
I tried unpacking those packages and tried to build them there.
They failed with the same message, and those files (and even transformers-0.5.2.0/
under dist/build) did not exist.

@atzedijkstra
Copy link
Member

Building via cabal is not properly working for uhc, in particular for libraries. Executables may work, but in practice it turns out to be handiest to gather all files in a single directory and then build. Admittedly not the way it should, but further cabal integration is still something to be done.

regards,
Atze

On 23 Aug 2016, at 12:54, skatayama notifications@github.com wrote:

I successfully built and installed v1.1.9.4 of UHC by the standard way:

$ ./configure
$ make
$ sudo make install

`uhc --version' returns

ehc-1.1.9.4, revision @952b02e, timestamp 20160823 +0900 113928

When I try to install a package using cabal, it always fails, complaining
missing bc/plain. For example,

$ cabal install --uhc transformers
Resolving dependencies...
Configuring transformers-0.5.2.0...
Building transformers-0.5.2.0...
Preprocessing library transformers-0.5.2.0...
ehc: dist/build/transformers-0.5.2.0/uhc-1.1.9.4/bc/plain: fileAccess: does not exist (No such file or directory)
Failed to install transformers-0.5.2.0
cabal: Error: some packages failed to install:
transformers-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1

I also tried filepath-1.3.0.1 and show-0.6, and they failed with the same error.
I tried unpacking those packages and tried to build them there.
They failed with the same message, and those files (and even transformers-0.5.2.0/
under dist/build) did not exist.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

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

2 participants