Reputation: 519
I need to install php5 source debian package with zend thread safety enable (ZTS=1) but in default this config is disable. how can rebuild package with my configuration ?
Upvotes: 8
Views: 4159
Reputation: 1
Dont worry, it really takes a long time for the package build, and it also looks like it is in loop, but it will come to an end, eventually.
Upvotes: -3
Reputation: 5868
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
.
Upvotes: 13