VICE's configure.ac uses AC_PROG_LEX, which needs flex — missing from the build image caused a late, confusing "Could not find either flex or lex!" failure deep inside configure. Add it to the Dockerfile and to build_vice.sh's own preflight tool check so a missing flex fails fast with a clear error. Bump build-image/VERSION to 2.
This commit is contained in:
@@ -32,7 +32,7 @@ echo " TOOLCHAIN : ${TOOLCHAIN} [OK]"
|
||||
|
||||
# ---- Ensure required host tools are present ---------------------------------
|
||||
MISSING=()
|
||||
for tool in dos2unix autoconf automake pkg-config xa; do
|
||||
for tool in dos2unix autoconf automake pkg-config xa flex; do
|
||||
command -v "$tool" &>/dev/null || MISSING+=("$tool")
|
||||
done
|
||||
if [ ${#MISSING[@]} -gt 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user