Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14527 invoked from network); 30 Aug 2008 18:05:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2008 18:05:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 208.83.222.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:59904] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/BA-27196-DFB89B84 for ; Sat, 30 Aug 2008 14:05:50 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id D885CC0D856; Sat, 30 Aug 2008 11:05:15 -0700 (MST) Received: from Greg-Beavers-monster.local (CPE-76-84-4-101.neb.res.rr.com [76.84.4.101]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 112FBC0D855; Sat, 30 Aug 2008 11:05:14 -0700 (MST) Message-ID: <48B98BF9.90503@chiaraquartet.net> Date: Sat, 30 Aug 2008 13:05:45 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Pierre Joye CC: internals@lists.php.net, =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Lukas Kahwe Smith References: <48B955FD.804@chiaraquartet.net> <48B9781E.60502@chiaraquartet.net> <48B989B5.7030708@chiaraquartet.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] phar in win32 snapshots From: greg@chiaraquartet.net (Greg Beaver) Pierre Joye wrote: > On Sat, Aug 30, 2008 at 7:56 PM, Greg Beaver wrote: > > >> Right, my point is that this: >> >> configure --enable-debug-pack >> >> builds phar in statically, just as zlib is built statically. Perhaps >> the --enable-snapshot-build could be fixed to match this behavior? >> > > That's my point yes. The change has been introduced with the extension > dependency patch from Steph. I don't have the time to dig in now and > I'm not willing to change this part before alpha2 but there is an easy > fix (see below). > > >> It >> makes it hard to design config.w32 for multiple branches if it behaves >> differently with different unrelated config options. >> > > You can simply change the EXTENSION call to: > > EXTENSION("phar", "dirstream.c func_interceptors.c phar.c > phar_object.c phar_path_check.c stream.c tar.c util.c zip.c", false); > > and the problem will be gone. The false set the "shared" argument to > false (problem is that PHP_XYZ_SHARED is set to NULL now or smtg > similar). I will have time after alpha2 to dig into this problem and > apply a fix. OK, Johannes/Lukas, any objection to me changing the phar config.w32 for alpha2, and reverting when the core issue in the build is fixed? This is a pretty minor issue that only affects people making release builds. Greg