bc might not be installed on the box (typical for VMs, e.g. if you use a default Debian install on a Google Compute node). Then curl-config --checkfor reports nonsense.
$ curl-config --checkfor 7.22
/usr/bin/curl-config: 1: /usr/bin/curl-config: bc: not found
/usr/bin/curl-config: 1: /usr/bin/curl-config: bc: not found
/usr/bin/curl-config: 112: test: Illegal number:
requested version 7.22 is newer than existing 7.52.1
not sure what the right fix is.
A platform-specific fix for Debian would add bc to pre-reqs for libcurl, but well, perhaps it can be improved generically.
bcmight not be installed on the box (typical for VMs, e.g. if you use a default Debian install on a Google Compute node). Thencurl-config --checkforreports nonsense.not sure what the right fix is.
A platform-specific fix for Debian would add
bcto pre-reqs for libcurl, but well, perhaps it can be improved generically.