2008/6/2 Hannes Magnusson <[EMAIL PROTECTED]>:
> On Mon, Jun 2, 2008 at 11:42 AM, pedram salehpoor
> <[EMAIL PROTECTED]> wrote:
>> Hello Hannes
>>
>> I found the source of problem. I'm building phpdoc and phpdoc-fa using
>> Windows XP.
>>
>> When I omit  "&& phpversion() < '5.2.7'" from line 121 in configure.php, it
>> builds without problem and it has no problem but when I add it the problem I
>> mentioned pops up.
>>
>> What should I do about it?

What version of PHP are you using? From the command line can you type
php -v and cut and paste the entire output?

I can only guess you are on a 5.3.0-dev which was built before 2008-05-29.

The issue is with windows cmd.exe not liking running programs with
spaces in program name and params ...

cmd.exe /c "C:\Program Files\Internet Explorer\iexplore.exe"
"http://www.google.com/search?q=Richard Quadling"

for example.

The userland fix (and the one you have as working version) is to wrap
the program and params in another set of "" ...

e.g.

cmd.exe /c ""C:\Program Files\Internet Explorer\iexplore.exe"
"http://www.google.com/search?q=Richard Quadling""


But if you write code for both *nix and Win32, having this
inconsistency is a pain.

So it was fixed in 5.2.7-dev, 5.3.0-dev and head on 2008-05-29

So, after the patch, the latest release of PHP would break windows builds.

phpdoc was patched.

But requires newer cvs/snapshot of PHP _IF_ you are a -dev release.

If using 5.2.6 or earlier, then all should be ok.

Richard.


>
> Richard, any idea why it is failing for him?
> (Pedram, please use "reply-all" to cc the mailinglist)
>
> -Hannes
>



-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

Reply via email to