share/lib/Makefile.in does not reflect Unnester.oz's "require FD"

Boriss Mejias boris.mejias at uclouvain.be
Thu Apr 5 16:29:17 CEST 2007


Thanks a lot Terence. I committed your patch to the SVN repository 
crediting your name in the commit.

cheers
Boriss

Terence M. Rokop wrote:
> On Wednesday 04 April 2007 03:29:11 am Boriss Mejias wrote:
> 
>> Hi Terence,
>>
>> Sorry for the very late reply. I haven't experience any problem with the
>> thing you are mentioning, but I'm running on Linux Ubuntu and MaxOSX. I
>> don't know if anybody on this mailing list is also using Gentoo. If you
>> already fixed your problem, we would be very interested in having your
>> patch, but I can't help you to fix it.
> 
> I believe that the fix is straightforward -- the rule in share/lib/Makefile.in 
> for building Unnester.ozf needs to reflect that it depends upon FD.ozf, the 
> same way as, for example, the rule for building Core.ozf reflects that it 
> depends upon Annotate.ozf (for the same reason -- Core.oz has a "require 
> Annotate" clause).  That suggests the following patch:
> 
> 
> Index: share/lib/Makefile.in
> ===================================================================
> --- share/lib/Makefile.in	(revision 16535)
> +++ share/lib/Makefile.in	(working copy)
> @@ -290,7 +290,7 @@
>  Builtins.ozf: compiler/Builtins.oz GroundZip.ozf compiler-Builtins.oz
>  
>  Unnester.ozf: compiler/Unnester.oz compiler/TupleSyntax.oz \
> -	compiler/BindingAnalysis.oz compiler/UnnestFD.oz
> +	compiler/BindingAnalysis.oz compiler/UnnestFD.oz FD.ozf
>  
>  Annotate.ozf: compiler/Annotate.oz
>  
> 
> 
> Applying that patch did fix the problem for me.
> 
>> cheers
>> Boriss
>>
>> Terence M. Rokop wrote:
>>> The functor defined by share/lib/compiler/Unnester.oz has a "require FD"
>>> clause, but share/lib/Makefile.in's dependency list for Unnester.ozf does
>>> not include FD.ozf.  I believe that this is what's breaking my attempts
>>> to emerge mozart on a recent Gentoo x86 system.
>>> _________________________________________________________________________
>>> ________ mozart-hackers mailing list                          
>>> mozart-hackers at mozart-oz.org
>>> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
> 
> 


More information about the mozart-hackers mailing list