lambdacube3d / lambdacube-ir

LambdaCube 3D intermediate representation of 3D graphics pipelines. See:
https://lambdacube3d.wordpress.com/2013/10/12/introducing-the-lambdacube-intermediate-representation/
8 stars 3 forks source link

Installing ddl with cabal fails #2

Open andorp opened 8 years ago

andorp commented 8 years ago

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.