Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33290 invoked from network); 14 Jun 2012 17:11:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2012 17:11:48 -0000 Authentication-Results: pb1.pair.com header.from=mamfelt@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mamfelt@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: mamfelt@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:59294] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/60-39100-45B1ADF4 for ; Thu, 14 Jun 2012 13:11:48 -0400 Received: by lbgc1 with SMTP id c1so2548717lbg.29 for ; Thu, 14 Jun 2012 10:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/cBNKSd1YKap910kgJVPiHJTxuwif8Vo6gq0UmR1dkY=; b=qGh/m/J4rct0uMUUwFXm7utAzT3dIexJj+UKixICMkOD4MNwKJyoa5H0Jroibjf/sM fJuLCTWK4tXVCzaF0jH9oJtcILt5zrFsfmDcbgDoL21dj8ckBTrI3uSO4AUAYhslxf73 wXrVxj0CwZ31o0bK0URbfGvBr1nDrfW6xsYvFGcaAc4D26LPstgholWXFTqKZbeX6Bdt RYUuSksFu8SRKmrh9hFbB9xSutg2A6zTOJnHyp0JB1FLzDFpj9TNsBShrug/FC7IOsMT Ugum3Lh33P6faI2zShoOpVlMpEuspTPpiWxKwnV2jBugPiS3lbbu0hlpQ2XvOVKVMIWp 6HwA== MIME-Version: 1.0 Received: by 10.152.147.33 with SMTP id th1mr2688522lab.9.1339693905292; Thu, 14 Jun 2012 10:11:45 -0700 (PDT) Received: by 10.112.117.71 with HTTP; Thu, 14 Jun 2012 10:11:45 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Jun 2012 19:11:45 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8f22c411552d0304c271cb05 Subject: Re: Confusion on how to exclude embedded sqlite3 during make/build From: mamfelt@gmail.com (Michael Felt) --e89a8f22c411552d0304c271cb05 Content-Type: text/plain; charset=ISO-8859-1 Now getting a lot of these messages: "/data/prj/php-5.3.13/Zend/zend.h", line 179.10: 1506-358 (I) "__restrict__" is defined on line 186 of /usr/include/standards.h. line 179... #if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 #else # define __restrict__ #endif #define restrict __restrict__ AIX: /usr/include/standards /* * Handle the use of the restrict keyword in non-C99 compilers */ #if ((__STDC_VERSION__ >= 199901L) || defined(__C99_RESTRICT)) #define __restrict__ restrict #else #define __restrict__ #endif Whose right?? On Thu, Jun 14, 2012 at 6:36 PM, Michael Felt wrote: > messages crossed - thanks. I was thinking of copying the sqlite, or at > least doing a diff when I saw the same error in both 5.3.14 and 5.4.4 > > > On Thu, Jun 14, 2012 at 6:33 PM, Michael Felt wrote: > >> Well, I am wondering if I posted this wrong - where are all the [PHP-DEV] >> brackets coming from. >> >> But, i believe I found the "syntax" error - by default AIX compiler does >> not support // comments, the CFLAG >> -qlangval=extc99 (or extc89) needs to be added. >> >> Testing further with 5.3.14 and 5.4.4 >> >> Michael >> >> >> On Thu, Jun 14, 2012 at 12:58 AM, Michael Felt wrote: >> >>> Hi. >>> >>> I am trying to compile php against httpd 2.4.2 - but before it gets >>> interesting I think I am having a different problem. >>> >>> The sqlite3 embedded in ./ext/sqlite3 returns a syntax error against >>> vac.C v11 compiler. >>> >>> data/prj/php-5.3.13/ext/sqlite3/sqlite3.c -o ext/sqlite3/sqlite3.lo >>> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 893.9: 1506-046 (S) >>> Syntax error. >>> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.41: 1506-045 (S) >>> Undeclared identifier i. >>> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.51: 1506-277 (S) >>> Syntax error: possible missing ';' or ','? >>> "/data/prj/php-5.3.13/ext/sqlite3/sqlite3.c", line 894.65: 1506-045 (S) >>> Undeclared identifier or. >>> make: 1254-004 The error code from the last command is 1. >>> >>> Rather than try and solve that I compiled a separate sqlite3 version >>> root@x104:[/]sqlite3 -version >>> 3.6.22 >>> >>> However, even after make distclean and a new run of configure with the >>> following arguments - make still continues to try to compile the embedded >>> sqlite3. >>> >>> root@x104:[/data/prj/php-5.3.13]cat php_configure.ksh >>> #!/usr/bin/ksh >>> >>> set -x >>> >>> ./configure \ >>> --prefix=/opt \ >>> --sysconfdir=/etc \ >>> --mandir=/usr/share/man \ >>> --with-libdir=/opt/lib \ >>> --with-sqlite3=/opt \ >>> > build/aix/configure.out >>> >>> >>> >>> What am I doing wrong? Many thanks! >>> >>> Michael >>> >>> >> > --e89a8f22c411552d0304c271cb05--