Dmitriy Sintsov <questpc(a)rambler.ru> writes:
However, they (Ubuntu or Debian) built their own
custom script which
removes this ./configure line from phpinfo() output, so one have to
find proper options manually. However it was easier than trying to
build the package on my own, anyway. Dmitriy
The whole idea of using packages is to outsource the job of maintenance
of those packages. Sometimes you need to wrest control, though, and
take over the outsourced job.
When that time comes with Debian packages, its good to understand how
the build process works. If you want to build your own package,
getting the configure args is pretty straight-forward.
$ apt-get source php5
$ cd php5*/debian
$ less rules # look for the configure options
You can even modify the rules file (just a glorified makefile) to update
the build to your needs and then build it:
$ sudo apt-get install devscripts
$ sudo apt-get build-dep php5
$ cd .. # make sure you're above the debian dir
$ debuild -uc -us -b
$ dpkg -i ../php5*deb
That's all,
Mark.