Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37278 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54661 invoked from network); 28 Apr 2008 23:32:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2008 23:32:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=wietse@porcupine.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=wietse@porcupine.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain porcupine.org from 168.100.189.2 cause and error) X-PHP-List-Original-Sender: wietse@porcupine.org X-Host-Fingerprint: 168.100.189.2 spike.porcupine.org FreeBSD 2.0-4.2 Received: from [168.100.189.2] ([168.100.189.2:4195] helo=spike.porcupine.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/62-39844-27E56184 for ; Mon, 28 Apr 2008 19:32:04 -0400 Received: by spike.porcupine.org (Postfix, from userid 1001) id 2AF841F3E9C; Mon, 28 Apr 2008 19:32:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porcupine.org; s=dktest; t=1209425520; bh=pvBN+CX9hufTtPXFQYHD28A7HYBs3E5v+fMraYiY 3CA=; h=Subject:In-Reply-To:To:Date:X-Time-Zone:X-Mailer: MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id: From; b=f3NDi8RXi6zQ0hKZC1zFDes3ekntG2Y0AgJa3sqRqSIcsWEUe4yd1uMHRw Ksw/DVpDA+D3d7kMeQqVFCGJRfXO/x1Zotjycw9FZp5g2p8aOc0a6qpmpYTVi9XSsb+ e7GTqILAcCoJm/+U35jdFF6f8YCf5kD+vsLOlY/PdEeIHI= In-Reply-To: <10845a340804280251q48701c42qe02808a71044c04d@mail.gmail.com> "from Richard Quadling at Apr 28, 2008 10:51:49 am" To: internals@lists.php.net Date: Mon, 28 Apr 2008 19:32:00 -0400 (EDT) X-Time-Zone: USA EST, 6 hours behind central European time X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-ID: <20080428233200.2AF841F3E9C@spike.porcupine.org> Subject: Re: [PHP-DEV] Is there a difference in (n)make between windows and unix. From: wietse@porcupine.org ((Wietse Venema)) References: <10845a340804280251q48701c42qe02808a71044c04d@mail.gmail.com> Richard Quadling: > Hi. > > I'm new to compiling PHP on windows, so this may be a real newbie question. > > My expectation of make-like tools is that they describe the how to > create targets from sources (in a nutshell). > > So, just for example, TSRM/readdir.h. I would expect that if I altered > this file and then ran my make program (nmake for me on Windows with > MS VC++ 2008 Express Edition), then TSRM would be built and all > binaries re-linked that use this (again, in a nutshell). > > What is happening is that the makefile has no knowledge of this header > file, so it can't be used to make anything. > > Is this expected behaviour? Please don't focus on just TSRM/readdir.h > as this was one file I picked at random (as I had edited it recently). > > Should editing ANY source level file (.h, .c type files) result in a make? > > Or is it just .c files? This is a bug in PHP Makefiles. You can use the depend.php script that ships with my taint-for-PHP code. http://wiki.php.net/rfc/taint. To apply (on *n*x systems): $ cd $PHP_SOURCE $ php depend.php >Makefile.fixed $ make -f Makefile.fixed It's a bit ugly, because it originally not written in PHP. Wietse #!/some/where/php > 8)); ?>