Skip to content

configure: line 17674: syntax error near unexpected token `0.20' #147

@slyfox1186

Description

@slyfox1186

I triggered this error in Ubuntu 22.04.2 and Debian 12.

I removed all of the configure options and got the same error.

My command line is

autoreconf -fi
mkdir build
cd build || exit 1
../configure --prefix=/home/jman/tmp/dltools-build-script/workspace --disable-shared --disable-werror --enable-lib-only
make -j32
make install

The output in terminal shows

building nghttp3 - version 0.12.0
====================================
The file "nghttp3-0.12.0.tar.gz" is already downloaded.
Extracted the archive: nghttp3-0.12.0.tar.gz

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:30: installing './compile'
configure.ac:33: installing './config.guess'
configure.ac:33: installing './config.sub'
configure.ac:39: installing './install-sh'
configure.ac:39: installing './missing'
Makefile.am: installing './INSTALL'
examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
$ ../configure --prefix=/home/jman/tmp/dltools-build-script/workspace --disable-shared --disable-werror --enable-lib-only
../configure: line 17170: syntax error near unexpected token `0.20'
../configure: line 17170: `PKG_PROG_PKG_CONFIG(0.20)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions