On Fri, Oct 17, 2008 at 1:42 PM, Ben Franksen <[EMAIL PROTECTED]> wrote: > Another issue with franchise (as it stands) is this: I have a parsec-3 > installed but also a parsec-2. I want darcs to build using parsec-2, > ignoring parsec-3. How do I do this?
Right. Franchise is obviously not complete, nor is setup.hs. When packages change API, we need to check for the right API. This currently is done with checkForModuleExporting, and I've no idea what this will do when two packages export the module, but I do know that the configure test will fail if franchise doesn't find the right package. David > I tried to hide parsec-3: > > [EMAIL PROTECTED]: .../darcs.net/unstable > ghc-pkg list parsec > /usr/local/lib/ghc-6.8.3/package.conf: > parsec-2.1.0.1 > /home/ben/.ghc/i386-linux-6.8.3/package.conf: > parsec-3.0.0 > [EMAIL PROTECTED]: .../darcs.net/unstable > ghc-pkg hide parsec-3.0.0 --user > Saving old package config file... done. > Writing new package config file... done. > [EMAIL PROTECTED]: .../darcs.net/unstable > ghc-pkg list parsec > /usr/local/lib/ghc-6.8.3/package.conf: > parsec-2.1.0.1 > /home/ben/.ghc/i386-linux-6.8.3/package.conf: > (parsec-3.0.0) > > but it doesn't help: > > [EMAIL PROTECTED]: .../darcs.net/unstable > runghc setup.hs configure > Haskeline not found. > Configuring... > found module System.Posix.Signals in packages base unix-2.3.0.1 > found library z with -lz > found module Network.HTTP in package HTTP-3001.1.3 > Checking for libwww... found. > About to checkWindows... > Added packages mtl-1.1.0.2 regex-compat-0.71.0.1 old-time-1.0.0.0 > network-2.2.0.0 containers-0.1.0.2 process-1.0.0.1 directory-1.0.0.1 > parsec-3.0.0 random-1.0.0.0 html-1.0.1.1 array-0.1.0.0 filepath-1.1.0.0... > Added packages old-locale-1.0.0.0 haskell98... > About to checkWindows... > Configure successful. > > Note that franchise choses the (hidden!) parsec-3. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
