bug in configure with cygwin found

From: Date: Tue, 22 Jul 2003 06:04:57 +0000
Subject: bug in configure with cygwin found
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969355424@lists.php.net to get a copy of this message
Hi, I isolated the problem, and fixed it. Notice that it wasn't detecting PHP in the output below. Line 1320 of configure was the problem: if test "yes" = `echo '<?php echo phpversion()>3?"yes":"no"; ?>' | $PHP -q`; then Apprently, cygwin doesn't support piping fully, as this generates no output at all when I run it independently: $echo '<?php echo phpversion()>3?"yes":"no"; ?>' | php -q Owner@Chiara ~/peardoc $ However, if I save the contents into a small file testphpver.php, and change line 1320 to: if test "yes" = $PHP -q testphpver.php; then it works as expected and successfully configures. Regards, Greg Greg Beaver wrote:
Hello, Thanks. Here is the complete output. It turns out that the ".infig.status" is the result of .in overwriting the current line. I discovered this through a ./configure > out 2> out2. Here is the full output: $./configure checking for php... /cygdrive/c/PHP4.3.2/php checking php version... ./configure: line 1320: test: yes: unary operator expected PHP 4.3.2 (cli) (built: May 28 2003 15:10:38) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
    with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies
configure: WARNING: PHP version 4.0.0 or newer needed checking for docbook.dsl... autodetected: ../phpdoc-tools/dsssl checking for docbook.xsl... checking for PHP source path... ../php4 checking for language... en (default) checking for openjade... no checking for jade... no checking for jade in phpdoc-tools... yes checking for onsgmls... /usr/local/bin/onsgmls configure: creating ./config.status config.status: creating \ config.status: error: cannot find input file: \ .in I appreciate any pointers on mistakes I am making here. Regards, Greg Moshe Doron wrote:
please send the whole output "Greg Beaver" <greg@chiaraquartet.net> wrote in message news:3F1C72A2.1030301@chiaraquartet.net...
Hi, I'm trying to build peardoc/ in cygwin. I've got ./configure to work, but I'm getting a strange bug in config.status config.status: creating \ .infig.status: error: cannot find input file: \ a quick text search of config.status reveals no presence of "infig" Where do I start to debug this one? Regards, Greg


« previous php.doc (#969355424) next »