corrode icon indicating copy to clipboard operation
corrode copied to clipboard

Install fails on Windows 10

Open Dragonrun1 opened this issue 7 years ago • 2 comments

happy and alex worked fine but the corrode install fails.

The Glorious Glasgow Haskell Compilation System, version 8.0.2

>cabal install
Resolving dependencies...
Configuring corrode-0.1.0.0...
Building corrode-0.1.0.0...
Failed to install corrode-0.1.0.0
Build log ( C:\Users\Dragonaire\AppData\Roaming\cabal\logs\corrode-0.1.0.0.log ):
Building corrode-0.1.0.0...
Preprocessing library corrode-0.1.0.0...

src\Language\Rust\Corrode\C.lhs:1:1: error:
    File name does not match module name:
    Saw: `Main'
    Expected: `Language.Rust.Corrode.C'
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
corrode-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Log file: Building corrode-0.1.0.0... Preprocessing library corrode-0.1.0.0...

src\Language\Rust\Corrode\C.lhs:1:1: error: File name does not match module name: Saw: Main' Expected: Language.Rust.Corrode.C' cabal: Leaving directory '.'

Dragonrun1 avatar May 15 '17 18:05 Dragonrun1

Did you run the fixGitSymlinksForWindows.bat script? I got the same error and came here, totally forgetting that this is described just 2 lines up in the readme.

cpb8010 avatar Jul 18 '17 03:07 cpb8010

I did still had same problem

Dragonrun1 avatar Jul 19 '17 16:07 Dragonrun1