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

Installing ddl with cabal fails #2

Open
andorp opened this issue Jun 12, 2016 · 0 comments
Open

Installing ddl with cabal fails #2

andorp opened this issue Jun 12, 2016 · 0 comments

Comments

@andorp
Copy link
Contributor

andorp commented Jun 12, 2016

First sympthom:

Preprocessing executable 'ddl-generate' for ddl-0.1.0.0...

Generate.hs:13:8:
    Could not find module ‘System.FilePath’
    It is a member of the hidden package ‘filepath-1.4.0.0@filep_KsGE6pHE5eZHSN90ZVax6A’.
    Perhaps you need to add ‘filepath’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:

After adding filepath to ddl.cabal:

Linking dist/build/ddl-generate/ddl-generate ...
setup-Simple-Cabal-1.22.4.0-x86_64-linux-ghc-7.10.2: LICENSE: does not exist
cabal: Error: some packages failed to install:
ddl-0.1.0.0 failed during the final install step. The exception was:
ExitFailure 1

After adding LICENSE file it compiles and installs.

@andorp andorp changed the title Installing with cabal fails Installing ddl with cabal fails Jun 12, 2016
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