On 1/20/2009 2:58 AM, Axel Simon wrote:
> Hi Pete,
>
> On Mon, 2009-01-19 at 21:45 -0500, Peter Gavin wrote:
>    
>> Hello everyone,
>>
>> A release candidate for Gtk2HS 0.10.0 is available at:
>>
>>     
>> http://code.haskell.org/~pgavin/gtk2hs-0.10.0/gtk2hs-0.10.0-rc-20090119.tar.gz
>>
>> Please test this on your platform.  It should build on pretty much any 
>> platform
>> that GHC 6.8 and Gtk+ 2.4 (or so) or later are supported on.  You should 
>> also be
>> able to build on Windows using MingW and MSYS.  A windows binary installer 
>> will
>> be provided soon.
>>
>>      
>
> Thanks a lot for putting this together.
>
> Two things:
>
> 1)
>
> I get:
> /users/absint/simona/local/bin/ghc +RTS -RTS -c
> tools/c2hs/base/errors/Errors.hs -o tools/c2hs/base/errors/Errors.o -O
> -itools/c2hs/base/admin:tools/c2hs/base/errors:tools/c2hs/base/general:tools/c2hs/base/state:tools/c2hs/base/syms:tools/c2hs/base/syntax:tools/c2hs/c:tools/c2hs/chs:tools/c2hs/gen:tools/c2hs/state:tools/c2hs/toplevel
>  -package-conf package.conf.inplace -hide-all-packages -package base-3.0.1.0 
> -package haskell98-1.0.1.0 -package pretty-1.0.0.0 -package 
> containers-0.1.0.1 -package array-0.1.0.0
>
> tools/c2hs/base/errors/Errors.hs:44:0:
>      Failed to load interface for `Position':
>        Use -v to see a list of the files searched for.
>
> when generating the dependencies. I saw that you pushed a patch were you
> avoid a recursive invocation of 'make'. This might have caused it. The
> dependencies in c2hsLocal.deps are correct but I think they are not
> honoured by 'make' if it is not invoked recursively.
>
> Interestingly, the build continues and c2hs is built correctly on Linux.
> On Mac OS, the build stops with the error above.
>    
Hmm...   I know why that error happens (and was expecting it to) but I'm 
surprised the build fails for you.  What is happening is that when make 
starts, it tries to read all the included .dep files, which of course 
don't exist.  So it tries to do what it can with the rules it has to 
build those files.  The first thing it tries to build is the deps for 
c2hs.  Once it does that, it continues building as far as it can (which 
is up until it gets to that Errors.hs file), after which it re-reads all 
the .dep files it can and starts completely over from scratch.  It seems 
on your Mac installation make is quitting entirely, instead of just 
rereading the .dep file and building the c2hs sources in the correct 
order.  What I wanted to figure out is if there was a way to have make 
reread a .dep file immediately after it's generated, instead of trying 
to build all the other .dep files first, then rereading them when that 
fails.  So it sounds like your linux maching behaved the way I expected 
to, but your Mac didn't.

I think I might have a solution for this, but I'm still thinking about 
it.  In the mean time, running make twice should work fine and give 
correct results.

> 2)
>
> I forgot to add ListSort.hs to the extra dist files, hence it is not
> included in the tarball and 'make installcheck' fails. Patch attached.
>
>    
Ok, thanks.

Pete


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to