pack.deps in 6-2-branch
Simon Marlow
simonmar at microsoft.com
Fri May 28 05:27:06 EDT 2004
> It has the two small Haskell modules and Makefile.
> And it refers to the docon package.
> Command
> mv foo.zip .../t
> cd t
> unzip foo.zip
> cd u
> make foo
> cd ..
> ghci -package-conf u/foo.conf -package foo
>
> " ghc-6.2.1: unknown package name: docon
> "
You aren't telling GHC about the docon package. The file 'foo.conf'
only describes the 'foo' package, with a dependency on 'docon', but GHC
doesn't have the details of the 'docon' package, because those are in
'docon.conf'. So you need something like:
ghci -package-conf docon.conf -package-conf u/foo.conf -package foo
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list