ID:               30774
 User updated by:  creinig at sunsite dot dk
 Reported By:      creinig at sunsite dot dk
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Debian/Sarge
 PHP Version:      4.3.9
 New Comment:

$ bison --version 
bison (GNU Bison) 1.875a


Previous Comments:
------------------------------------------------------------------------

[2004-11-13 20:15:06] [EMAIL PROTECTED]

What version of bison do you have ?

------------------------------------------------------------------------

[2004-11-13 20:10:15] creinig at sunsite dot dk

Played a bit more with the php-5.0.2 build. The first 2 
"make" calls after doing a "rm -r *" in the separate build 
dir and calling configure yield the flex error, from the 
third try on it continues to the missing libfcgi dir. 
(tried this sequence twice now, with identical behavior 
each time)

------------------------------------------------------------------------

[2004-11-13 20:01:51] creinig at sunsite dot dk

Tried with php-5.0.2. On the first and second tries I got 
the same flex internal error in Zend/zend_ini_scanner.c as 
with the php4 snapshot (just with 4 shift/reduce mentioned 
instead of 2). 
 
Third try (after redirecting make stdout to a file) it 
skipped that error and continued until stopping at this: 
 
FATAL: can't create sapi/cgi/libfcgi/fcgi_stdio.o: No such 
file or directory 
make: *** [sapi/cgi/libfcgi/fcgi_stdio.lo] Error 1 
 
sapi/cgi/ is an empty dir at that place. 
 
"make clean ; make" repeats that error 
 
 
I realize that these are probably all independent build 
errors and thus should be separated into several bug 
reports. But that's IMHO better decided by someone familiar 
with the beast. In any case someone should have a *really* 
close look at the PHP build process, as it seems to be 
broken in several places.

------------------------------------------------------------------------

[2004-11-13 19:34:45] creinig at sunsite dot dk

Description:
------------
Linker throws many undefined references in the language 
core. Error outputs: 
http://sunsite.dk/~creinig/phperror/php-4.3.9-make-errors 
 
Tried also with php4-STABLE-200411131730 -- there it throws 
a flex internal error: 
 
conflicts: 2 shift/reduce 
flex: fatal internal error, bad line in skeleton file 
make: *** [Zend/zend_ini_scanner.c] Error 1 
 
Configure call: 
../php-4.3.9/configure 
--prefix=/home/creinig/apachetest/install/php-4.3.9 \ 
  --with-fastcgi \ 
  --enable-force-cgi-redirect \ 
  --enable-discard-path \ 
 
--with-config-file-path=/home/creinig/apachetest/install/php-4.3.9/etc

\ 
  --enable-safe-mode \ 
  --with-openssl \ 
  --with-zlib \ 
  --enable-memory-limit 
 
The snapshot was configured with the same line, with the 
dirnames adapted. 
 
$ uname -a 
Linux loke 2.6.8-1-mckinley-smp #1 SMP Tue Sep 14 22:36:10 
MDT 2004 ia64 GNU/Linux 
 
$ gcc --version 
gcc (GCC) 3.3.4 (Debian 1:3.3.4-13) 
 
$ flex --version 
flex 2.5.31 
 
 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30774&edit=1

Reply via email to