Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40877 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26991 invoked from network); 7 Oct 2008 12:52:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Oct 2008 12:52:30 -0000 Authentication-Results: pb1.pair.com header.from=mapopa@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mapopa@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.44.29 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mapopa@gmail.com X-Host-Fingerprint: 74.125.44.29 yx-out-2324.google.com Received: from [74.125.44.29] ([74.125.44.29:55045] helo=yx-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/13-48736-E8B5BE84 for ; Tue, 07 Oct 2008 08:52:30 -0400 Received: by yx-out-2324.google.com with SMTP id 3so609351yxj.83 for ; Tue, 07 Oct 2008 05:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BGgePRrWT3fYoxHJcz04ZPduKCzSpZXSMC15jNHkeuI=; b=OIgwEi8vgpB/q3ki/YQ0L6eTdRsSlgK9lygd+UHNbLlu4c3KBeI2hBDqibPiIMGmZD dWlqYXIApjkj7PXx5Tz+hETjcnbHGQGZ9ccxdZnADhM9mdgeEAalU6Z5h3BrvQk5Li1L E+mvuwAmJIM1SvHHnPGr9aQC23+kwy9kzIAcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tKOswG/aBW86jWbKC840cppu0fsvqyaG2HtcxZ30LE+EJxj1lTWzrnVbVr4JvVw9Fm 03bmw+X8ADo/V8ZNkpFHJlqIFa9Sk0uNaq5bmYtbrxP7Z7I0Xt42LRLamQ1Ov6MEQRs2 EsWXGxf0Wa0fOO+/fisEgy4DcmbXL4kIOZuTc= Received: by 10.100.126.19 with SMTP id y19mr6310054anc.151.1223383947749; Tue, 07 Oct 2008 05:52:27 -0700 (PDT) Received: by 10.100.95.12 with HTTP; Tue, 7 Oct 2008 05:52:27 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 15:52:27 +0300 To: "Scott MacVicar" Cc: internals@lists.php.net In-Reply-To: <48EB581A.7000103@macvicar.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EB581A.7000103@macvicar.net> Subject: Re: [PHP-DEV] mingw compilations fails From: mapopa@gmail.com ("marius popa") On Tue, Oct 7, 2008 at 3:37 PM, Scott MacVicar wrote: > We don't currently support mingw. You can use the free compiler from > Microsoft if you wish to compile on Windows. Yes but i see that it compiles with cygwin maybe i should do an define http://bugs.php.net/bug.php?id=40488 > > 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) >> > -- developer flamerobin.org