ID: 21552 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Solaris 2.8 PHP Version: 4.3.0 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2003-01-10 05:17:42] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] re2c is not required (just tested). You've just done something wrong between unpacking the tar archive and 'make' command. ------------------------------------------------------------------------ [2003-01-09 12:27:32] [EMAIL PROTECTED] After configuring a fresh download of PHP 4.3.0, I attempted to compile with the following configure line: ./configure --with-apxs=/opt/apache1327/bin/apxs --with-mysql Configure complted successfully, and make halted partway through with the following message: re2c -b php-4.3.0/ext/standard/var_unserializer.re > php-4.3.0/ext/standard/var_unserializer.c /bin/sh: re2c: not found make: *** [php-4.3.0/ext/standard/var_unserializer.c] Error 1 I expected that if configure completed successfully, my system had everything it needed to build. Is re2c a required build tool? If so why didn't configure complain? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21552&edit=1
