BLFS systemd version 2021-01-16

with php-8.0.1 installed, the graphviz-2.44.1 compile gives:

In file included from gv_php.cpp:767:
/usr/include/php/Zend/zend_API.h:168:47: note: to match this ‘{’
  168 |  static const zend_internal_arg_info name[] = { \
      |                                               ^
gv_php.cpp:5411:1: note: in expansion of macro ‘ZEND_BEGIN_ARG_INFO_EX’
 5411 | ZEND_BEGIN_ARG_INFO_EX(swig_arginfo_000, 0, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/php/Zend/zend_API.h:172:30: error: expected declaration
before ‘}’ token
  172 | #define ZEND_END_ARG_INFO()  };
      |                              ^
gv_php.cpp:5415:1: note: in expansion of macro ‘ZEND_END_ARG_INFO’
 5415 | ZEND_END_ARG_INFO()
      | ^~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:2479: libgv_php_la-gv_php.lo] Error 1
make[4]: Leaving directory
'/usr/src/genutils/graphviz/graphviz-2.44.1/tclpkg/gv'
make[3]: *** [Makefile:3003: all-recursive] Error 1

Adding --enable-php=no to the configure script allows it to compile.

jb.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to