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

[EMAIL PROTECTED] ~/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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

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








-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to