kosmikus / lhs2tex

Preprocessor for typesetting Haskell sources with LaTeX
Other
99 stars 28 forks source link

lhs2tex fails to cabal-install in windows cmd #11

Closed haas closed 11 months ago

haas commented 12 years ago

Thanks for developing this great tool! I tried to cabal install lhs2tex from the windows 7 cmd and I ran into the following error:

Linking dist\build\lhs2TeX\lhs2TeX.exe ... Installing executable(s) in C:\Users\haas0118\AppData\Roaming\cabal\bin initexmf: This utility does not accept non-option arguments. cabal: Error: some packages failed to install: lhs2tex-1.17 failed during the final install step. The exception was: ExitFailure 1

I used ghc 7.2, cabal 0.10.2, and miktex 2.9 on windows 7 x64.

A solution to the problem is installing lhs2tex from a msys (mingw) console.

Kind regards, Bas de Haas

kosmikus commented 12 years ago

I can't easily test on Windows. I'll accept patches, though.

dreixel commented 12 years ago

On Windows 7 x64, MiKTeX 2.9, GHC 7.2.1, I had no problems installing lhs2TeX without cygwin or msys.

bezirg commented 11 years ago

I stumbled on the exact same problem when cabal install lhs2tex-1.18.1. Using Windows 8, GHC 7.6.1 32bit, MikTeX 2.9.

The solution for me was not to use cabal install, but fetch the sources of lhs2TeX-1.18.1 and then run ./configure; make bin; make install