
I'm getting the following error using the instructions in 4.9.5.1 Dependency Generation.
[dominic@r341-02 webldap]$ make depend ghc -M -cpp Add.hs EnvPassed.hs ParseError.hs Search.hs ASNv1.hs Counter.hs GetO pt.hs ParseExpr.hs StdTokenDef.hs Basev1.hs DecodeAll.hs Hello.hs ParseLib.hs Ta gsv1.hs CGI.hs Decode.hs HTML.hs Parser.hs TokenDef.hs CGISystem.hs Delete.hs HT MLWizard.hs ParseToken.hs UrlEncoded.hs Classv1.hs DoAdd.hs ldapHTML.hs Pretty.h s WebSite.hs CL.hs DoDelete.hs LdapTypesv2.hs QL.hs X690Utilsv2.hs Client2.hs Do Modify.hs Mime.hs query.hs client.hs DoSearch.hs Modify.hs Request.hs Client.hs Env.hs oldDecodeAll.hs Response.hs Basev1.hs: can't find one of the following: `Word.hi' `Word.hs' `Word.lhs' make: *** [depend] Error 1 [dominic@r341-02 webldap]$
Just add the same -package options when you use ghc -M as you would when compiling any of the modules. i.e. in this case adding -package lang will help GHC find the Word module (but it won't be included in the dependency output). Cheers, Simon
participants (1)
-
Simon Marlow