Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40876 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24049 invoked from network); 7 Oct 2008 12:37:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2008 12:37:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@macvicar.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=scott@macvicar.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain macvicar.net from 193.227.246.108 cause and error) X-PHP-List-Original-Sender: scott@macvicar.net X-Host-Fingerprint: 193.227.246.108 ip246-108-v193.static.x-ip.net Received: from [193.227.246.108] ([193.227.246.108:34906] helo=lovelace.midden.org.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/62-48736-6285BE84 for ; Tue, 07 Oct 2008 08:37:59 -0400 Received: from office.vbulletin.com ([217.155.246.60] helo=[10.0.0.116]) by lovelace.midden.org.uk with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KnBp3-0003fL-0z; Tue, 07 Oct 2008 13:37:55 +0100 Message-ID: <48EB581A.7000103@macvicar.net> Date: Tue, 07 Oct 2008 13:37:46 +0100 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: marius popa CC: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 X-Spam_Report: Spam detection software, running on the system "lovelace.midden.org.uk", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: We don't currently support mingw. You can use the free compiler from Microsoft if you wish to compile on Windows. Scott marius popa wrote: > I try to build php 5.2.6 with mingw stable > > and i disabled for the moment all the extensions and it fails quite fast > > > ./configure --disable-all --prefix=/opt/php > > > $ make > /bin/sh /mingw/tmp/php-5.2.6/libtool --silent --preserve-dup-deps > --mode=compile gcc -Iext/date/lib -Iext/date/ > -I/mingw/tmp/php-5.2.6/ext/date/ -DPHP_ATOM_INC > -I/mingw/tmp/php-5.2.6/include -I/mingw/tmp/php-5.2.6/main > -I/mingw/tmp/php-5.2.6 -I/mingw/tmp/php-5.2.6/ext/date/lib > -I/mingw/tmp/php-5.2.6/TSRM -I/mingw/tmp/php-5.2.6/Zend -I > /c/usr/lib/icu/include/ -I /c/usr/lib/icu/include/unicode -I > /c/usr/lib/icu/include/layout -I /c/usr/lib/icu -g -O2 -c > /mingw/tmp/php-5.2.6/ext/date/php_date.c -o ext/date/php_date.lo > In file included from c:/mingw/tmp/php-5.2.6/Zend/../TSRM/TSRM.h:18, > from c:/mingw/tmp/php-5.2.6/Zend/zend_alloc.h:27, > from c:/mingw/tmp/php-5.2.6/Zend/zend.h:236, > from c:/mingw/tmp/php-5.2.6/main/php.h:34, > from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: > c:/mingw/tmp/php-5.2.6/Zend/../TSRM/tsrm_config.w32.h:10:20: crtdbg.h: > No such file or directory > In file included from c:/mingw/tmp/php-5.2.6/main/php_reentrancy.h:28, > from c:/mingw/tmp/php-5.2.6/main/php.h:414, > from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:23: > error: redefinition of `struct dirent' > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:58: > error: conflicting types for 'DIR' > > > > $ gcc -v > Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs > Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc > --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 > --prefix=/mingw --enable-threads --disable-nls > --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry > --disable-shared --enable-sjlj-exceptions --enable-libgcj > --disable-java-awt --without-x --enable-java-gc=boehm > --disable-libgcj-debug --enable-interpreter > --enable-hash-synchronization [...] Content analysis details: (-4.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.1 AWL AWL: From: address is in the auto white-list Subject: Re: [PHP-DEV] mingw compilations fails From: scott@macvicar.net (Scott MacVicar) We don't currently support mingw. You can use the free compiler from Microsoft if you wish to compile on Windows. Scott marius popa wrote: > I try to build php 5.2.6 with mingw stable > > and i disabled for the moment all the extensions and it fails quite fast > > > ./configure --disable-all --prefix=/opt/php > > > $ make > /bin/sh /mingw/tmp/php-5.2.6/libtool --silent --preserve-dup-deps > --mode=compile gcc -Iext/date/lib -Iext/date/ > -I/mingw/tmp/php-5.2.6/ext/date/ -DPHP_ATOM_INC > -I/mingw/tmp/php-5.2.6/include -I/mingw/tmp/php-5.2.6/main > -I/mingw/tmp/php-5.2.6 -I/mingw/tmp/php-5.2.6/ext/date/lib > -I/mingw/tmp/php-5.2.6/TSRM -I/mingw/tmp/php-5.2.6/Zend -I > /c/usr/lib/icu/include/ -I /c/usr/lib/icu/include/unicode -I > /c/usr/lib/icu/include/layout -I /c/usr/lib/icu -g -O2 -c > /mingw/tmp/php-5.2.6/ext/date/php_date.c -o ext/date/php_date.lo > In file included from c:/mingw/tmp/php-5.2.6/Zend/../TSRM/TSRM.h:18, > from c:/mingw/tmp/php-5.2.6/Zend/zend_alloc.h:27, > from c:/mingw/tmp/php-5.2.6/Zend/zend.h:236, > from c:/mingw/tmp/php-5.2.6/main/php.h:34, > from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: > c:/mingw/tmp/php-5.2.6/Zend/../TSRM/tsrm_config.w32.h:10:20: crtdbg.h: > No such file or directory > In file included from c:/mingw/tmp/php-5.2.6/main/php_reentrancy.h:28, > from c:/mingw/tmp/php-5.2.6/main/php.h:414, > from c:/mingw/tmp/php-5.2.6/ext/date/php_date.c:21: > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:23: > error: redefinition of `struct dirent' > c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/dirent.h:58: > error: conflicting types for 'DIR' > > > > $ gcc -v > Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs > Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc > --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 > --prefix=/mingw --enable-threads --disable-nls > --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry > --disable-shared --enable-sjlj-exceptions --enable-libgcj > --disable-java-awt --without-x --enable-java-gc=boehm > --disable-libgcj-debug --enable-interpreter > --enable-hash-synchronization --enable-libstdcxx-debug > Thread model: win32 > gcc version 3.4.5 (mingw-vista special r3) >