[GRASSLIST:3979] Re: [GRASS5] [bug #2545] (grass) vect32 fails to build

Paul Kelly paul-grass at stjohnspoint.co.uk
Thu Jul 22 14:39:05 EDT 2004


On Wed, 21 Jul 2004, Lorenzo Moretti wrote:

>> 
>> The patch below shows how I propose to fix this. I think src/CMD/gmake.sh 
>> should be changed so that $(OBJARCH) is preprended at the beginning of a 
>> path leading to a .o file rather than immediately preceding the filename.
>> i.e. Vlib/open.o becomes $(OBJARCH)/Vlib/open.o rather than 
>> Vlib/$(OBJARCH)/open.o as at present.
>
> Paul
>
> Your patch resolve bug #2545 and bug #2547. Now is possible to create 
> libvect_combined.a

OK- I have committed it.

>
>> This should fix things for both the alternate and gmake systems.
>> It will also cause problems for badly written or non-standard Gmakefiles. 
>> The only one I came across is for r3.null and I will fix that by building 
>> r3.null and r3.mask from the same directory (cf. r.mapcalc and r3.mapcalc 
>> are built from the same directory).
>
>
>> But there might also be problems with non-standard Gmakefiles in add-on 
>> modules people have written themselves I suppose. But probably not very 
>> likely. So I just wanted to post this here for a while for comments before 
>> committing the changes.
>> 
>> The r.terraflow Gmakefile also needs fixed so it will work with both build 
>> systems. It has a related but different problem with using 
>> sub-directories.
>
> Yes the only problem is in r3.null like you say...

I changed it yesterday.
r.terraflow's Gmakefile still needs fixed to work with the alternate build 
system.




More information about the grass-dev mailing list