Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34659 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3707 invoked by uid 1010); 10 Jan 2008 18:04:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3691 invoked from network); 10 Jan 2008 18:04:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2008 18:04:19 -0000 Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.174 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.174 smtpout0174.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.174] ([64.97.136.174:20095] helo=n064.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/C9-41364-02E56874 for ; Thu, 10 Jan 2008 13:04:19 -0500 Received: from sc1-out02.emaildefenseservice.com (64.97.139.2) by n064.sc1.he.tucows.com (7.2.069.1) id 47697705004D0E30 for internals@lists.php.net; Thu, 10 Jan 2008 18:04:12 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,abff1b8c0e7579fe,2870026528cea6c6,steph@zend.com,-,RULES_HIT:69:152:355:379:539:540:541:542:543:567:600:601:602:945:960:967:973:980:988:989:1000:1155:1156:1260:1308:1309:1313:1314:1345:1437:1515:1516:1518:1534:1541:1575:1587:1594:1676:1711:1730:1747:1764:1766:1792:2073:2075:2078:2198:2199:2393:2525:2534:2551:2553:2559:2563:2682:2685:2731:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3352:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934: 3936:3938:3941:3944:4250:4362:4886:5007:6119:6261:7281:7576:7679:7802,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (unknown [64.97.206.40]) (Authenticated sender: steph.fox) by sc1-out02.emaildefenseservice.com (Postfix) with ESMTP for ; Thu, 10 Jan 2008 18:04:12 +0000 (UTC) Message-ID: <007f01c853b3$512f39c0$4001a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Date: Thu, 10 Jan 2008 18:04:55 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_007C_01C853B3.4E54C990" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Fw: [PHP-DEV] Extension dependencies in win32 build From: steph@zend.com ("Steph Fox") ------=_NextPart_000_007C_01C853B3.4E54C990 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit Could someone please commit this? I just hit the same issue again. Thanks, - Steph ----- Original Message ----- From: "Steph Fox" To: "internals" Sent: Friday, December 14, 2007 9:40 AM Subject: [PHP-DEV] Extension dependencies in win32 build > Hi all, > > Having spent a few hours tussling with the load-order bogey, I found what > I > think is a bit of a gap in the win32 build process. > > There are no configure warnings at all when there's a missing extension > dependency... only a bailout if you try to build a dependency as shared > for > a static extension. The need to bail out would depend on how full-on the > 'dependency' in question is, and I'd guess that can be variable. > > Trivial patch attached, would've saved me a lot of brain-ache if it had > been > in CVS yesterday but see what you think. > > - Steph > -------------------------------------------------------------------------------- > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php ------=_NextPart_000_007C_01C853B3.4E54C990 Content-Type: text/plain; format=flowed; name="win32_dependencies.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="win32_dependencies.txt" Index: win32/build/confutils.js=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /repository/php-src/win32/build/confutils.js,v=0A= retrieving revision 1.60.2.1.2.8.2.1=0A= diff -u -r1.60.2.1.2.8.2.1 confutils.js=0A= --- win32/build/confutils.js 14 Nov 2007 19:38:57 -0000 1.60.2.1.2.8.2.1=0A= +++ win32/build/confutils.js 14 Dec 2007 09:22:54 -0000=0A= @@ -1009,7 +1009,15 @@=0A= ADD_FLAG("LDFLAGS_" + EXT, "/libpath:$(BUILD_DIR)");=0A= ADD_FLAG("LIBS_" + EXT, "php_" + dependson + ".lib");=0A= ADD_FLAG("DEPS_" + EXT, "$(BUILD_DIR)\\php_" + dependson + ".lib");=0A= - }=0A= + } else {=0A= + if (dep_present =3D=3D "no") {=0A= + if (ext_shared) {=0A= + WARNING(extname + " has a missing dependency: " + dependson);=0A= + } else {=0A= + ERROR("Cannot build " + extname + "; " + dependson + " not = enabled");=0A= + }=0A= + }=0A= + } // dependency is statically built-in to PHP=0A= }=0A= =0A= function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir)=0A= ------=_NextPart_000_007C_01C853B3.4E54C990--