Привет, хабр!
Возникла необходимость установки blitz на новую машину.
при make выдает
/root/blitz-0.6.10/blitz.c:30:23: error: safe_mode.h: No such file or directory
/root/blitz-0.6.10/blitz.c: In function 'blitz_exec_wrapper':
/root/blitz-0.6.10/blitz.c:1732: warning: passing argument 3 of 'php_escape_html_entities' from incompatible pointer type
/usr/include/php5/ext/standard/html.h:57: note: expected 'size_t *' but argument is of type 'int *'
/root/blitz-0.6.10/blitz.c: At top level:
/root/blitz-0.6.10/blitz.c:4041: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blitz_functions'
/root/blitz-0.6.10/blitz.c: In function 'zm_startup_blitz':
/root/blitz-0.6.10/blitz.c:4083: error: 'blitz_functions' undeclared (first use in this function)
/root/blitz-0.6.10/blitz.c:4083: error: (Each undeclared identifier is reported only once
/root/blitz-0.6.10/blitz.c:4083: error: for each function it appears in.)
имеем
php -v
PHP 5.4.0-2 (cli) (built: Mar 5 2012 12:52:15)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2012 Zend Technologies
uname -a
Linux synclexpro 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux
Излечимо?
Есть предположение, что ошибка из-за несоответствия версии php.