环境

Deepin15.11 apt 1.4.8 php7.2.10

运行 ./configure

checking for cURL 7.10.5 or greater… configure: error: cURL version 7.10.5 or later is required to compile php with cURL support

sudo apt-get install libcurl4-nss-dev

configure: error: jpeglib.h not found.

sudo apt-get install libjpeg

configure: error: png.h not found.

sudo apt-get install libpng-dev

configure: error: freetype-config not found.

sudo apt-get install libfreetype6-dev

configure: error: Cannot find OpenSSL’s

sudo apt-get install libssl-dev

执行 sudo apt-get install libssl-dev

下列软件包有未满足的依赖关系:

libssl-dev : 依赖: libssl1.1 (= 1.1.0h-4) 但是 1.1.0j-1~deb9u1 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
原因:已安装的libssl1.0.0版本太高, 无法支持
解决:查看解决安装libssl-dev的依赖问题