Hi When I do:
> cabal list --simple-output | grep -i "HaXml 1.20" I get: > HaXml 1.20 > HaXml 1.20.1 > HaXml 1.20.2 But when running: > runhaskell Setup.hs configure I get: > Configuring XrcAccessors-0.0... > Setup.hs: At least the following dependencies are missing: > HaXml -any My cabal file looks like: <snip> Executable XrcAccessors Main-is: XrcAccessors.hs Build-Depends: base==3.0.*, pretty==1.0.*, HaXml hs-source-dirs: src </snip> This is very confusing to me. Why will Cabal not find HaXml when running Setup.hs, but do find it when running "cabal list" ? My Setup.hs looks like: > import Distribution.Simple > main = defaultMain I have tried reinstalling HaXml, but that do not help. I have noticed one thing though, when doing: > ghc-pkg I get output like: <snip> /home/ghc6103/lib/ghc-6.10.3/./package.conf: Cabal-1.6.0.3, HUnit-1.2.0.3, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0, bytestring-0.9.1.4, containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3), (dph-par-0.3), </snip> <snip> /home/ghc6103/.ghc/x86_64-linux-6.10.3/package.conf: Cabal-1.6.0.2, Cabal-1.8.0.2, Diff-0.1.2, HDBC-2.1.1, HDBC-odbc-1.1.6.0, HDBC-odbc-2.1.0.0, HTTP-4000.0.4, HUnit-1.2.2.1, HaXml-1.20.2, MetaHDBC-0.1.0, QuickCheck-2.1.0.3, SQLLib-0.0, </snip> That is, HaXml shows itself in the /home/ghc6103/.ghc/x86_64-linux-6.10.3/package.conf list, but not in the /home/ghc6103/.ghc/x86_64-linux-6.10.3/package.conf . Is this the problem and how do I fix it? Greetings, Mads Lindstrøm
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe