logo       

RE: pack.deps in 6-2-branch: msg#00089

lang.haskell.glasgow.bugs

Subject: RE: pack.deps in 6-2-branch

> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise