Re: [Haskell-cafe] Installing ghc-mod on Windows

I think cabal reported errors regarding the header files where in fact the problem was that it could not find a c compiler. I tried to install QuickCheck and the primitives package required by QuickCheck failed to install with errors related to header files. After installing gcc, primitives and QuickCheck installed without errors. On Tuesday, May 26, 2015 at 11:18:30 AM UTC+1, Anakreontas wrote:
... continued from previous message .. even with command cabal install --extra-include-dirs=include cabal still reports an error. The header file is useful for older ghc versions that the one I have so removing the dependency on the header resolved the problem.
On Tue, May 26, 2015 at 11:16 AM, Anakreontas Mentis < anakreonmejdi@gmail.com> wrote:
I installed the MinGHC distribution but it did not solve the problem.
To install ghc-mod I had to: 1) cabal install ghc-mod to install what cabal can build without errors. 2) Modify the cabal file of ansiterminal according to Roman's advice. It installed successfully. 3) Modify the cabal file of lifted-base where I removed the Include-dirs and Includes directives and all references to inlinable.h from the source files. cabal reports that it can not find the header file or it is damaged. The file exists in the include directory but even with
On Fri, May 22, 2015 at 7:58 PM, Michal Antkiewicz < mantkiew@gsd.uwaterloo.ca> wrote:
There used to be a big warning "don't download just the ghc. Use the platform. " before.
Nowadays, it's best to get MinGHC from
https://www.haskell.org/downloads/windows
this distribution is best, it'll allow you build the network package and other things like the ansi-terminal, etc.
Get the 32bit installer.
Michał
On Fri, May 22, 2015 at 2:10 PM,
wrote: Hello. I don't know the MinGHC release. To install ghc I downloaded a windows install program from https://www.haskell.org/ghc/.
Michal Antkiewicz
writes: Hi,
are you using msys and MinGHC?
For now, I clone ghc-mod @ master and just cabal install it (with MinGHC 0.7.10 and cabal 1.22) within msys. It has not been released yet.
Michał
On Fri, May 22, 2015 at 12:09 PM, Roman Cheplyaka
wrote: On 22/05/15 18:06, Anakreontas wrote: > I tried to instal ghc-mod on Windows with cabal. Two dependencies fail > to compile because of missing native libraries. > ansi-terminal requires kernel32 and > lifted-base requires inlinable.h. > > Have you solved a similar problem? In Linux it would be easy to install > the native libraries but in Windows I do not know which programs I > should install and where to find them.
You should be able to install ansi-terminal by patching its cabal file, see https://github.com/feuerbach/ansi-terminal/issues/6
Once again, I'm asking Windows users and developers for their input on this issue.
Roman
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
--
participants (1)
-
Anakreontas