我想安装“php gtk”,但是收到以下错误消息:
`libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
我从这里。
当我运行命令:时./configure
,它给出了以下错误消息:
checking for HARFBUZZ... no no
checking for CoreText availability... no
checking for CAIRO... no no
configure: error: Could not enable any backends. Must have at least one backend to build Pango
我尝试安装php_cairo
,但是也出现错误:
checking for Cario... not found
configure: error: Oops! No Cairo detected in the system
我该如何更新libpango
和安装 Cairo?谢谢。
答案1
您可以通过输入以下命令安装 cairo:
sudo apt-get install cairo-dock
至于其他部分,我正在自己做。只需阅读安装。我从网上找到了 pango-1.34.1 包,并尝试自己安装。