| 1 Jul 2023 |
Jan Tojnar | In reply to @drupol:matrix.org There's an error: > /build/couchbase-4.1.4/src/wrapper/api_visibility.hxx:19:10: fatal error: Zend/zend_portability.h: No such file or directory That sounds like it tries to guess where the PHP headers are located and fails. | 20:07:58 |
Jan Tojnar | Perhaps for non-CMake extensions, the correct path would be set by buildPecl or something | 20:08:22 |
@drupol:matrix.org | Should we require php.dev ? | 20:08:27 |
Jan Tojnar | buildPecl already does. | 20:09:14 |
Jan Tojnar | but we probably should not use buildPecl in the first place, as this does not really use PECL-style build system | 20:09:40 |
@drupol:matrix.org | So, a regular derivation ? | 20:10:43 |
Jan Tojnar | yeah | 20:10:48 |
Jan Tojnar | In reply to @jtojnar:matrix.org That sounds like it tries to guess where the PHP headers are located and fails. you will need to find out how the build system tries to add PHP headers to include directories and continue based on that | 20:11:35 |
Jan Tojnar | actually, it looks like the extension does have pecl-style build system | 20:12:23 |
Jan Tojnar | it just invokes CMake internally | 20:12:34 |
Jan Tojnar | (see the config.m4 in the tarball) | 20:12:45 |
Jan Tojnar | Pol: so you will probably want to use env.COUCHBASE_CMAKE_EXTRA instead of cmakeFlags | 20:13:54 |
Jan Tojnar | and dontUseCmakeConfigure = true; | 20:14:11 |
@drupol:matrix.org | hum | 20:14:16 |