Re: Extension proposal: dom_varimport
| From: | Dmitry Koterov | Date: | Wed, 23 Apr 2014 12:53:28 +0000 |
| Subject: | Re: Extension proposal: dom_varimport | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11769@lists.php.net to get a copy of this message | ||
>
> you talk about compile-time dependency, and Johannes talks about run-time
>> dependency.
>> something like this:
>>
>> https://github.com/php/php-src/blob/master/ext/pdo_mysql/pdo_mysql.c#L225
>>
>>
One more question about this: after I added ZEND_MOD_REQUIRED, "make test"
command began to throw out warnings:
PHP Warning: Cannot load module 'dom_varimport' because required module
'dom' is not loaded in Unknown on line 0
It executes the following command line (in run-tests.php which is generated
by phpize, line 265):
/usr/bin/php -n -c '/root/dom_varimport/tmp-php.ini' ... -d
"extension_dir=/root/dom_varimport/modules/" -d
"extension=dom_varimport.so" /root/dom_varimport/run-test-info.php
Maybe PECL test framework does not support extension dependencies (I am
worrying about extension_dir redeclaration: if it redeclares extension_dir,
how does it plan to access "standard" extensions like DOM etc.)?