[GRASS-dev] Re: [GRASS GIS] #625: make errors (missing demolocation)

GRASS GIS trac at osgeo.org
Tue Jun 16 01:29:13 EDT 2009


#625: make errors (missing demolocation)
-----------------------+----------------------------------------------------
  Reporter:  cnielsen  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  7.0.0                    
 Component:  default   |     Version:  svn-trunk                
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by glynn):

 Replying to [comment:7 hamish]:

 > I can reproduce something similar on amd64 Linux with r37899.
 > (pretty new Debian/Lenny)
 >
 >
 > the problem seems to be that the system type is not detected properly
 ("unknown" or ""), and build dirs end up called bin./ and dist./.

 System detection is up to config.guess; we might need a newer version.

 > there is: "config.status.x86_64-unknown-linux-gnu"

 Are you sure that this isn't a leftover from a previous build?

 > for releasebranch_6_4 on the same machine I get: bin.x86_64-unknown-
 linux-gnu/ and dist.x86_64-unknown-linux-gnu/ and it builds ok.
 >
 > error is:
 {{{
 ERROR: LOCATION << /usr/src/grass/svn/trunk/dist.unknown/demolocation >>
 not available
 }}}
 > in the above note dist. != dist.unknown.
 >
 >
 > I had a look but couldn't see where in configure's uname magic it
 determines the "unknown" type. Seems to be related to cross-compiling.
 {{{
 # Set ARCH

 ARCH=
 if test -z "${host}"; then
 ARCH="unknown"
 else
 ARCH="${host}"
 fi
 }}}

 Note that Platform.make.in has:
 {{{
 ARCH                = @host@
 }}}
 Although configure.in has:
 {{{
 AC_SUBST(ARCH)
 }}}
 ARCH isn't used in Platform.make.

 Also, SC_CONFIG_FLAGS uses uname (which means that cross-compiling can't
 work), while everything else uses $host.

 Which reminds me that SC_CONFIG_FLAGS should have been discarded for 7.0.

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


More information about the grass-dev mailing list