Re: Cabal constraint solver

2010-10-02 Thread Daniel Fischer
On Sunday 03 October 2010 02:10:11, Felipe Lessa wrote: > On Sat, Oct 2, 2010 at 8:29 PM, Daniel Fischer wrote: > > Yes, cabal looks at the package-index to find out the required > > dependencies, it doesn't know where you have local source files. > > Actually, this is cabal-install. If you 'cab

Re: Cabal constraint solver

2010-10-02 Thread Christian Höner zu Siederdissen
Hi, thanks to you all for the answers. I will then go with increasing the version number for testing, this seems to be the easiest way to go. And indeed, 'cabal unpack' fetches ( ;-) ) the package without checking that constraints are met. Gruss, Christian * Christian Höner zu Siederdissen [03

Re: Cabal constraint solver

2010-10-02 Thread Felipe Lessa
On Sat, Oct 2, 2010 at 8:29 PM, Daniel Fischer wrote: > Yes, cabal looks at the package-index to find out the required > dependencies, it doesn't know where you have local source files. Actually, this is cabal-install. If you 'cabal unpack' then 'runhaskell Setup.hs configure' and 'runhaskell Se

Re: Cabal constraint solver

2010-10-02 Thread Daniel Fischer
On Sunday 03 October 2010 00:07:24, Christian Höner zu Siederdissen wrote: > Hi, > > does the Cabal constraint solver always try to solve the complete graph? > > example: (ghc-7.0.0-rc1) > > $ cabal install parsec-3.1.0 > cabal: cannot configure syb-0.2.1. It requires base >=4.0 && <4.3 > > cd syb-

Re: Cabal constraint solver

2010-10-02 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/2/10 18:07 , Christian Höner zu Siederdissen wrote: > cd syb-0.2.1 > * remove base<4.3 constraint from syb.cabal > cabal install > * syb-0.2.1 is now installed and works! > > $ cabal install parsec-3.1.0 > cabal: cannot configure syb-0.2.1. It r

Cabal constraint solver

2010-10-02 Thread Christian Höner zu Siederdissen
Hi, does the Cabal constraint solver always try to solve the complete graph? example: (ghc-7.0.0-rc1) $ cabal install parsec-3.1.0 cabal: cannot configure syb-0.2.1. It requires base >=4.0 && <4.3 cd syb-0.2.1 * remove base<4.3 constraint from syb.cabal cabal install * syb-0.2.1 is now installe

Re: porting using unregisterised build: x86->amd64 solaris

2010-10-02 Thread Karel Gardas
Hello, this email below is originally from September 22 so are also the source code which I comment in it. Originally this email was rejected being sent from unsubscribed email address and I noted this just today so I resent it again especially when seeing the email `Attempt at building on OpenBS

porting using unregisterised build: x86->amd64 solaris

2010-10-02 Thread Karel Gardas
Hello, I'm attempting to make unregisterised build of recent GHC head on Solaris/x86 for Solaris/amd64 platform. I'm closely following: http://hackage.haskell.org/trac/ghc/wiki/Building/Porting#Cross-compilingtoproduceanunregisterisedGHC with the only one issue: mentioned: echo compiler/main/Co