php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27638 "nmake clean" doesn't remove all object code
Submitted: 2004-03-18 14:40 UTC Modified: 2004-05-18 23:08 UTC
From: msisolak at yahoo dot com Assigned: wez (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.0.0RC1 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: msisolak at yahoo dot com
New email:
PHP Version: OS:

 

 [2004-03-18 14:40 UTC] msisolak at yahoo dot com
Description:
------------
Aftering running a Windows 2000 build with "nmake" (configured with "cscript //nologo configure.js --with-extra-includes=..\openssl-0.9.7c\include;..\iconv-1.9.1\include;..\libxml2-2.6.6\include;..\freetype-2.1.7-1\include;..\libjpeg-6b-1\include;..\libpng-1.2.5\include --with-extra-libs=..\openssl-0.9.7c\lib;..\iconv-1.9.1\lib;..\libxml2-2.6.6\lib;..\freetype-2.1.7-1\lib;..\libjpeg-6b-1\lib;..\libpng-1.2.5\lib --without-libxml --without-simplexml --without-xml --without-dom --without-wddx --without-iconv --with-gd=shared --with-sqlite=shared --with-mssql --with-openssl --enable-isapi"), I ran "nmake clean".

While it did remove the files in the root Release_TS directory, it didn't remove any of the compiled object files in the Release_TS\ext\*, Release_TS\Zend, Release_TS\win32, Release_TS\sapi\*, Release_TS\main, Release_TS\regex, or Release_TS\TSRM directories.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-18 22:35 UTC] blake at mediafence dot com
clean: clean-sapi
	@echo Cleaning build dirs
	@for %D in (_x $(BUILD_DIRS_SUB)) do @if exist @del /F /Q %D\*.* > NUL
	-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING).zip > NUL
	-rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING) 


Probably should be:

clean: clean-sapi
	@echo Cleaning build dirs
	@for %D in (_x $(BUILD_DIRS_SUB)) do @if exist @del /F /Q %D\*.* > NUL
	-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING).zip > NUL
	-rmdir /s /q $(BUILD_DIR)\
 [2004-05-18 23:08 UTC] wez@php.net
No, that would remove files put there by the developers during testing.

This bug has been fixed correctly now in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC