[php-maint] PHP debian package from upstream release

Jeremy Smith jeremy at blazonco.com
Sun Oct 26 02:13:29 UTC 2008

Hi, Sean - Thanks for writing.

sean finney wrote:
> hi jeremy, timothee,
> (changing cc to pkg-php-maint mailing list, which is probably a better
> place to discuss this)
> On Fri, Oct 24, 2008 at 10:22:10AM -0700, Jeremy Smith wrote:
>> preparation steps because it fails when it gets to building the apache2  
>> portion.  The specific error (which I'm sure is not unexpected) is:
>> apache-build/libtool: No such file or directory
> can you post what steps you are taking that gets you here?

I grabbed the official PHP 5.3 alpha 2 tarball and unpacked it.  I 
grabbed the current 5.2 source (from stable, not unstable) with apt-get 
source php5.  I used apt-get build-dep to install all the dependencies 
for building.  Then I copied the debian directory from 5.2 to 5.3, made 
a changelog entry, and removed all the patches.  Then I tried to build 
with debuild.  I tweaked around with it when I encountered problems - 
for example, config.sub was getting deleted but not regenerated so I 
modified debian/rules not to delete it.  While debuild is doing its 
thing, it stops at the error above.

I downgraded to autoconf2.13 to see if that would help.  It didn't.  And 
I noticed that when 5.2 is building, it does get libtool scripts in the 
build subdirectories (5.3 doesn't).  I don't know that much about how 
autotools work; nor do I know much about the debian packaging process.  
But I'll try with the unstable source package and try to manage from 
there.  Failing that, I'll just use checkinstall to make a crappy 
package - at least that way I'll be able to remove it later.


More information about the pkg-php-maint mailing list