[GRASS-dev] Re: [GRASS GIS] #625: make errors (missing demolocation)
GRASS GIS
trac at osgeo.org
Tue Jun 16 04:09:27 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 hamish):
Replying to [comment:9 glynn]:
> 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?
that's in the relbr6 (which builds). In devbr6 and trunk on the same
system it is called `config.status.unknown`.
>
{{{
> # 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.
ok, following config.guess:
{{{
timestamp='2008-04-14'
...
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}"
x86_64:Linux:2.6.26-2-amd64:#1 SMP Thu May 28 21:28:49 UTC 2009
...leads to
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit ;;
}}}
I don't see where $host is set.
trunk$ ./configure reports:
{{{
checking host system type... x86_64-unknown-linux-gnu
...
Copying config.status to config.status.x86_64-unknown-linux-gnu
GRASS is now configured for: x86_64-unknown-linux-gnu
}}}
Platform.make now has:
{{{
ARCH = x86_64-unknown-linux-gnu
}}}
weird, this time it got it.
more tests tomorrow.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/625#comment:10>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list