Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Duncan Coutts
On 11 November 2010 11:23, Nils Schweinsberg wrote: >Configuring pcre-light-0.4... >cabal: Missing dependency on a foreign library: >* Missing C library: pcre On 11 November 2010 12:41, Stephen Tetley wrote: > Do you have the headers installed as well as the dlls? With this error me

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Stephen Tetley
Have you tried with double backslash \\ and starting from the root? I think runhaskell under MinGW uses this form: > runhaskell Setup.hs configure > --extra-include-dirs=C:\\msys\\1.0\\local\\include > --extra-lib-dirs=C:\\msys\\1.0\\local\\lib I haven't built a binding for a while so I've forg

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Nils Schweinsberg
Am 11.11.2010 14:25, schrieb Stephen Tetley: I'm not sure about an environment variable. Adding the MinGW\ prefix looks wrong, you may have to experiment with paths and forward or back slash separators a bit. I can't remember which convention (Windows) cabal uses. I tried every possible combina

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Stephen Tetley
On 11 November 2010 13:21, Nils Schweinsberg wrote: > > Is there an environment variable for this? As I said, I tried using > --extra-include-dirs with MinGW\include. I'm not sure about an environment variable. Adding the MinGW\ prefix looks wrong, you may have to experiment with paths and forwa

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Nils Schweinsberg
Am 11.11.2010 13:41, schrieb Stephen Tetley: Do you have the headers installed as well as the dlls? For headers, MSys will have a search path of at least these two directories msys\1.0\local\include MinGW\include Is there an environment variable for this? As I said, I tried using --extra-inc

Re: [Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Stephen Tetley
Do you have the headers installed as well as the dlls? For headers, MSys will have a search path of at least these two directories msys\1.0\local\include MinGW\include ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

[Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Nils Schweinsberg
Hi, I'm having a few problems with cabals build-type "configure" on windows, especially with the packages "curl" and "pcre-light". Both fail either with: configure: error: curl libraries not found, so curl package cannot be built Configuring pcre-light-0.4... cabal: Missing depe

[Haskell-cafe] build-type: configure on windows

2010-11-11 Thread Nils Schweinsberg
Hi, I'm having a few problems with cabals build-type "configure" on windows, especially with the packages "curl" and "pcre-light". Both fail either with: * Missing C library: pcre ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.