# php6CVS cannot be compiled

- Thread: https://externals.io/message/28540
- Original archive: https://news-web.php.net/php.internals/28540
- Started by paul sohier on 2007-03-21T16:30:19+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28540 — paul sohier — 2007-03-21T16:30:19+00:00

URL: https://externals.io/message/28540#28540

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

---

## #28541 — Antony Dovgal — 2007-03-21T17:48:44+00:00

URL: https://externals.io/message/28540#28541 · In reply to: #28540

> /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
