[Haskell-cafe] building "encoding" on Windows?

wagnerdm at seas.upenn.edu wagnerdm at seas.upenn.edu
Mon Mar 29 13:47:41 EDT 2010


I'm trying to help a non-Haskell person build wyvern (shameless plug  
in case you like go: http://dmwit.com/wyvern), but (s)he's having  
trouble building the "encoding" library. Has any Windows person done  
it successfully or is willing to try it?

I tried contacting the "encoding" maintainer a few days ago, but  
haven't heard back.

Thanks!
~d

P.S. I thought it might just be a missing library, but the encoding  
library itself comes with "system_encoding.h".

----- Forwarded message from wilemien at googlemail.com -----
     Date: Thu, 25 Mar 2010 09:36:43 +0000
     From: Willemien <wilemien at googlemail.com>
  Subject: Re: hi from willemien
       To: wagnerdm at seas.upenn.edu

On Thu, Mar 25, 2010 at 2:52 AM,  <wagnerdm at seas.upenn.edu> wrote:
> Quoting Willemien <wilemien at googlemail.com>:
>
>> Tried
>> cabal install sgf
>> error  some packages failed to install
>> encoding-0.6.3 failed during the configure step
>
> Ah, yes! I knew about this problem, and totally forgot. The "encoding"
> package uses some tools, but can't depend on them properly (bad!). Try
> this (capitalization matters):
>
> cabal install HaXml
> cabal install sgf
>
> Does that work? I'll update the website shortly.
> ~d
>
Sorry no
cabal install HaXml

goes well (but takes  longer than 2 minutes)
Cabal install sgf not

more specific:
last lines are
Configuring encoding-0.6.3...
Setup.exe Missing dependency on foreign library:
* Missing Header file: System_encoding.h
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
Allready installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
CABAL: Error: some packages failed to install:
encoding-0.6.3 failed during the configure step. The exception was:
exit: ExitFailure 1
sgf-0.1.1 depends on encoding 0.6.3 which faild to install.

Hope you can solve it

Willemien



----- End forwarded message -----


More information about the Haskell-Cafe mailing list