8

我需要安装启用zend线程安全(ZTS = 1)的php5源debian包,但默认情况下这个配置是禁用的。如何使用我的配置重建包?

4

2 回答 2

13
  1. Download and extract package sources with apt-get source php5

  2. Edit debian/rules file and add --enable-roxen-zts or --enable-maintainer-zts to COMMON_CONFIG (confirm which one you need with ./configure --help).

  3. sudo apt-get build-dep php5 to install build dependencies.

  4. 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 回答