Re: Trouble installing with make on Ubuntu 20.04 (WSL 2), /bin/sh: 2: ./configure: not found

Lawrence D'Oliveiro <[email protected]> Thu, 25 Nov 2021 11:49:52 +1300
Newsgroups gmane.comp.fonts.freetype.user
Organization Geek Central
Message-ID <[email protected]>
On Wed, 24 Nov 2021 20:28:45 +0000, Naphat Amundsen wrote:

> cd builds/unix; \
>         ./configure
> /bin/sh: 2: ./configure: not found
> make: *** [builds/unix/detect.mk:91: setup] Error 127

If you look at the development tree
<https://gitlab.freedesktop.org/freetype/freetype/-/tree/master/builds/unix>,
builds/unix/configure does not exist, looks like it must be generated
from configure.raw. This needs to be done by autogen.sh
<https://gitlab.freedesktop.org/freetype/freetype/-/blob/master/autogen.sh>.

Normally I think you are supposed to build a production installation
from a distribution tarball, not the original development tree (leave
that for the FreeType developers themselves).