Re: [Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2010-01-07 Thread Joachim Breitner
Hi, Am Sonntag, den 27.12.2009, 09:50 + schrieb Stephen Tetley: > > I'll try next with MinGW to see if that works... > > Aye, it builds fine under MinGW. > > I built and installed PCRE (c & c++ library) from the source > (./configure, make, make install), though I think there is a package >

Re: [Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2009-12-29 Thread Stephen Tetley
For the record... The regex-posix package also failed to build for me with GHC 6.12.1 on Windows with Cygwin due to >> undefined reference to `_impure_ptr' << errors. Again this builds fine with MinGW once you have the GNU regex library installed (its not installed as a default MSys package). Wit

Re: [Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2009-12-27 Thread Patrick Caldon
Stephen Tetley wrote: 2009/12/27 Stephen Tetley : I'll try next with MinGW to see if that works... Aye, it builds fine under MinGW. Thanks for your help, I'll get a MinGW setup together. Cheers, Patrick. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2009-12-27 Thread Stephen Tetley
2009/12/27 Stephen Tetley : > I'll try next with MinGW to see if that works... Aye, it builds fine under MinGW. I built and installed PCRE (c & c++ library) from the source (./configure, make, make install), though I think there is a package available on the msys / MinGW repository. Then I inst

Re: [Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2009-12-27 Thread Stephen Tetley
Hi Patrick I think the problem is because PCRE uses c++, and doing a quick web search shows that _impure_ptr link errors are a recurrent problem for the PCRE binding with GHC. Funnily enough 6.10.3 worked fine - I posted to the list a month or two ago with instructions how to do it, but 6.12.1 fai

[Haskell-cafe] pcre-light install fails with undefined reference to _impure_ptr

2009-12-26 Thread Patrick Caldon
Not seen this one before. I'm trying to install pcre-light with WinXP 64, Cygwin 1.7.1, Cabal 0.8.0, and ghc 6.12.1. Trying to reinstall "base" with cabal fails as well with an internal error (see below), but I'm assuming that's quasi-intentional/unsupported feature or something. Any ideas?