Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28799 invoked from network); 13 Jun 2012 22:58:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2012 22:58:36 -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.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:55213] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/28-08889-C1B19DF4 for ; Wed, 13 Jun 2012 18:58:36 -0400 Received: by lagy4 with SMTP id y4so929376lag.29 for ; Wed, 13 Jun 2012 15:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=h6ByKA/OjcwMJc2MNg1smhATweraNnCpLz7voGaQtoA=; b=qc2gNj/yAohaiOR5gueVEtCstiJI+gFBFJODotviS57iRXmrBljiy9wDAXYsWtphA7 YhmBYKaL+DabB+iijFz2cBA2YqwktOeOntMFZR4Msy6qShATSS40VKbzjFrF4vkRQ9GB b9g358xJ0m197REzfds7xltv74IQIN9gRPzWRYCmjGgFzDuYM6HeQqccUQGTu1quJOxF axub4ALN7aO4WeCZzQMCRClOGdcIONyTLWZ+wg/BOK+Nrhz+fd/Yw6yXSFm7NcXeoeXB cYymcWAxj4zNC7ZZbGf6zsXUn4RBqI2dTi1Xj2QufPGR5m9Ko7GtV9Xy9uldGeVn2mCd U7MA== MIME-Version: 1.0 Received: by 10.152.113.199 with SMTP id ja7mr25929883lab.10.1339628313135; Wed, 13 Jun 2012 15:58:33 -0700 (PDT) Received: by 10.112.117.71 with HTTP; Wed, 13 Jun 2012 15:58:33 -0700 (PDT) Date: Thu, 14 Jun 2012 00:58:33 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d04088ee5bc4b9e04c26285e2 Subject: Confusion on how to exclude embedded sqlite3 during make/build From: mamfelt@gmail.com (Michael Felt) --f46d04088ee5bc4b9e04c26285e2 Content-Type: text/plain; charset=ISO-8859-1 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 --f46d04088ee5bc4b9e04c26285e2--