Trying to compile php6 with next configure line:
../configure
--with-curl
--enable-fastcgi
--with-mysql
--without-mysqli
--with-mbstring
--enable-force-cgi-redirect
--with-xpm
--with-jpeg
--with-png
--with-zlib
--with-tiff
--with-zip
--with-gd
--with-ttf
--with-freetype=/usr/include/freetype2/freetype
--enable-discard-path
--enable-gd-native-ttf
--enable-freetype
And I got the next compile error:
/bin/sh
/root/php/cvs/php6/libtool --silent --preserve-dup-deps --mode=compile
cc -Iext/standard/ -I/root/php/cvs/php6/ext/standard/ -DPHP_ATOM_INC -I/root/php/cvs/php6/include
-I/root/php/cvs/php6/main -I/root/php/cvs/php6 -I/usr/include/libxml2 -I/root/php/cvs/php6/pcrelib
-I/root/php/cvs/php6/ext/date/lib -I/usr/include/mysql -I/root/php/cvs/php6/TSRM
-I/root/php/cvs/php6/Zend -I/usr/include -g -O2 -c
/root/php/cvs/php6/ext/standard/basic_functions.c -o
ext/standard/basic_functions.lo
/root/php/cvs/php6/ext/standard/basic_functions.c:45:34: error:
zend_language_parser.h: No such file or directory
make: *** [ext/standard/basic_functions.lo] Error 1
/root/php/cvs/php6/ext/standard/basic_functions.c:45:34: error:
zend_language_parser.h: No such file or directory
make: *** [ext/standard/basic_functions.lo] Error 1
You need to install flex 2.5.4.
--
Wbr,
Antony Dovgal