#35951 [Opn->WFx]: configure doesn't check for flex
| From: | tony2001@php.net | Date: | Tue, 10 Jan 2006 10:56:50 +0000 |
| Subject: | #35951 [Opn->WFx]: configure doesn't check for flex | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91722@lists.php.net to get a copy of this message | ||
ID: 35951
Updated by: tony2001@php.net
Reported By: jan at horde dot org
-Status: Open
+Status: Wont fix
Bug Type: Compile Failure
Operating System: Linux SUSE 10.0
PHP Version: 4CVS-2006-01-10 (CVS)
New Comment:
http://www.php.net/anoncvs.php
"PHP uses an advanced configuration system that requires you to have
the following tools. All necessary utilities can be obtained from the
GNU FTP site.
autoconf: 2.13
automake: 1.4+
libtool: 1.4.x+ (except 1.4.2)
bison: 1.28 (preferred), 1.35, or 1.75
flex: 2.5.4"
And this is what I see:
./config.nice | grep flex
checking for flex... (cached) flex
checking flex version... 2.5.4 (ok)
so it DOES check for flex and you should see a warning telling that
"You will need flex 2.5.4 or later if you want to regenerate Zend/PHP
lexical parsers".
Previous Comments:
------------------------------------------------------------------------
[2006-01-10 11:50:07] jan at horde dot org
1) It is also required if you build a fresh checkout from CVS (see
version).
2) configure does *not* check for it, otherwise it wouldn't fail and I
wouldn't have created this bug report
3) The fact that the check in configure is obviously broken atm.
------------------------------------------------------------------------
[2006-01-10 08:35:28] tony2001@php.net
1) It is required only if you changed the .l file and want to rebuild
the .c file.
2) ./configure checks for it.
3) What's the exact problem?
------------------------------------------------------------------------
[2006-01-10 01:04:21] jan at horde dot org
Description:
------------
If building from a CVS checkout, flex is required to create
zend_language_scanner.c from zend_language_scanner.l. But the configure
script doesn't check for it, or at least doesn't fail if it isn't
installed.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35951&edit=1