coreutils missing one component: (g)stat

Adam Weinberger adamw at adamw.org
Thu Jul 11 23:06:30 UTC 2019


On Thu, Jul 11, 2019 at 3:26 PM Thomas Mueller <mueller6722 at 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 at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list