Problem Building TortoiseSVN From Source

10 views
Skip to first unread message

Tyler Kavanaugh

unread,
Nov 22, 2009, 8:10:38 PM11/22/09
to us...@tortoisesvn.tigris.org
I'm having a problem building TortoiseSVN from source.  I followed the instructions in build.txt provided with the source checkout, but whenever I try to run
c:\svn\TortoiseSvn\>NAnt
, I get a "Build failed" error, saying something to the effect that a property called "SDKInstallRoot" is not defined.  I'm attaching the log file I created using
c:\svn\tortoiseSvn\>NAnt -debug > c:\log.txt 2>&1
.  This happens even after running vsvars32.bat.  I have the Microsoft Windows SDK (both versions 6.0 and 7.0), along with VS2008 Pro, running Windows XP X86.
 
Any help would be greatly appreciated.
 
Tyler
log.txt

SVram

unread,
Nov 23, 2009, 4:01:52 AM11/23/09
to us...@tortoisesvn.tigris.org
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423147
>
> To unsubscribe from this discussion, e-mail:
> [users-un...@tortoisesvn.tigris.org].
> NAnt 0.86 (Build 0.86.2898.0; beta1; 08-Dec-07)
> Copyright (C) 2001-2007 Gerry Shaw
> http://nant.sourceforge.net
>
> [loadtasks] Scanning directory
> "C:\svn\TortoiseSvn\extensions\common\neutral" for extension assemblies.
> [loadtasks] Scanning assembly "NAnt.CompressionTasks" for extensions.
> [loadtasks] Creating TaskBuilder for GUnzip
> [loadtasks] Adding task 'gunzip' from
> c:\NANT\bin\NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.GUnzip
> [loadtasks] Creating TaskBuilder for TarTask
> [loadtasks] Adding task 'tar' from
> c:\NANT\bin\NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.TarTask
> [loadtasks] Creating TaskBuilder for UnZipTask
> [loadtasks] Adding task 'unzip' from
> c:\NANT\bin\NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.UnZipTask
> [loadtasks] Creating TaskBuilder for ZipTask
> [loadtasks] Adding task 'zip' from
> c:\NANT\bin\NAnt.CompressionTasks.dll:NAnt.Compression.Tasks.ZipTask
> [loadtasks] Scanning assembly "NAnt.DotNetTasks" for extensions.
> [loadtasks] Creating TaskBuilder for AssemblyInfoTask
> [loadtasks] Adding task 'asminfo' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.AssemblyInfoTask
> [loadtasks] Creating TaskBuilder for AssemblyLinkerTask
> [loadtasks] Adding task 'al' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.AssemblyLinkerTask
> [loadtasks] Creating TaskBuilder for CscTask
> [loadtasks] Adding task 'csc' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.CscTask
> [loadtasks] Creating TaskBuilder for DelaySignTask
> [loadtasks] Adding task 'delay-sign' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.DelaySignTask
> [loadtasks] Creating TaskBuilder for IlasmTask
> [loadtasks] Adding task 'ilasm' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.IlasmTask
> [loadtasks] Creating TaskBuilder for JscTask
> [loadtasks] Adding task 'jsc' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.JscTask
> [loadtasks] Creating TaskBuilder for LicenseTask
> [loadtasks] Adding task 'license' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.LicenseTask
> [loadtasks] Creating TaskBuilder for NDocTask
> [loadtasks] Adding task 'ndoc' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.NDocTask
> [loadtasks] Creating TaskBuilder for RegsvcsTask
> [loadtasks] Adding task 'regsvcs' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.RegsvcsTask
> [loadtasks] Creating TaskBuilder for ResGenTask
> [loadtasks] Adding task 'resgen' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.ResGenTask
> [loadtasks] Creating TaskBuilder for ScriptTask
> [loadtasks] Adding task 'script' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.ScriptTask
> [loadtasks] Creating TaskBuilder for VbcTask
> [loadtasks] Adding task 'vbc' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.VbcTask
> [loadtasks] Creating TaskBuilder for VjcTask
> [loadtasks] Adding task 'vjc' from
> c:\NANT\bin\NAnt.DotNetTasks.dll:NAnt.DotNet.Tasks.VjcTask
> [loadtasks] Scanning assembly "NAnt.NUnit1Tasks" for extensions.
> [loadtasks] Creating TaskBuilder for NUnitTask
> [loadtasks] Adding task 'nunit' from
> c:\NANT\bin\NAnt.NUnit1Tasks.dll:NAnt.NUnit1.Tasks.NUnitTask
> [loadtasks] Scanning assembly "NAnt.NUnit2Tasks" for extensions.
> [loadtasks] Creating TaskBuilder for NUnit2Task
> [loadtasks] Adding task 'nunit2' from
> c:\NANT\bin\NAnt.NUnit2Tasks.dll:NAnt.NUnit2.Tasks.NUnit2Task
> [loadtasks] Scanning assembly "NAnt.SourceControlTasks" for extensions.
> [loadtasks] Creating TaskBuilder for ChangeLogTask
> [loadtasks] Adding task 'cvs-changelog' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.ChangeLogTask
> [loadtasks] Creating TaskBuilder for CheckoutTask
> [loadtasks] Adding task 'cvs-checkout' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.CheckoutTask
> [loadtasks] Creating TaskBuilder for CvsPass
> [loadtasks] Adding task 'cvs-pass' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.CvsPass
> [loadtasks] Creating TaskBuilder for CvsTask
> [loadtasks] Adding task 'cvs' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.CvsTask
> [loadtasks] Creating TaskBuilder for ExportTask
> [loadtasks] Adding task 'cvs-export' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.ExportTask
> [loadtasks] Creating TaskBuilder for RTagTask
> [loadtasks] Adding task 'cvs-rtag' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.RTagTask
> [loadtasks] Creating TaskBuilder for TagTask
> [loadtasks] Adding task 'cvs-tag' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.TagTask
> [loadtasks] Creating TaskBuilder for UpdateTask
> [loadtasks] Adding task 'cvs-update' from
> c:\NANT\bin\NAnt.SourceControlTasks.dll:NAnt.SourceControl.Tasks.UpdateTask
> [loadtasks] Scanning assembly "NAnt.VisualCppTasks" for extensions.
> [loadtasks] Creating TaskBuilder for ClTask
> [loadtasks] Adding task 'cl' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.ClTask
> [loadtasks] Creating TaskBuilder for LibTask
> [loadtasks] Adding task 'lib' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.LibTask
> [loadtasks] Creating TaskBuilder for LinkTask
> [loadtasks] Adding task 'link' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.LinkTask
> [loadtasks] Creating TaskBuilder for McTask
> [loadtasks] Adding task 'mc' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.McTask
> [loadtasks] Creating TaskBuilder for MidlTask
> [loadtasks] Adding task 'midl' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.MidlTask
> [loadtasks] Creating TaskBuilder for RcTask
> [loadtasks] Adding task 'rc' from
> c:\NANT\bin\NAnt.VisualCppTasks.dll:NAnt.VisualCpp.Tasks.RcTask
> [loadtasks] Scanning assembly "NAnt.VSNetTasks" for extensions.
> [loadtasks] Creating TaskBuilder for SolutionTask
> [loadtasks] Adding task 'solution' from
> c:\NANT\bin\NAnt.VSNetTasks.dll:NAnt.VSNet.Tasks.SolutionTask
> [loadtasks] Scanning assembly "NAnt.Win32Tasks" for extensions.
> [loadtasks] Creating TaskBuilder for AxImpTask
> [loadtasks] Adding task 'aximp' from
> c:\NANT\bin\NAnt.Win32Tasks.dll:NAnt.Win32.Tasks.AxImpTask
> [loadtasks] Creating TaskBuilder for ReadRegistryTask
> [loadtasks] Adding task 'readregistry' from
> c:\NANT\bin\NAnt.Win32Tasks.dll:NAnt.Win32.Tasks.ReadRegistryTask
> [loadtasks] Creating TaskBuilder for RegAsmTask
> [loadtasks] Adding task 'regasm' from
> c:\NANT\bin\NAnt.Win32Tasks.dll:NAnt.Win32.Tasks.RegAsmTask
> [loadtasks] Creating TaskBuilder for TlbExpTask
> [loadtasks] Adding task 'tlbexp' from
> c:\NANT\bin\NAnt.Win32Tasks.dll:NAnt.Win32.Tasks.TlbExpTask
> [loadtasks] Creating TaskBuilder for TlbImpTask
> [loadtasks] Adding task 'tlbimp' from
> c:\NANT\bin\NAnt.Win32Tasks.dll:NAnt.Win32.Tasks.TlbImpTask
> [loadtasks] Scanning assembly "NAnt.Core" for extensions.
> [loadtasks] Creating FilterBuilder for "ExpandProperties".
> [loadtasks] Adding filter "expandproperties" from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Filters.ExpandProperties.
> [loadtasks] Creating FilterBuilder for "ReplaceString".
> [loadtasks] Adding filter "replacestring" from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Filters.ReplaceString.
> [loadtasks] Creating FilterBuilder for "ReplaceTokens".
> [loadtasks] Adding filter "replacetokens" from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Filters.ReplaceTokens.
> [loadtasks] Creating FilterBuilder for "TabsToSpaces".
> [loadtasks] Adding filter "tabstospaces" from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Filters.TabsToSpaces.
> [loadtasks] Creating TaskBuilder for AttribTask
> [loadtasks] Adding task 'attrib' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.AttribTask
> [loadtasks] Creating TaskBuilder for AvailableTask
> [loadtasks] Adding task 'available' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.AvailableTask
> [loadtasks] Creating TaskBuilder for CallTask
> [loadtasks] Adding task 'call' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.CallTask
> [loadtasks] Creating TaskBuilder for CopyTask
> [loadtasks] Adding task 'copy' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.CopyTask
> [loadtasks] Creating TaskBuilder for DeleteTask
> [loadtasks] Adding task 'delete' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.DeleteTask
> [loadtasks] Creating TaskBuilder for DescriptionTask
> [loadtasks] Adding task 'description' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.DescriptionTask
> [loadtasks] Creating TaskBuilder for EchoTask
> [loadtasks] Adding task 'echo' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.EchoTask
> [loadtasks] Creating TaskBuilder for ExecTask
> [loadtasks] Adding task 'exec' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.ExecTask
> [loadtasks] Creating TaskBuilder for FailTask
> [loadtasks] Adding task 'fail' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.FailTask
> [loadtasks] Creating TaskBuilder for GetTask
> [loadtasks] Adding task 'get' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.GetTask
> [loadtasks] Creating TaskBuilder for IfTask
> [loadtasks] Adding task 'if' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.IfTask
> [loadtasks] Creating TaskBuilder for IfNotTask
> [loadtasks] Adding task 'ifnot' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.IfNotTask
> [loadtasks] Creating TaskBuilder for IncludeTask
> [loadtasks] Adding task 'include' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.IncludeTask
> [loadtasks] Creating TaskBuilder for LoadFileTask
> [loadtasks] Adding task 'loadfile' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.LoadFileTask
> [loadtasks] Creating TaskBuilder for LoadTasksTask
> [loadtasks] Adding task 'loadtasks' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.LoadTasksTask
> [loadtasks] Creating TaskBuilder for LoopTask
> [loadtasks] Adding task 'foreach' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.LoopTask
> [loadtasks] Creating TaskBuilder for MailTask
> [loadtasks] Adding task 'mail' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.MailTask
> [loadtasks] Creating TaskBuilder for MkDirTask
> [loadtasks] Adding task 'mkdir' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.MkDirTask
> [loadtasks] Creating TaskBuilder for MoveTask
> [loadtasks] Adding task 'move' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.MoveTask
> [loadtasks] Creating TaskBuilder for NAntSchemaTask
> [loadtasks] Adding task 'nantschema' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.NAntSchemaTask
> [loadtasks] Creating TaskBuilder for NAntTask
> [loadtasks] Adding task 'nant' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.NAntTask
> [loadtasks] Creating TaskBuilder for PropertyTask
> [loadtasks] Adding task 'property' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.PropertyTask
> [loadtasks] Creating TaskBuilder for RegexTask
> [loadtasks] Adding task 'regex' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.RegexTask
> [loadtasks] Creating TaskBuilder for SetEnvTask
> [loadtasks] Adding task 'setenv' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.SetEnvTask
> [loadtasks] Creating TaskBuilder for SleepTask
> [loadtasks] Adding task 'sleep' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.SleepTask
> [loadtasks] Creating TaskBuilder for StyleTask
> [loadtasks] Adding task 'style' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.StyleTask
> [loadtasks] Creating TaskBuilder for SysInfoTask
> [loadtasks] Adding task 'sysinfo' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.SysInfoTask
> [loadtasks] Creating TaskBuilder for TStampTask
> [loadtasks] Adding task 'tstamp' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.TStampTask
> [loadtasks] Creating TaskBuilder for TouchTask
> [loadtasks] Adding task 'touch' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.TouchTask
> [loadtasks] Creating TaskBuilder for UpToDateTask
> [loadtasks] Adding task 'uptodate' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.UpToDateTask
> [loadtasks] Creating TaskBuilder for XmlPeekTask
> [loadtasks] Adding task 'xmlpeek' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.XmlPeekTask
> [loadtasks] Creating TaskBuilder for XmlPokeTask
> [loadtasks] Adding task 'xmlpoke' from
> c:\NANT\bin\NAnt.Core.dll:NAnt.Core.Tasks.XmlPokeTask
>
> BUILD FAILED
>
> Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target
> framework.
>
> Property evaluation failed.
> Expression: ${path::combine(sdkInstallRoot, 'bin')}
> ^^^^^^^^^^^^^^
>
> Property 'sdkInstallRoot' has not been set.
>
> Stacktrace:
>
> Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target
> framework.:
> NAnt.Core.BuildException: Failed to initialize the 'Microsoft .NET
> Framework 2.0' (net-2.0) target framework. ---> Property evaluation
> failed.
> Expression: ${path::combine(sdkInstallRoot, 'bin')}
> ^^^^^^^^^^^^^^:
> NAnt.Core.BuildException: Property evaluation failed.
> Expression: ${path::combine(sdkInstallRoot, 'bin')}
> ^^^^^^^^^^^^^^ ---> Property 'sdkInstallRoot'
> has not been set.:
> NAnt.Core.BuildException: Property 'sdkInstallRoot' has not been set.
> at NAnt.Core.ExpressionEvaluator.GetPropertyValue(String propertyName)
> at NAnt.Core.ExpressionEvaluator.EvaluateProperty(String propertyName)
> at NAnt.Core.ExpressionEvalBase.ParseValue()
> --- End of inner exception stack trace ---
> at NAnt.Core.PropertyDictionary.EvaluateEmbeddedExpressions(String
> input, Location location, Hashtable state, Stack visiting)
> at NAnt.Core.PropertyDictionary.ExpandProperties(String input, Location
> location)
> at NAnt.Core.Project.ExpandProperties(String input, Location location)
> at NAnt.Core.FrameworkInfo.PerformInit()
> at NAnt.Core.FrameworkInfo.Init()
> --- End of inner exception stack trace ---
> at NAnt.Core.FrameworkInfo.Init()
> at NAnt.Core.FrameworkInfo.Validate()
> at NAnt.Core.ProjectSettingsLoader.ConfigureRuntimeFramework()
> at NAnt.Core.ProjectSettingsLoader.ProcessPlatform(XmlNode
> platformNode)
> at NAnt.Core.ProjectSettingsLoader.ProcessSettings()
> at NAnt.Core.Project.CtorHelper(XmlDocument doc, Level threshold, Int32
> indentLevel, Optimizations optimization)
> at NAnt.Core.Project..ctor(String uriOrFilePath, Level threshold, Int32
> indentLevel)
> at NAnt.Core.ConsoleDriver.Main(String[] args)
>
> Try 'nant -help' for more information
>
>


Hello
It seems that there is some problem with environmental variables and
path setting problem in "path","include" and "lib". Did you set the
environment path variable to *microsoft sdk/bin* and if yes we also have to
define a new variable called "VCINSTALLDIR"

Thanks & Regards,
Ram

--
View this message in context: http://old.nabble.com/Problem-Building-TortoiseSVN-From-Source-tp26473324p26474579.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423247

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Tyler Kavanaugh

unread,
Nov 23, 2009, 7:34:22 PM11/23/09
to us...@tortoisesvn.tigris.org
Isn't that the point of running %VS90Comtools%\vsvars32.bat?

> Thanks & Regards,
> Ram
>
> --
> View this message in context: http://old.nabble.com/Problem-Building-TortoiseSVN-From-Source-tp26473324p26474579.html
> Sent from the tortoisesvn - users mailing list archive at Nabble.com.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423632

SVram

unread,
Nov 24, 2009, 3:11:09 AM11/24/09
to us...@tortoisesvn.tigris.org
Tyler-49 wrote:
>
>
>>Isn't that the point of running %VS90Comtools%\vsvars32.bat?
>> Thanks & Regards,
>> Ram
>>
>
Hello
Sorry It is not related to vcinstalldir hope u must hav ran the
vsvars32.bat so it is all ok with that. It is a problem related to nant
which could not find sdk. The direct fix for this goes here.

http://blog.donnfelker.com/post/NAnt-SdkInstallRoot-has-not-been-set.aspx

You can also try installing .net 2.0 SDK which will also helps in resolving
this issue.

Thanks & Regards,
Ram
--

View this message in context: http://old.nabble.com/Problem-Building-TortoiseSVN-From-Source-tp26473324p26491973.html


Sent from the tortoisesvn - users mailing list archive at Nabble.com.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2423709

Reply all
Reply to author
Forward
0 new messages