[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

1.5 Branch build errors (vc6-build.bat)

From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Mon, 25 Feb 2008 15:39:51 +0000

I'm trying to build a server, Apache and everything using vc6-build-bat.
  It tells me
"Please copy zlib\static32\zlibstat.lib to zlib\zlibstat.lib" but my
zlib tree has no such file in it.

Also see the attached patch:
1) Corrects a label name to match the goto
2) Use setlocal / endlocal to limit the environment changes to the
duration of the script - without this PATH gets longer each time the
batch is run until after a few goes it becomes too big for the command
shell's maximum command size.

Index: build/win32/vc6-build.bat.in
===================================================================
--- build/win32/vc6-build.bat.in (revision 29581)
+++ build/win32/vc6-build.bat.in (working copy)
@@ -1,5 +1,8 @@
 @echo off
 
+rem ====== Environment change lives only for the duration of the script
+setlocal
+
 rem ====== Set these shell variables before doing a build.
 rem VER is used to name the output bin dir as svn-win32-%VER%
 set VER=trunk
@@ -59,7 +62,7 @@
 :zliberr
 echo Unable to find zlib
 goto end
-:zliberrstat
+:zlibstaterr
 echo Please copy zlib\static32\zlibstat.lib to zlib\zlibstat.lib
 goto end
 :bdberr
@@ -155,5 +158,5 @@
 
 :end
 cd src-%DIR%
+endlocal
 :theveryend
-

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-25 16:40:38 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.