Re: php + cygwin - some more

From: Date: Sun, 03 Mar 2002 18:52:20 +0000
Subject: Re: php + cygwin - some more
Groups: php.dev 
Request: Send a blank email to php-dev+get-80648@lists.php.net to get a copy of this message
At 15:29 03.03.2002, you wrote:
Ok, seeing that some people indeed do use cygwin to build PHP, here's report about my achievements:
Just checked with new cygwin and it builds, compiles but does not link, seem to be a problem with underscore generation. The cli executable does not find its functions....maybe i check this later by the way i have now problems with php 4.1.1 and 4.1.2 but then came cli...
After upgrading cygwin to latest version (1.3.10-1) and all tools there (autoconf 2.52, libtool 1.4e) and checking out latest CVS, it builds. Only problems being: 1. line 187 of datetime.c - complains about timezone, since timezone is defined as function in headers. Changed to _timezone, seems to work.
For me i have two errors in that file but i think we can add a type conversion to the resulttype. So we only do anything for cygwin: datetime.c: In function `php_mktime': datetime.c:187: wrong type argument to unary minus
            gmadjust = -(is_dst ? (int)timezone - 3600 : (int)timezone);
see (int) conversion of timezone -> gmadjust has type int datetime.c: In function `php_date': datetime.c:254: warning: assignment makes integer from pointer without a cast
                tzone = (long)timezone;
see (long) conversion of timezone -> tzone has type long
i think we can commit this to cvs anyone against? <<<<
2. A lot of undefined symbols in XML modules. Rebuilt with --without-xml, since no time to investigate further on this.
I do not use this with cygwin sorry....
Besides that, builds php.exe cleanly. Still don't know if and how is possible to build .dll for apache with cygwin. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#80648) next »