[C2hs] [c2hs] #55: `strip: unable to rename 'c2hs.exe'; reason: File exists`

c2hs cvs-ghc at haskell.org
Wed Apr 10 20:21:45 CEST 2013


#55: `strip: unable to rename 'c2hs.exe'; reason: File exists`
--------------------+-------------------------------------------------------
 Reporter:  guest   |        Type:  defect                                         
   Status:  new     |    Priority:  normal                                         
Milestone:          |   Component:  general                                        
  Version:  0.16.2  |    Keywords:  strip rename file configure setup mingw windows
--------------------+-------------------------------------------------------
 I'm currently trying to build c2hs (v 0.16.4) from the cabal source
 package from HackageDB on a Win64 system.

 == TERMINAL LOG ==

 PS .> cabal install
 Resolving dependencies...
 Configuring c2hs-0.16.4...
 Preprocessing executables for c2hs-0.16.4...
 Building c2hs-0.16.4...
 Linking dist\build\c2hs\c2hs.exe ...
 Installing executable(s) in C:\Users\##\AppData\Roaming\cabal\bin
 C:\prog-x86\MinGW\bin\strip.exe: unable to rename
 'C:\Users\##\AppData\Roaming\cabal\bin\c2hs.exe'; r
 eason: File exists
 cabal.exe: Error: some packages failed to install:
 c2hs-0.16.4 failed during the final install step. The exception was:
 ExitFailure 1

 == SETUP CONFIG - CONCERNING STRIP ==
 ("strip", ConfiguredProgram {programId = "strip", programVersion =
 Nothing, programDefaultArgs = [], programOverrideArgs = [],
 programLocation = FoundOnSystem {locationPath =
 "C:\\prog-x86\\MinGW\\bin\\strip.exe"}})

 I hope I included enough information to make it possible to solve this
 bug. Comment if you need anything.

 Thanks.

-- 
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/55>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell



More information about the C2hs mailing list