#21552 [Fbk]: re2c: command not found
| From: | wez@php.net | Date: | Fri, 10 Jan 2003 14:48:30 +0000 |
| Subject: | #21552 [Fbk]: re2c: command not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29683@lists.php.net to get a copy of this message | ||
ID: 21552
Updated by: wez@php.net
Reported By: ed2019@columbia.edu
Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 2.8
PHP Version: 4.3.0
New Comment:
And for completeness:
-rw-r--r-- andrei/andrei 16718 2002-12-27 04:51
php-4.3.0/ext/standard/var_unserializer.c
-rw-r--r-- andrei/andrei 8276 2002-08-19 20:45
php-4.3.0/ext/standard/var_unserializer.re
Previous Comments:
------------------------------------------------------------------------
[2003-01-10 08:47:04] wez@php.net
tar tvf php-4.3.0.tar | grep url_scanner_ex
-rw-r--r-- andrei/andrei 26762 2002-12-27 04:51
php-4.3.0/ext/standard/url_scanner_ex.c
-rw-r--r-- andrei/andrei 12566 2002-09-30 05:56
php-4.3.0/ext/standard/url_scanner_ex.re
Are you using GNU tar or Solaris tar?
Because it sounds like your tar tool is at fault.
------------------------------------------------------------------------
[2003-01-10 08:35:35] ed2019@columbia.edu
directory info from freshly un-tarred downloads from the official
website, no other changes made or commands issued.
The dates on solaris and linux are the same. The dates on the .c files
are later than on the .re files.
On Solaris:
$ pwd
/tmp/erik_tmp/php-4.3.0/ext/standard
$ ls -l *.re
-rw----- ed2019 staff 12566 Sep 30 00:56 url_scanner_ex.re
-rw----- ed2019 staff 8276 Aug 19 15:45 var_unserializer.re
$ ls -l url_scanner.c; ls -l url_scanner_ex.c; ls -l
var_unserializer.c
-rw----- ed2019 staff 8279 Aug 28 02:13 url_scanner.c
-rw----- ed2019 staff 26762 Dec 26 23:51 url_scanner_ex.c
-rw----- ed2019 staff 16718 Dec 26 23:51 var_unserializer.c
On Linux (debian):
erik@oslo:~/phptemp/php-4.3.0/ext/standard$
-rw-r--r-- erik erik 12566 Sep 30 00:56 url_scanner_ex.re
-rw-r--r-- erik erik 8276 Aug 19 15:45 var_unserializer.re
erik@oslo:~/phptemp/php-4.3.0/ext/standard$ ls -l url_scanner.c; ls -l
url_scanner_ex.c; ls -l var_unserializer.c
-rw-r--r-- 1 erik erik 8279 Aug 28 02:13 url_scanner.c
-rw-r--r-- 1 erik erik 26762 Dec 26 23:51 url_scanner_ex.c
-rw-r--r-- 1 erik erik 16718 Dec 26 23:51 var_unserializer.c
using:
$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8
------------------------------------------------------------------------
[2003-01-10 05:17:42] alan@akbkhome.com
Is solaris incorrectly untaring the data stamp on the
var_unserializer.c ?
or is make file date check failing?
the work around would be to touch var_unserializer.c before building..
but try untaring 4.3.0 and look at the date stamp to see if the .c is
later than the .re file...
------------------------------------------------------------------------
[2003-01-10 00:37:14] changeling@yahoo.com
If he did something wrong, then I must have as well because
I'm having the exact same problem on a clean copy of PHP
4.3.0, too. Solaris 8, Apache 1.3.x.
./configure --with-apxs=/usr/local/apache/bin/apxs --with-
flatfile
------------------------------------------------------------------------
[2003-01-09 18:52:57] sniper@php.net
re2c is not required (just tested). You've just done
something wrong between unpacking the tar archive and
'make' command.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21552
--
Edit this bug report at http://bugs.php.net/?id=21552&edit=1