Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60836 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26806 invoked from network); 14 Jun 2012 16:36:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2012 16:36:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=mamfelt@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mamfelt@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: mamfelt@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:33027] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/2F-39100-8131ADF4 for ; Thu, 14 Jun 2012 12:36:40 -0400 Received: by lagy4 with SMTP id y4so1580010lag.29 for ; Thu, 14 Jun 2012 09:36:37 -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=elv7YM+aTs5UTMcMW9w9QnLFXZvxrmgk+zSkl+Ur+Zo=; b=hHpd4Q288Hv6cNbZFpvPilE7BVYHvryUlpAgXOtfCT30FvtJtfyDTwaRsimBuL4Iea pBBvrkHB/WWiOzCfHsR00BXlKDL+JVi+6tPF7g9e7CPIuW4IsMo008k8iIBCodwKnWNq SL2V4UilOglu82/PpNO+ccO7Cfi2rrr3MYZ3WO+pLG9zSTNqL9FMssDokxyPlpWgvJMI tWTxRb3UAvdpp2PxZrrxa3fa6BXCWC432WjNYhMKWryyr3xJ7yZivnSEsN0TS/IUZavU 9GtEaBdyx5MTUuShniaHtD94VRrfLI1qg9ywq7g4UlEt7xrMyXlZutdcI70+TOcm6P28 a91A== MIME-Version: 1.0 Received: by 10.112.49.68 with SMTP id s4mr1303483lbn.27.1339691797202; Thu, 14 Jun 2012 09:36:37 -0700 (PDT) Received: by 10.112.117.71 with HTTP; Thu, 14 Jun 2012 09:36:37 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Jun 2012 18:36:37 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=90e6ba308ef2ae491e04c2714d7b Subject: Re: Confusion on how to exclude embedded sqlite3 during make/build From: mamfelt@gmail.com (Michael Felt) --90e6ba308ef2ae491e04c2714d7b Content-Type: text/plain; charset=ISO-8859-1 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 >> >> > --90e6ba308ef2ae491e04c2714d7b--