我需要安装启用zend线程安全(ZTS = 1)的php5源debian包,但默认情况下这个配置是禁用的。如何使用我的配置重建包?
问问题
3969 次
2 回答
13
Download and extract package sources with
apt-get source php5
Edit
debian/rules
file and add--enable-roxen-zts
or--enable-maintainer-zts
to COMMON_CONFIG (confirm which one you need with./configure --help
).sudo apt-get build-dep php5
to install build dependencies.From directory where package source were extracted run
dpkg-buildpackage -uc -b
.
Optionally if you have devscripts
package installed you may run debuild -uc -b
instead of dpkg-buildpackage -uc -b
.
于 2013-07-25T10:03:26.423 回答
-3
不用担心,包的构建确实需要很长时间,而且看起来它也在循环中,但它最终会结束。
于 2014-12-09T13:15:55.557 回答