Building php4 for Windows using Cygwin's gcc
| From: | Wolfgang Hottgenroth | Date: | Thu, 15 Nov 2001 15:24:06 +0000 |
| Subject: | Building php4 for Windows using Cygwin's gcc | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4974@lists.php.net to get a copy of this message | ||
Hi,
the docs are talking related to building php4 for Windows
only about Microsoft Visual C++.
Unfortunately I didn't own this software since I'm a Unix-man
and this is a short test under Windows but I need php4 with
the pgsql-extention and there are no prebuild binaries with
this extention.
So I tried to build it the same way as on my Linux-box: open
a Cygwin-bash, typing configure, then typing make. I expected
gcc to do it for me and indeed gcc will do something.
But then it stops in php4/ext/standard in the file datetime.c
with "wrong type argument to unary minus" in line 186,
"invalid operands to binary /" in line 429, 487 and "invalid
operands to binary %" in line 429, 487.
I used php-4.0.4pl1 and php-4.0.6.
Does this say anything to anyone of you?
Thanks,
Wolfgang