我正在尝试安装qpdf 5.1.3。默认的ubuntu版本是5.1.1。
所以我去了他们的Sourceforge页面http://sourceforge.net/projects/qpdf/files/并下载了这个软件包。然后我做了./configure; make; make install,但它告诉我:
configure: WARNING: unable to find required header zlib.h
configure: WARNING: unable to find required library z (or zlib)
configure: WARNING: unable to find required header pcre.h
configure: WARNING: unable to find required library pcre
configure: error: some required prerequisites were not found所以我需要找到zlib和pcre。你知道怎么做吗?sudo apt-get install什么都帮不了我,Ubuntu软件中心告诉我,我已经有了一个名为zlib1g的包。
在qpdf sourceforge页面上的“外部libs”文件夹中有zlib和pcre文件(上面的链接),但我尝试导出qpdf文件夹中的文件夹和单个文件,结果完全相同。
谢谢你的帮助。
发布于 2015-11-06 11:13:50
安装zlib时:
sudo apt-get install zlib1g-dev和pcre,包括:
sudo apt-get install libpcre3-dev 然后再试着编译。
为了未来..。如果您正在搜索系统中的包,请使用apt-cache search:
apt-cache search pcre
libpcre3-dev - Perl 5 Compatible Regular Expression Library - development fileshttps://askubuntu.com/questions/694678
复制相似问题