Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49929 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47002 invoked from network); 19 Oct 2010 13:36:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2010 13:36:05 -0000 Authentication-Results: pb1.pair.com header.from=mamfelt@gmail.com; sender-id=pass; domainkeys=bad 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) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mamfelt@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-ew0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:50686] helo=mail-ew0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/CB-21220-4CE9DBC4 for ; Tue, 19 Oct 2010 09:36:05 -0400 Received: by ewy24 with SMTP id 24so1554923ewy.29 for ; Tue, 19 Oct 2010 06:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=sxBMYo+HMV+hZoK1o7CztFY8lIwOjxk05dZCf6cjJZw=; b=hTWEgmV3G40DQhTzrlF6Gp0r7BUc31XWyD8DPwxQYNQ4nSiBa5j+Cvzfod1lTWiSsc X2TuJKqFZ8C5w1ItjGaKf4tLIJKkuDhppEmTzxxAzi3iYOVc5+jwW0Su6KS4tOpyMlDp M8XZlc17qxB1Z8W0wWpbiRPcyUg+Rktqt1Vhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UmApLEzwFs946VGcg16s731OsLb1tZO4rDtsL9vxUhi1LYNPobFMhVNZfC+HkFL1v5 ueJCegobmZl05CXRL6wNI33za0//NGZ42uE+P0s1JMTZpzg2xlrbdHch8e06L04XSViK eD5giWOGT+CVjcDk4hluh7zIaRe0dS5YaGkzM= MIME-Version: 1.0 Received: by 10.213.30.4 with SMTP id s4mr149237ebc.99.1287495360743; Tue, 19 Oct 2010 06:36:00 -0700 (PDT) Received: by 10.14.47.129 with HTTP; Tue, 19 Oct 2010 06:36:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 Oct 2010 15:36:00 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0015174c3f80a089910492f85f88 Subject: Re: ext/pcre/pcrelib/config.h:#define HAVE_STDINT_H 1 - bug in PHP or ext(ernal) package that needs to be contacted? From: mamfelt@gmail.com (Michael Felt) --0015174c3f80a089910492f85f88 Content-Type: text/plain; charset=ISO-8859-1 p.s. my fix is: /* Define to 1 if you have the header file. * / #ifndef HAVE_STDINT_H #define HAVE_STDINT_H 1 #endif */ (added space to break end-of comment, and added end of comment below block) On Tue, Oct 19, 2010 at 3:32 PM, Michael Felt wrote: > Maybe a bug? with ext/* I wonder if it is internal, or something borrowed. > > The hardpart is to get a compiler old enough to not have stdint.h I > suppose, but when that is the case the build fails and/or configure misses > it. > > from /data/prj/php-5.2.14 > > # grep -n HAVE_STDINT_H */*/*/*.h > ext/date/lib/timelib_structs.h:32:#elif defined(HAVE_STDINT_H) > ext/pcre/pcrelib/config.h:108:#ifndef HAVE_STDINT_H > ext/pcre/pcrelib/config.h:109:#define HAVE_STDINT_H 1 > ext/pcre/pcrelib/pcre_internal.h:197:#elif HAVE_STDINT_H > > # ls -l ext/pcre/pcrelib/config.h > -rw-r--r-- 1 1005 1005 11704 Mar 29 2010 > ext/pcre/pcrelib/config.h > > From the date I conclude configure has nothing to do with this, from the > line numbers I wonder why they say > #ifndef SOME_VARIABLE > #define SOME_VARIABLE 1 > > There are consequences! pcre_internal.h believes this! So, my question is: > whose error is it? PHP, or somewhere external? > > make returns: > > # make > /bin/sh /data/prj/php-5.2.14/libtool --silent --preserve-dup-deps > --mode=compile gcc -I/data/prj/php-5.2.14/ext/pcre/pcrelib -Iext/pcre/ > -I/data/prj/php-5.2.14/ext/pcre/ -DPHP_ATOM_INC > -I/data/prj/php-5.2.14/include -I/data/prj/php-5.2.14/main > -I/data/prj/php-5.2.14 -I/data/prj/php-5.2.14/ext/date/lib > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/local/include/freetype2 -I/usr/local/mysql/include > -I/data/prj/php-5.2.14/TSRM -I/data/prj/php-5.2.14/Zend -I/usr/include > -L/usr/local/ssl/lib -L/usr/local/mysql/lib -L/usr/local/lib -c > /data/prj/php-5.2.14/ext/pcre/pcrelib/pcre_chartables.c -o > ext/pcre/pcrelib/pcre_chartables.lo > In file included from > /data/prj/php-5.2.14/ext/pcre/pcrelib/pcre_chartables.c:25: > /data/prj/php-5.2.14/ext/pcre/pcrelib/pcre_internal.h:198:20: stdint.h: No > such file or directory > make: *** [ext/pcre/pcrelib/pcre_chartables.lo] Error 1 > > This is on AIX 4.3.3 and gcc. > --0015174c3f80a089910492f85f88--