[GRASS-dev] [GRASS GIS] #3118: Some modules fail to compile

GRASS GIS trac at osgeo.org
Wed Aug 10 12:12:48 PDT 2016


#3118: Some modules fail to compile
------------------------+---------------------------------
  Reporter:  ewcgrass   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  closed
  Priority:  normal     |  Milestone:  7.2.0
 Component:  Compiling  |    Version:  svn-releasebranch72
Resolution:  invalid    |   Keywords:
       CPU:  x86-64     |   Platform:  Linux
------------------------+---------------------------------

Comment (by glynn):

 Replying to [comment:4 ewcgrass]:

 > I'm guessing failure had to do with doing make clean instead of make
 distclean following first attempts.

 Not directly, no. "make distclean" performs "make clean" and also removes
 the files which are generated by configure. In terms of building, the only
 difference is that "make clean && make" will re-build everything with the
 existing configuration while "make distclean && make" will generate an
 error.

 If changes to installed libraries render the configuration invalid, you
 need to re-run configure. There's no difference between "make clean &&
 configure && make" and "make distclean && configure && make"; both will
 rebuild everything with a new configuration.

 "make distclean" exists primarily to minimise differences between a
 working directory and a clean checkout. If it forces you to re-run
 configure (rather than silently using a stale configuration), that's a
 side-effect.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3118#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list