[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trouble installing with make on Ubuntu 20.04 (WSL 2), /bin/sh: 2: ./conf
From: |
Naphat Amundsen |
Subject: |
Trouble installing with make on Ubuntu 20.04 (WSL 2), /bin/sh: 2: ./configure: not found |
Date: |
Wed, 24 Nov 2021 20:28:45 +0000 |
Hello
I am attempting to install FreeType in WSL 2 running Ubuntu 20.04. The
automatic system detection seems to make sense, but the process seems to be
unable to locate some files. I attempted to copy 'configure' into the directory
it complains over, but it just ran into other problems. Here is the output for
running 'make' (you can find system info below):
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (this needs Python >= 3.5).
Checking out submodule in `subprojects/dlg'
git submodule init
Submodule 'dlg' (https://github.com/nyorain/dlg.git) registered for path
'subprojects/dlg'
git submodule update
Cloning into '/home/naphat/repositories/tuna/vendor/freetype/subprojects/dlg'...
Submodule path 'subprojects/dlg': checked out
'0cc0d3eaed28483fc8036d90ac18878ebd83ed87'
Copying files from `subprojects/dlg' to `src/dlg' and `include/dlg'
mkdir include/dlg
cp subprojects/dlg/include/dlg/output.h include/dlg
cp subprojects/dlg/include/dlg/dlg.h include/dlg
cp subprojects/dlg/src/dlg/dlg.c src/dlg
Generating modules list in ./objs/ftmodule.h...
done.
* module: truetype (Windows/Mac font files with extension *.ttf or *.ttc)
* module: type1 (Postscript font files with extension *.pfa or *.pfb)
* module: cff (OpenType fonts with extension *.otf)
* module: cid (Postscript CID-keyed fonts, no known extension)
* module: pfr (PFR/TrueDoc font files with extension *.pfr)
* module: type42 (Type 42 font files with no known extension)
* module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon)
* module: pcf (pcf bitmap fonts)
* module: bdf (bdf bitmap fonts)
* module: sfnt (helper module for TrueType & OpenType formats)
* module: autofit (automatic hinting module)
* module: pshinter (Postscript hinter module)
* module: smooth (anti-aliased bitmap renderer)
* module: raster (monochrome bitmap renderer)
* module: sdf (signed distance field renderer)
* module: bsdf (bitmap to signed distance field converter)
* module: psaux (Postscript Type 1 & Type 2 helper module)
* module: psnames (Postscript & Unicode Glyph name handling)
cd builds/unix; \
./configure
/bin/sh: 2: ./configure: not found
make: *** [builds/unix/detect.mk:91: setup] Error 127
System information:
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version
8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
- Trouble installing with make on Ubuntu 20.04 (WSL 2), /bin/sh: 2: ./configure: not found,
Naphat Amundsen <=