Ticket #143 (closed defect: wontfix)
Cannot execute ar.exe on Vista
Description
Cabal cannot execute ar.exe on Windows Vista. Shouldn't check exec bit, just exec, as Vista doesn't have this bit set.
Seems related to problems of GHC when executing as.exe
Following example with HList, happens exactly in the same way on any library cabal project.
C:\Sources>darcs get --partial http://darcs.haskell.org/HList Copying patch 13 of 13... done. Applying patch 12 of 12... done. Finished getting. C:\Sources>cd HList C:\Sources\HList>runhaskell Setup.hs configure Setup.hs: Warning: The field "hs-source-dir" is deprecated, please use hs-sourc -dirs. Setup.hs: Warning: No license-file field. Configuring HList-0.1... configure: Dependency base-any: using base-2.1.1 configure: Using install prefix: C:\Program Files configure: Binaries installed in: C:\Program Files\Haskell\bin configure: Libraries installed in: C:\Program Files\Haskell\HList-0.1\ghc-6.6.1 configure: Private binaries installed in: C:\Program Files\HList-0.1 configure: Data files installed in: C:\Program Files\Common Files\HList-0.1 configure: Using compiler: C:\ghc\ghc-6.6.1\bin\ghc.exe configure: Compiler flavor: GHC configure: Compiler version: 6.6.1 configure: Using package tool: C:\ghc\ghc-6.6.1\bin\ghc-pkg.exe configure: Using ar found on system at: C:\ghc\ghc-6.6.1\bin\ar.exe configure: Using haddock found on system at: C:\ghc\ghc-6.6.1\bin\haddock.exe configure: No pfesetup found configure: No ranlib found configure: Using runghc found on system at: C:\ghc\ghc-6.6.1\bin\runghc.exe configure: No runhugs found configure: No happy found configure: No alex found configure: Using hsc2hs: C:\ghc\ghc-6.6.1\bin\hsc2hs.exe configure: No c2hs found configure: No cpphs found configure: No greencard found C:\Sources\HList>runhaskell Setup.hs build Preprocessing library HList-0.1... Building HList-0.1... [ 1 of 19] Compiling FakePrelude ( src/FakePrelude.hs, dist\build/FakePrelde.o ) ... [19 of 19] Compiling HList ( src/HList.hs, dist\build/HList.o ) Setup.hs: Error: file is not executable: "C:\\ghc\\ghc-6.6.1\\bin\\ar.exe" C:\Sources\HList>
Change History
Note: See
TracTickets for help on using
tickets.
