Re: Windows build of extension of http_message
| From: | Jan Ehrhardt | Date: | Thu, 11 Jul 2019 09:20:11 +0000 |
| Subject: | Re: Windows build of extension of http_message | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-16090@lists.php.net to get a copy of this message | ||
Arnold Daniels in php.pecl.dev (Thu, 11 Jul 2019 07:34:09 +0000):
>I've added the new http_message package to pecl. It depends on the psr
>extension, not only at runtime but it also needs to php_psr.h header
>file to build.
>
>On Linux, the header file is automatically copied the PHP include dir on
>
make install, but on Windows you need to do that manually if you
>just
>copy php_psr.dll.
>
>Is there a way to fix the Windows build?
Take a look at https://github.com/m6w6/ext-http/blob/master/config.w32
I adds either ..\[other ext]\ or ..\..\pecl\[other ext]\ to the include
dirs, relying on the convention that the sources of the dependency are
in a sibling dir or in a pecl directory (as sibling to the ext dir of
the php sources).
redis looks only in a sibling dir for igbinary.h:
https://github.com/phpredis/phpredis/blob/develop/config.w32#L16
--
Jan