Win32 snapshot build failing.

php.internals

Richard Quadling

20 years ago
Hi. Line 2493+ of http://snaps.php.net/win32/snapshot-5.2.log cd Release_TS\php-5.2.0RC4 NMAKE : fatal error U1077: 'cd' : return code '0x1' Stop. Odd thing is that the win32/build/makedist.php copies the files to the folder correctly. There are a few blank filenames attempting to be copied in makedist.php, but nothing critical. (Patch to tidy this : http://rquadling.php1h.com/makedist.php.patch.diff.txt) Index: mkdist.php =================================================================== RCS file: /repository/php-src/win32/build/mkdist.php,v retrieving revision 1.13 diff -u -u -r1.13 mkdist.php --- mkdist.php 26 Mar 2005 21:32:20 -0000 1.13 +++ mkdist.php 1 Sep 2006 08:02:37 -0000 @@ -111,16 +111,18 @@ global $is_debug, $dist_dir; foreach ($list as $item) { - echo "Copying $item from $source_dir to $dest_dir\n"; - copy($source_dir . DIRECTORY_SEPARATOR . $item, $dest_dir . DIRECTORY_SEPARATOR . $item); - if ($is_debug) { - $itemdb = preg_replace("/\.(exe|dll|lib)$/i", ".pdb", $item); - if (file_exists("$source_dir/$itemdb")) { - copy("$source_dir/$itemdb", "$dist_dir/dev/$itemdb"); + if ('' != trim($item)) { + echo "Copying $item from $source_dir to $dest_dir\n"; + copy($source_dir . DIRECTORY_SEPARATOR . $item, $dest_dir . DIRECTORY_SEPARATOR . $item); + if ($is_debug) { + $itemdb = preg_replace("/\.(exe|dll|lib)$/i", ".pdb", $item); + if (file_exists("$source_dir/$itemdb")) { + copy("$source_dir/$itemdb", "$dist_dir/dev/$itemdb"); + } + } + if (preg_match("/\.(exe|dll)$/i", $item)) { + get_depends($source_dir . '/' . $item); } - } - if (preg_match("/\.(exe|dll)$/i", $item)) { - get_depends($source_dir . '/' . $item); } } }
-- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"