Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2019 17:06:12 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: coreutils missing one component: (g)stat
Message-ID:  <CAP7rwcju57s%2B9XB5q6AgkzS-_w71OGm7dBiPHuD-_--PG9zoDQ@mail.gmail.com>
In-Reply-To: <5d27a969.1c69fb81.7dee6.b944SMTPIN_ADDED_MISSING@mx.google.com>
References:  <20190711134723.GE34918@home.opsec.eu> <5d27a969.1c69fb81.7dee6.b944SMTPIN_ADDED_MISSING@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2019 at 3:26 PM Thomas Mueller <mueller6722@twc.com> wrote:
>
> from Kurt Jaeger and my previous post:
>
> > > I noticed, trying to configure ptxdist under FreeBSD (ptxdist.org), that stat (gstat) was missing in sysutils/coreutils.
>
> > > Configure script execution ended with
>
> > > checking for GNU rm... /usr/local/bin/grm
> > > checking for GNU rmdir... /usr/local/bin/grmdir
> > > checking for GNU sort... /usr/local/bin/gsort
> > > checking for GNU stat... configure: error: could not find GNU stat
>
> > Because FreeBSD has its own gstat command (doing something different),
> > the port has gnustat for GNU stat. So the configure script
> > needs to check for gnustat, maybe this solves your problem?
>
> Now I see where GNU stat is, and it's not FreeBSD's fault that ptxdist configure script can't find things.  I made a symbolic link in nonroot ~/fb64/bin:
>
> ln -s /usr/local/bin/gnustat gstat

I'm not clear whether you're trying to construct a port, or just
getting the software to build.

If you're building a port, you can achieve that with:
BINARY_ALIAS=     gstat=gnustat

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcju57s%2B9XB5q6AgkzS-_w71OGm7dBiPHuD-_--PG9zoDQ>