[GRASS-dev] [GRASS GIS] #3091: The RUN_GISBASE variable is not set correctly on FreeBSD

GRASS GIS trac at osgeo.org
Tue Jul 5 22:58:34 PDT 2016


#3091: The RUN_GISBASE variable is not set correctly on FreeBSD
----------------------+-------------------------
  Reporter:  pieside  |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  Default  |    Version:  7.0.4
Resolution:           |   Keywords:  FreeBSD
       CPU:  x86-64   |   Platform:  Other Unix
----------------------+-------------------------

Comment (by glynn):

 Replying to [ticket:3091 pieside]:

 > The compilation search the includes files (e.g., gis.h) in this
 directory.

 The include flags are actually:
 {{{
 INC             = -I$(ARCH_DISTDIR)/include -I$(GISBASE)/include
 }}}
 from Grass.make.

 > But it is empty. All the includes are located in another directory:
 >
 {{{
 dist.amd64
 }}}

 Headers are supposed to be installed in $(ARCH_INCDIR), which is set to
 {{{
 ARCH_INCDIR     = $(ARCH_DISTDIR)/include/grass
 }}}

 Note that ARCH_DISTDIR is set thus:
 {{{
 ARCH_DISTDIR    = $(GRASS_HOME)/dist.$(ARCH)
 }}}
 and both GRASS_HOME and ARCH appear to be set correctly in your attached
 Platform.make file:
 {{{
 ARCH                = amd64-portbld-freebsd11.0

 GRASS_HOME          = /usr/ports/databases/grass7/work/grass-7.0.4
 }}}

 > Why is the first directory empty?

 Is it only headers that are in dist.amd64? Everything that will eventually
 be installed should be within the dist.amd64-portbld-freebsd11.0 directory
 except for the grass71 startup script, which should be in bin.amd64
 -portbld-freebsd11.0. Knowing which files go where would provide some
 clues as to the source of the problem.

 I suggest that you examine the output from "make". If you didn't capture
 it to a file, run "make clean" then re-build with e.g.
 {{{
 make >build.log 2>&1
 }}}

 Check for the "install" commands which install headers, e.g.
 {{{
 /usr/bin/install -c  -m 644 gmath.h
 /usr/ports/databases/grass7/work/grass-7.0.4/dist.amd64-portbld-
 freebsd11.0/include/grass/gmath.h
 }}}

 If those look okay, there's something wrong with the install program (or
 the install-sh script, if that's being used). Otherwise, the issue may be
 with the build system.

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



More information about the grass-dev mailing list