On Fri, 2009-01-16 at 21:17 +, Chris Kuklewicz wrote:
And regex-posix has a very old school Setup.hs file with a small addition:
#!/usr/bin/env runhaskell
-- I usually compile this with ghc --make -o setup Setup.hs
import Distribution.Simple(defaultMainWithHooks,
I should note that you do not need to edit the .cabal file to do this.
As of Cabal-1.4 there are extra command line flags to configure (or
equivalently to cabal install)
--extra-include-dirs=dir --extra-lib-dirs=dir
Duncan
I have seen the new cabal arguments. All I was giving was debugging
Hi Chris et al:
On Fri, Oct 17, 2008 at 4:33 PM, Chris Kuklewicz
hask...@list.mightyreason.com wrote:
I am not sure what is going wrong. I have not been using Haskell on
windows. I am also copying this reply to haskell-cafe and libaries mailing
lists. Does anyone know?
I get passed that
Paulo: I suggest doing this more carefully.
Get the source from hackage.
Edit the regex-posix.cabal file to add the include and lib directories you need
on Cygwin.
cabal configure it.
cabal build it.
cabal install it.
Then in an unrelated directory try and run ghci -package regex-posix.
On Thu, 2009-01-15 at 22:00 +, ChrisK wrote:
Paulo: I suggest doing this more carefully.
Get the source from hackage.
Edit the regex-posix.cabal file to add the include and lib directories you
need
on Cygwin.
I should note that you do not need to edit the .cabal file to do this.
As
Hi Chris,
Good call, I'm following your advice. ghci fails to load with the
package that it seemed to compile just fine. Here are some details
(also see file attached).
Thank you!
Paulo
$ wget
http://hackage.haskell.org/packages/archive/regex-posix/0.93.2/regex-posix-0.93.2.tar.gz
$ vim
Duncan,
On Thu, Jan 15, 2009 at 4:35 PM, Duncan Coutts
duncan.cou...@worc.ox.ac.uk wrote:
I should note that you do not need to edit the .cabal file to do this.
As of Cabal-1.4 there are extra command line flags to configure (or
equivalently to cabal install)
--extra-include-dirs=dir
I am not sure what is going wrong. I have not been using Haskell on windows. I
am also copying this reply to haskell-cafe and libaries mailing lists. Does
anyone know?
Parnell Flynn wrote:
I am having a terrible time compiling the 0.93.2 version of the
regex-posix library on windows XP.