Hi Eric, On Fri, 15 Feb 2008 18:25:23 +0900, Eric Y. Kow <[EMAIL PROTECTED]> wrote: >> $ runhaskell Setup.lhs configure --with-msc >> -=-= Cabal executing: ./configure --with-hc=ghc --with-msc=-=- >> operable program or batch file. >> Configure failed.
I'm sorry about this error message is incorrect. I missed copy and pasted error message. Because my environment notice Japanese error message, so I had to convert error message in English. Below error message is correct one. $ runhaskell Setup.lhs configure --with-msc -=-= Cabal executing: ./configure --with-hc=ghc --with-msc=-=- '.' is not recognized as an internal or external command, operable program or batch file. Configure failed. > Hmm, I didn't realise you could pass in command line arguments like > that. (I thought you had to go through --configure-opt) You're right. But --with-msc, --with-opengl and --with-stc also work with Distribution.Make by unknown reason. >> Distribution.Simple's defaultMainWithHooks defaultUserHooks can run >> "./configure" >> command on Windows environment. But It seems that Distribution.Make's >> defaultMain >> can't run "./configure" commnad on Windows. > > Maybe we could make our own custom Setup.lhs, or check with the cabal > people on #haskell I checked Cabal source code. I found that Distribution.Simple's defaultUserHooks calls "sh configure", but Distribution.Make calls "./configure" directory. http://darcs.haskell.org/ghc-6.8/libraries/Cabal/Distribution/Simple.hs http://darcs.haskell.org/ghc-6.8/libraries/Cabal/Distribution/Make.hs http://darcs.haskell.org/cabal/Distribution/Simple.hs http://darcs.haskell.org/cabal/Distribution/Make.hs Windows doesn't have Unix shell in default, so "./configure" command causes above error. I made patch for this problem and sent to cabal-devel list. I hope cabal people will apply this patch and release new version soonly. http://www.haskell.org/pipermail/cabal-devel/2008-February/thread.html#2112 > [BTW: do you know any way to help out Gwern and the other people with > build trouble?] I don't know about wxGTK issues. I usually use Windows, and I don't have Linux environment. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users