Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4339 invoked by uid 1010); 30 Jan 2004 14:58:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4304 invoked from network); 30 Jan 2004 14:58:17 -0000 Received: from unknown (HELO mwinf0901.wanadoo.fr) (193.252.22.22) by pb1.pair.com with SMTP; 30 Jan 2004 14:58:17 -0000 Received: from legolas.laposte.net (AMontsouris-108-1-21-97.w80-13.abo.wanadoo.fr [80.13.55.97]) by mwinf0901.wanadoo.fr (SMTP Server) with ESMTP id AE0231800166 for ; Fri, 30 Jan 2004 15:58:14 +0100 (CET) Message-ID: <6.0.1.1.0.20040130151947.01aeacc0@pop.laposte.net> X-Sender: e.colinet@pop.laposte.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Fri, 30 Jan 2004 15:56:24 +0100 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: win32 build system: nmake clean fail From: e.colinet@laposte.net (Eric Colinet) Hi, currently playing around with the win32 build system, and I found that nmake clean doesn't work (in fact nmake clean-sapi). From Makefile: clean-sapi: @echo Cleaning SAPI @for %D in ($(EXT_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @for %D in ($(PECL_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @for %D in ($(SAPI_TARGETS)) do @del /F /Q $(BUILD_DIR)\%D > NUL @del /F /Q $(BUILD_DIR)\$(PHPDLL) It fail for EXT_TARGETS and PECL_TARGETS (they are not defined in the Makefile). Commenting this lines solves my problem. My configure line was: cscript /nologo configure.js And error log is: D:\LOCAL\cvs\php\php-src>nmake clean Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Cleaning SAPI NMAKE : fatal error U1077: 'for' : return code '0x77f988f0' Stop. Regards, Eric