ID: 36068 Updated by: [EMAIL PROTECTED] Reported By: php at rince dot de -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Solaris 8 PHP Version: 5.1.2 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-01-18 18:47:33] php at rince dot de To be honest, I have no idea, where and why php needs bison and/or yacc. configure is apparently checking for bison but it ignores it when it isn't installed and uses yacc instead. So I'd guess to ask one of the developers wether bison is needed or not. ------------------------------------------------------------------------ [2006-01-18 16:40:51] [EMAIL PROTECTED] So basically the problem could be solved by changing this line to `bison --version 2>/dev/null` ? ------------------------------------------------------------------------ [2006-01-18 16:33:00] php at rince dot de *sigh* since this machine has no internet-access I hoped it would be enough to tell that php expects bison but doesn't check wether it's there. but here it is: I do the make test, there seems to be a problem: ---- XMLWriter: PI, Comment, CDATA [ext/xmlwriter/tests/00_009.phpt] ==================================================================== You may have found a problem in PHP. We would like to send this report automatically to the PHP QA team, to give us a better understanding of how the test cases are doing. If you don't want to send it immediately, you can choose "s" to save the report to a file that you can send us later. Do you want to send this report now? [Yns]: y Please enter your email address. (Your address will be mangled so that it will not go out on any mailinglist in plain txt): [my email address] sh: bison: not found PHP Warning: PHP Startup: /: Unable to initialize module [..] If you look into "run-tests.php" line 717, it checks the version of bison if a test fails. And this check fails (of course) if bison is not installed. I don't know why php wants to have bison, but at least run-tests.php expects it. ------------------------------------------------------------------------ [2006-01-18 16:04:12] [EMAIL PROTECTED] Apparently you forgot to tell us what exactly the problem is. >Then, the testsuite wants to report this and wants to use > "bison" - which isn't installed usually on a Solaris machine. And you know that because you see some error, right? Or is it a secret? ------------------------------------------------------------------------ [2006-01-18 15:58:33] php at rince dot de Situation: Solaris 8 on Sparc. Fresh Download of php-sources, Version 5.1.2. unpack, "./configure --with-apxs2=/usr/local/apache-2.0.55/bin/apxs" results in a "Build complete." After that I make a "make test", there are quite some tests and at one point the tests result apparently in an unexpected state. Then, the testsuite wants to report this and wants to use "bison" - which isn't installed usually on a Solaris machine. So there should be a check against bison in the configure-script (this was already a problem in php3, as I can see in the bug database). ------------------------------------------------------------------------ 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/36068 -- Edit this bug report at http://bugs.php.net/?id=36068&edit=1
