Re: PHP Doc ./configure
| From: | Nuno Lopes | Date: | Wed, 16 Nov 2005 23:26:12 +0000 |
| Subject: | Re: PHP Doc ./configure | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370885@lists.php.net to get a copy of this message | ||
Nobody installs PHP to C:\program files :)
But try to quote the PHP path, like (add to line 68 of configure.in):
PHP =
echo $PHP | sed 's/ /\\ /'
I'm not an expert in configure/bash scripts, but that should do the trick.
Nuno
----- Original Message ----- From: "David Mytton" <davidmytton@gmail.com>
To: "PHP Docs List" <phpdoc@lists.php.net>
Sent: Wednesday, November 16, 2005 11:11 PM
Subject: [PHP-DOC] PHP Doc ./configure
I've come across my first problem with Windows/PHP doc setup and that
is with the ./configure script after checking out a fresh copy from
CVS. My PHP dir is C:\Program Files\PHP which seems to be giving the
configure script problems because of the space. It is getting the path
directly from the system PATH variable.
This is the output I get:
file versions
Makefile.in,v 1.170
configure.in,v 1.233
configure options:
source directory: .
working directory: /home/Administrator/phpdoc
checking for php... /cygdrive/c/Program Files/PHP/php
checking php version...
./configure: line 1403: test: too many argyments
./configure: line 1410: /cygdrive/c/Program: No such file or directory
./configure: line 1412: /cygdrive/c/Program: No such file or directory
./configure: line 1412: test: yes: unary operator expected
configure: error: PHP version 4.0.0 or newer needed
--
Regards,
David Mytton
http://www.olate.co.uk