[GRASSLIST:1967] Re: no rule to make shapefil.h

Markus Neteler neteler at itc.it
Sat Dec 6 07:40:25 EST 2003


On Fri, Dec 05, 2003 at 10:58:37AM -0500, Christopher Fonnesbeck wrote:
> After updating grass57 and 53 source from CVS to fix the DYLIB problem  
> on OSX, I get the following:
> 
> gcc -L/usr/local/lib -L/sw/lib  
> -L/usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> lib    -dynamiclib -Wl,-flat_namespace,-U,_cuserid -undefined suppress  
> -L/usr/local/lib -L/sw/lib  
> -L/usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> lib      \
>          OBJ.powerpc-apple-darwin7.0.0/edit_cats.o  
> OBJ.powerpc-apple-darwin7.0.0/edit_cellhd.o  
> OBJ.powerpc-apple-darwin7.0.0/edit_hist.o -lgrass_gis -lgrass_datetime   
> -lintl -lgrass_vask -o  
> /usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> lib/libgrass_edit.dylib
> external
> bwidget
> if [ ! -d  
> /usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> bwidget ]; then mkdir  
> /usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> bwidget; fi
> tar cf - images/* lang/* *.txt *.tcl README.grass | (cd  
> /usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> bwidget; tar xf -)
> shapelib
> make[3]: *** No rule to make target `shapefil.h', needed by  
> `/usr/local/src/grass57_exp_2003_11_22/dist.powerpc-apple-darwin7.0.0/ 
> include/shapefil.h'.  Stop.
> make[2]: *** [subdirs] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [default] Error 1
>
> Seen this before?

Did you run 
make mixclean
during you update procedure? The complete procedure is explained
in the INSTALL file of 5.7:

UPDATE OF 5.7.x

Assuming that you want to update your current installation from
CVS, you have to perform a couple of steps. In general:

- clean the links to 5.3.x
- update from 5.3.x CVS HEAD (the 5.3.x code)
- update from 5.7.x CVS (the 5.7.x code)
- recreate the links to 5.3.x (make mix)
- configure, compile

In detail:

cd /where/your/grass530/lives/
cvs update -dP

cd /where/your/grass57/lives/
make mixclean
cvs update -dP
make mix
configure ...
make

Hope this helps,

 Markus




More information about the grass-user mailing list