ubuntu编译程序时的几个错误解决

configure: error: C++ preprocessor “/lib/cpp” fails sanity check

apt-get install g++

configure: error: zlib.h not found – required for brass, chert and flint (you may need to install the zlib1g-dev or zlib-devel package)

apt-get install zlib1g-dev

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>