On Fri, Aug 20, 2004 at 03:46:35PM +0200, Uwe Steinmann wrote: > On Fri, Aug 20, 2004 at 11:05:57PM +1000, Matthew Palmer wrote: > > On Fri, Aug 20, 2004 at 12:01:32PM +0200, Uwe Steinmann wrote: > > > while creating a debian package for a php4 extension I encountered a > > > possible mismatch in the zendapi of php4-cli and php4-dev. Both have > > > version 4.3.8-6. > > > > > > php4-cli provides phpapi-20020918 > > > > > > but /usr/include/php4/Zend/zend_modules.h (which is part of php4-dev) > > > is for zendapi 20020429 > > > > > > line 88 of that file: > > > #define ZEND_MODULE_API_NO 20020429 > > > > > > When I build the debian package for the extension I automatically > > > extract the zendapi from /usr/include/php4/Zend/zend_modules.h > > > and create a dependency on phpapi-<zendapi from zend_modules.h>. > > > Since the two api numbers don't match, my debian package cannot > > > be installed. > > > > > > Am I missing something or is this a bug? > > > > You're missing the fact that zendapi != phpapi. You want the > > PHP_API_VERSION from /usr/include/php4/main/php.h. Or else the debhelper > > module dh_pecl, which is still languishing in the debhelper bug list > > (#238834). > Thanks. I used dh_pecl but a slightly different version which disregards > phpapi. That version is old and buggy. Grab the one out of the BTS for a far better version. And pester Joey so it'll go into debhelper proper. - Matt
Attachment:
signature.asc
Description: Digital signature