Bill Allombert on Sat, 17 Jan 2004 20:23:28 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: desc system on cygwin


On Thu, Jan 15, 2004 at 03:07:57PM +0900, ?$BLZB<4` wrote:
> Hi all,
> 
> The second problem is that, the problem I noticed avobe is not caught
> in a build process. When I try to update pari.desc by manually, the 
> following error message is raised:
> 
> iwao@jeff ~/Lang/C/pari/src/desc$ make pari.desc
> perl merge_822 ../functions/*/*
> ../functions/conversions/List is not terminated at PARI/822.pm line 93, <FILE> line 9.
> make: *** [pari.desc] Error 255

Well, it is caught by the build process, but only the first time. If you
restart make it will go undetected.

The patch below should fix that problem, but it seems a similar cure
is required for the others targets in this Makefile.

Thanks for reporting this problem!
Bill.

--- src/desc/Makefile   11 Nov 2003 15:08:05 -0000      1.6
+++ src/desc/Makefile   17 Jan 2004 19:14:05 -0000
@@ -7,7 +7,7 @@
 all: $(HEADERS)

 $(DEF): ../funclist merge_822 PARI/822.pm
-       $(PERL) merge_822 ../functions/*/* > $(DEF)
+       $(PERL) merge_822 ../functions/*/* > $(DEF).new && mv $(DEF).new $(DEF)

 ../language/members.h: $(DEF) gen_member
        $(PERL) gen_member $(DEF) > $@