[GRASS-dev] Re: [GRASS GIS] #620: Platform.make odd variables settings

GRASS GIS trac at osgeo.org
Sun May 31 04:44:25 EDT 2009


#620: Platform.make odd variables settings
---------------------------+------------------------------------------------
  Reporter:  frankie       |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Installation  |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:                           
  Platform:  Unspecified   |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by glynn):

 Replying to [comment:3 hamish]:

 > > What exactly is the problem here?
 >
 > Debian ships a grass-dev package with include/Make, .h and friends.

 I see now.

 "make install" should probably modify the GRASS_HOME setting in
 Platform.make similar to the modification of GISBASE in the grassNN[.bat]
 scripts and etc/fontcap.

 At the very least, RUN_GISBASE should probably be set to either
 $(GRASS_HOME)/dist.$(ARCH) or $(ARCH_DISTDIR) in Grass.make, rather than
 being substituted by configure.

 But there's still a lot more work to be done in disentangling the GRASS,
 source and output directories so that building against an installed
 version of GRASS works correctly. E.g. both BIN and INC are defined
 relative to ARCH_DISTDIR, so you can't re-build a module against installed
 headers without installing the resulting module.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/620#comment:4>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list