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

Failed to load interface for ‘Idris.Options’ #4

Open
flip111 opened this issue Nov 11, 2017 · 0 comments
Open

Failed to load interface for ‘Idris.Options’ #4

flip111 opened this issue Nov 11, 2017 · 0 comments

Comments

@flip111
Copy link

flip111 commented Nov 11, 2017

I run stack init first which reads the cabal file and generates a stack.yaml file

$ stack build
  WARNING: filepath wildcard 'phprts/*.php' does not match any files.
  idris-php-0.0.0.1: configure (exe)
  Configuring idris-php-0.0.0.1...
  idris-php-0.0.0.1: build (exe)
  Preprocessing executable 'idris-codegen-php' for idris-php-0.0.0.1...
  [1 of 3] Compiling Paths_idris_php  ( .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/autogen/Paths_idris_php.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/idris-codegen-php/idris-codegen-php-tmp/Paths_idris_php.o )
  [2 of 3] Compiling IRTS.CodegenPHP  ( src/IRTS/CodegenPHP.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/idris-codegen-php/idris-codegen-php-tmp/IRTS/CodegenPHP.o )
  [3 of 3] Compiling Main             ( src/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/idris-codegen-php/idris-codegen-php-tmp/Main.o )
  
  /home/flip111/idris/idris-php/src/Main.hs:5:1: error:
      Failed to load interface for ‘Idris.Options’
      Perhaps you meant Idris.CmdOptions (from idris-1.0)
      Use -v to see a list of the files searched for.
  WARNING: filepath wildcard 'phprts/*.php' does not match any files.
  
  --  While building package idris-php-0.0.0.1 using:
        /home/flip111/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0 build exe:idris-codegen-php --ghc-options " -ddump-hi -ddump-to-file"
      Process exited with code: ExitFailure 1
stack build took 3966ms

idris version 1.0

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