"Failed to load interface for ..."

Bulat Ziganshin bulatz at HotPOP.com
Mon Jan 9 06:11:14 EST 2006

Hello Simon,

Monday, January 09, 2006, 1:45:45 PM, you wrote:

so i propose just to add words about "--make" to the error message

SM> Defaulting to --make would make sense, as would a complete re-design of 
SM> the command-line syntax, but for the same reasons I don't think it's a 
SM> good idea.  I don't want to break a lot of build systems for purely 
SM> aesthetical reasons.

SM> Cheers,
SM>         Simon

SM> Seth Kurtzberg wrote:
>> How about changing it so --make is the default?  I always use it.  To me, that makes it logical as the default.  Of course there are reasons not to do this, such as not breaking peoples build
>> scripts, and no doubt others I'm overlooking at the moment.  A flag to select the old behavior would take care of the build script problem, especially if it were also possible to use an
>> environment variable (instead of, or perhaps available in addition to, a command line flag) to select the old behavior.  (It isn't old, obviously, but I'm sure everyone knows what I mean.)
>> Seth Kurtzberg
>> On Fri, 6 Jan 2006 13:54:26 +0300
>> Bulat Ziganshin <bulatz at HotPOP.com> wrote:
>>>Hello ,
>>>how about adding suggestion to use "--make" to the following error
>>>message? it would be very helpful for novices. i have run into this
>>>problem several times before memoized that suggestion to use "-v"
>>>actually means that i forgot to add "--make" :)
>>>C:\!\Haskell\cpphs> ghc -O2 Main.hs
>>>    Failed to load interface for `RunCpphs':
>>>        Could not find module `RunCpphs': use -v to see a list of the files searched for
>>>Best regards,
>>> Bulat                          mailto:bulatz at HotPOP.com
>>>Glasgow-haskell-users mailing list
>>>Glasgow-haskell-users at haskell.org

SM> _______________________________________________
SM> Glasgow-haskell-users mailing list
SM> Glasgow-haskell-users at haskell.org
SM> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Best regards,
 Bulat                            mailto:bulatz at HotPOP.com

More information about the Glasgow-haskell-users mailing list