Building php4 under Windows with Cygwin's gcc
| From: | Wolfgang Hottgenroth | Date: | Thu, 15 Nov 2001 15:20:53 +0000 |
| Subject: | Building php4 under Windows with Cygwin's gcc | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4973@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
--
Wolfgang Hottgenroth
Senior Product Engineer
EMEA Engineering Systems
UUNET Deutschland GmbH
Sebrathweg 20
44149 Dortmund
Germany
office +49 231 972 1231
mobile +49 173 2578303
fax +49 231 972 2084
email who@de.uu.net
http://www.worldcom.com/de