Build Failed while Building Tortoise svn in windows xp

63 views
Skip to first unread message

SVram

unread,
Nov 11, 2009, 9:55:58 AM11/11/09
to us...@tortoisesvn.tigris.org
I am trying to build tortoise svn and I followed everything as said in build
doc. And after all installation and path setting I tried "nant setup" It
produced a vague error while building TortoiseSVN. build file The error is

devnenv.com is missing.

I tried downloading devenv.exe but i could not make the build pass. Pls let
me knw if thers any clue.
--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26302579.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.

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

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

Stefan Küng

unread,
Nov 11, 2009, 12:46:44 PM11/11/09
to us...@tortoisesvn.tigris.org
SVram wrote:
> I am trying to build tortoise svn and I followed everything as said in build
> doc. And after all installation and path setting I tried "nant setup" It
> produced a vague error while building TortoiseSVN. build file The error is
>
> devnenv.com is missing.

devenv.com is the visual studio app.
You need to have Visual Studio installed.

If you're using VCExpress, you have to set the line
<property name="buildtool" value="vcexpress.exe" />
in your default.build.user file.
And with VCExpress, you can't build TSVN completely, only a few tools
and the svn libraries. But not TortoiseProc, TortoiseMerge, TSVNCache,
TortoiseShell.
And of course the 'setup' target won't work either because that will try
to build everything.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

SVram

unread,
Nov 12, 2009, 12:21:38 AM11/12/09
to us...@tortoisesvn.tigris.org
Stefan Küng wrote:
>
> SVram wrote:
>> I am trying to build tortoise svn and I followed everything as said in
>> build
>> doc. And after all installation and path setting I tried "nant setup" It
>> produced a vague error while building TortoiseSVN. build file The error
>> is
>>
>> devnenv.com is missing.
>
> devenv.com is the visual studio app.
> You need to have Visual Studio installed.
>
> If you're using VCExpress, you have to set the line
> <property name="buildtool" value="vcexpress.exe" />
> in your default.build.user file.
> And with VCExpress, you can't build TSVN completely, only a few tools
> and the svn libraries. But not TortoiseProc, TortoiseMerge, TSVNCache,
> TortoiseShell.
> And of course the 'setup' target won't work either because that will try
> to build everything.
>
> Stefan
>
>


Well stefan. Thanks for your suggestion. Actually I am trying to upgrade the
revision graph feature of tortoiseSVN(which is the most relevant feature) .

Just a small try in adding Merge Lines in the same revision graph. Like
Including the "Merge info" along with the already shown. If you have prior
experience on this please share a word.


--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26313634.html


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

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

SVram

unread,
Nov 12, 2009, 9:17:31 AM11/12/09
to us...@tortoisesvn.tigris.org

I have installed visual studio 2005 and after setting the path and changing
the default.build.user i just ran

nant setup

Build failed while linking svnserve by showing the following error.


[link] Linking 5 files.
[link] libsvn_subr.lib(inftrees.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(crc32.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(trees.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(inflate.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(deflate.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(zutil.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR
[link] libsvn_subr.lib(inffast.obj) : error
LNK2001: unresolved external symbol __forceCRTManifestCUR

[link] H:\SVN\tortoisesvn\ext\subversion\release_win32\svnserve.exe : fatal
error LNK1120: 1 unresolved externals

It will be gud if someone over here say Where might be the mistake is.
Am I missing any path setting ?? or any problem with my VS installation.
--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26319444.html


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

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

Stefan Küng

unread,
Nov 12, 2009, 12:58:47 PM11/12/09
to us...@tortoisesvn.tigris.org
SVram wrote:

> I have installed visual studio 2005 and after setting the path and changing
> the default.build.user i just ran

You need VS2008 with SP1. VS2005 is not enough.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

SVram

unread,
Nov 23, 2009, 12:36:10 AM11/23/09
to us...@tortoisesvn.tigris.org
As said installed VS2008 and now everything is in good position. Ran the nant
setup and it went on for nearly 8 hours in my system (p4 1gigs ram) Finally
it threw an error in the final part of the script like as follows .


[exec] Nov 20, 2009 11:53:24 PM org.apache.fop.cli.Main startFOP
[exec] SEVERE: Exception
[exec] org.apache.fop.apps.FOPException: Failed to resolve
font with embed-url 'C:/WINDOWS/FONTS\simhei.ttf'
[exec] at
org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.getFontInfoFromConfiguration(PrintRendererConfigurator.java:275)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.buildFontListFromConfiguration(PrintRendererConfigurator.java:207)
[exec] at
org.apache.fop.render.PrintRendererConfigurator.configure(PrintRendererConfigurator.java:95)
[exec] at
org.apache.fop.render.pdf.PDFRendererConfigurator.configure(PDFRendererConfigurator.java:71)
[exec] at
org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:187)
[exec] at
org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:68)
[exec] at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:127)
[exec] at
org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)
[exec] at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
[exec] at
org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:100)
[exec] at
org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100)
[exec] at org.apache.fop.apps.Fop.<init>(Fop.java:78)
[exec] at
org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247)
[exec] at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:104)
[exec] at org.apache.fop.cli.Main.startFOP(Main.java:166)
[exec] at org.apache.fop.cli.Main.main(Main.java:197)
[call] H:\SVN\tortoisesvn\doc\doc.build(432,5):
[call] External Program Failed:
H:\SVN\tortoisesvn\Tools\fop\fop.bat (return code was 1)

BUILD SUCCEEDED - 3 non-fatal error(s), 6951 warning(s)

Total time: 23368.9 seconds.

LanguagePacks:

[nant] H:\SVN\tortoisesvn\Languages\LanguagePack.build all
Buildfile:
file:///H:/SVN/tortoisesvn/Languages/LanguagePack.build
Target framework: Microsoft .NET Framework 3.5
Target(s) specified: all


clean:


all:


createecho2:


BUILD FAILED

H:\SVN\tortoisesvn\Languages\LanguagePack.build(40,4):
Compilation failed:
c:\Documents and Settings\svram\Local
Settings\Temp\5zcspbco.0.cs(20,14) : error CS0234: The type or namespace
name 'Xml' does not exist in the namespace 'System' (are you missing an
assembly reference?)
c:\Documents and Settings\svram\Local
Settings\Temp\5zcspbco.0.cs(192,46) : error CS0246: The type or namespace
name 'XmlNode' could not be found (are you missing a using directive or an
assembly reference?)

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and
will be lost if
// the code is regenerated.
// </auto-generated>

//------------------------------------------------------------------------------

using NAnt.Core;
using NAnt.Core.Attributes;
using NAnt.Core.Tasks;
using NAnt.Core.Util;
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml;



[FunctionSet("tsvn", "tsvn")]
public class nanta8ffab6f5b504284ad10ff98103e64db :
NAnt.Core.FunctionSetBase {


/* Based on EchoTask.cs NAnt 0.85-rc4 */
/* Includes support for different Encoding, if none is set,
it uses ANSI (Default) */

[TaskName("echo2")]
public class Echo2Task : Task
{
#region Private Instance Fields

private string _message;
private string _contents;
private FileInfo _file;
private bool _append = false;
private Level _messageLevel = Level.Info;
private Encoding _encoding;

#endregion Private Instance Fields

#region Public Instance Properties

[TaskAttribute("message")]
public string Message
{
get { return _message; }
set
{
if (!StringUtils.IsNullOrEmpty(value))
{
if (!StringUtils.IsNullOrEmpty(Contents))
{
throw new ValidationException("Inline content and the
message attribute are mutually exclusive in the <echo> task.", Location);
}
else
{
_message = value;
}
}
else
{
_message = null;
}
}
}

public string Contents
{
get { return _contents; }
set
{
if (!StringUtils.IsNullOrEmpty(value))
{
if (!StringUtils.IsNullOrEmpty(Message))
{
throw new ValidationException("Inline content and the
message attribute are mutually exclusive in the <echo> task.", Location);
}
else
{
_contents = value;
}
}
else
{
_contents = null;
}
}
}

[TaskAttribute("file")]
public FileInfo File
{
get { return _file; }
set { _file = value; }
}

[TaskAttribute("append")]
public bool Append
{
get { return _append; }
set { _append = value; }
}

[TaskAttribute("level")]
public Level MessageLevel
{
get { return _messageLevel; }
set
{
if (!Enum.IsDefined(typeof(Level), value))
{
throw new
ArgumentException(string.Format(CultureInfo.InvariantCulture, "An invalid
level {0} was specified.", value));
}
else
{
this._messageLevel = value;
}
}
}

[TaskAttribute("encoding")]
public Encoding Encoding
{
get { return _encoding; }
set { _encoding = value; }
}

#endregion Public Instance Properties

#region Override implementation of Task

protected override void ExecuteTask()
{
if (File != null)
{ // output to file
try
{
// ensure the output directory exists
if (!File.Directory.Exists)
{
File.Directory.Create();
File.Directory.Refresh();
}

// determine character encoding to use
Encoding encoding = (Encoding != null) ? Encoding :
Encoding.Default;
// write the message to the file
using (StreamWriter writer = new
StreamWriter(File.FullName, Append, encoding))
{
if (!StringUtils.IsNullOrEmpty(Message))
{
writer.WriteLine(Message);
}
else if (!StringUtils.IsNullOrEmpty(Contents))
{
writer.WriteLine(Contents);
}
else
{
writer.WriteLine();
}
}
}
catch (Exception ex)
{
throw new
BuildException(string.Format(CultureInfo.InvariantCulture,
"Failed to write message to file '{0}'.",
File.FullName),
Location, ex);
}
}
else
{ // output to build log
if (!StringUtils.IsNullOrEmpty(Message))
{
Log(MessageLevel, Message);
}
else if (!StringUtils.IsNullOrEmpty(Contents))
{
Log(MessageLevel, Contents);
}
else
{
Log(MessageLevel, string.Empty);
}
}
}

protected override void InitializeTask(XmlNode taskNode)
{
Contents = Project.ExpandProperties(taskNode.InnerText,
Location);
}

#endregion Override implementation of Task
}


public
nanta8ffab6f5b504284ad10ff98103e64db(NAnt.Core.Project project,
NAnt.Core.PropertyDictionary propDict) :
base(project, propDict) {
}
}


Total time: 3.1 seconds.

BUILD FAILED

Nested build failed. Refer to build log for exact reason.

Total time: 28410.8 seconds.


I could not get any hits regarding the error. so plz help me to complete the
build.

Thanks,
Ram

--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26473057.html


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

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

Andy Levy

unread,
Nov 23, 2009, 6:33:22 AM11/23/09
to us...@tortoisesvn.tigris.org
On Mon, Nov 23, 2009 at 00:36, SVram <mals...@gmail.com> wrote:
> As said installed VS2008 and now everything is in good position. Ran the nant
> setup and it went on for nearly 8 hours in my system (p4 1gigs ram) Finally
> it threw an error in the final part of the script like as follows .
>
>
>  [exec] Nov 20, 2009 11:53:24 PM org.apache.fop.cli.Main startFOP
>                 [exec] SEVERE: Exception
>                 [exec] org.apache.fop.apps.FOPException: Failed to resolve
> font with embed-url 'C:/WINDOWS/FONTS\simhei.ttf'

Try building without the documentation. FOP is an Apache project for
creating PDFs, and it's telling you that you don't have a font it
needs.

Then keep reading:

> BUILD SUCCEEDED - 3 non-fatal error(s), 6951 warning(s)

Your build did not fail. Just the documentation did.

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

SVram

unread,
Nov 23, 2009, 6:43:50 AM11/23/09
to us...@tortoisesvn.tigris.org
Andy Levy wrote:
>
> On Mon, Nov 23, 2009 at 00:36, SVram <mals...@gmail.com> wrote:
>> As said installed VS2008 and now everything is in good position. Ran the
>> nant
>> setup and it went on for nearly 8 hours in my system (p4 1gigs ram)
>> Finally
>> it threw an error in the final part of the script like as follows .
>>
>>
>>  [exec] Nov 20, 2009 11:53:24 PM org.apache.fop.cli.Main startFOP
>>                 [exec] SEVERE: Exception
>>                 [exec] org.apache.fop.apps.FOPException: Failed to
>> resolve
>> font with embed-url 'C:/WINDOWS/FONTS\simhei.ttf'
>
>>Try building without the documentation. FOP is an Apache project for
>>creating PDFs, and it's telling you that you don't have a font it
>>needs.
>
>>Then keep reading:
>
>> BUILD SUCCEEDED - 3 non-fatal error(s), 6951 warning(s)
>
>>Your build did not fail. Just the documentation did.
>
>

Hello Andy,

Actually I posted the error wrongly. Just now I saw that
and edited my entry. Actually the problem is not with FOP. My build failed
showing an error as follows


BUILD FAILED

H:\SVN\tortoisesvn\Languages\LanguagePack.build(40,4):
Compilation failed:
c:\Documents and Settings\svram\Local

Settings\Temp\j3bqonxj.0.cs(20,14) : error CS0234: The type or namespace


name 'Xml' does not exist in the namespace 'System' (are you missing an
assembly reference?)
c:\Documents and Settings\svram\Local

Settings\Temp\j3bqonxj.0.cs(192,46) : error CS0246: The type or namespace


name 'XmlNode' could not be found (are you missing a using directive or an
assembly reference?)

--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26476500.html


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

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

Stefan Küng

unread,
Nov 23, 2009, 3:10:46 PM11/23/09
to us...@tortoisesvn.tigris.org

I've never seen this error.
Do you have .NET 2.0 installed?
Which version of NAnt are you using?

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

SVram

unread,
Nov 24, 2009, 1:19:11 AM11/24/09
to us...@tortoisesvn.tigris.org
Stefan Küng wrote:
>
>> Hello Andy,
>>
>>                  Actually I posted the error wrongly. Just now I saw that
>> and edited my entry. Actually the problem is not with FOP. My build
>> failed
>> showing an error as follows
>>
>>
>>  BUILD FAILED
>>
>>            H:\SVN\tortoisesvn\Languages\LanguagePack.build(40,4):
>>            Compilation failed:
>>            c:\Documents and Settings\svram\Local
>> Settings\Temp\j3bqonxj.0.cs(20,14) : error CS0234: The type or namespace
>> name 'Xml' does not exist in the namespace 'System' (are you missing an
>> assembly reference?)
>>            c:\Documents and Settings\svram\Local
>> Settings\Temp\j3bqonxj.0.cs(192,46) : error CS0246: The type or namespace
>> name 'XmlNode' could not be found (are you missing a using directive or
>> an
>> assembly reference?)
>
> I've never seen this error.
> Do you have .NET 2.0 installed?
> Which version of NAnt are you using?
>
> Stefan
>

Yes stefan. I have .NET 2.0.50727 installed and I am using NANT 0.86 beta 1
version. Plz correct me if I am wrong Isn't that the error related to
"Adding reference to assembly (here: system.xml.dll ) because the error
shown in LanguagePack.build(40,4) The corresponding source lines are as
follows

target name="createecho2">
<script language="C#" prefix="tsvn">

<imports>
<import namespace="System.Globalization" />
<import namespace="System.Xml" />
^^^^^^^^^^^^^^^^^
<import namespace="NAnt.Core.Attributes" />
<import namespace="NAnt.Core.Util" />
<import namespace="NAnt.Core.Tasks" />
</imports>

I tried the following

1. Copied system.xml.dll from
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" to "C:\Program
Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies"

2. Edited the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe"
(XML file ) and added the following code snippet

<runtime>
<Reference Include="System" />
^^^^^^^^^^^^^^^^^^^^ -> Added line
<Reference Include="System.Xml" />
^^^^^^^^^^^^^^^^^^^^ -> Added line
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Build.Framework"
publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9"
newVersion="2.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

Still it throws the same error. Some kind of minor issue eats all my time. I
could not trace out the exact cause for that.

Thanks & Regards,
Ram.
--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26490982.html


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

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

SVram

unread,
Nov 25, 2009, 7:05:20 AM11/25/09
to us...@tortoisesvn.tigris.org

Fixed the above mentioned issue. I just added reference to System.dll and
System.xml in LanguagePacks.build like

<references>
<include name = "system.dll">
<include name = "system.xml.dll">
</references>

Everything working fine.

Thanks & Regards,
Ram
--
View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26511411.html


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

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

Stefan Küng

unread,
Nov 25, 2009, 12:55:03 PM11/25/09
to us...@tortoisesvn.tigris.org

Could you send a patch for this?

Stefan


--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

SVram

unread,
Nov 26, 2009, 1:14:01 AM11/26/09
to us...@tortoisesvn.tigris.org
Stefan Küng wrote:
>
>
>>Could you send a patch for this?
>
>>Stefan
>
>

Sure stefan. I am working on that docs patch only right now, Making it very
clear to the users. Will send the patch in a day or two.

Thanks & Regards,
Ram
--

View this message in context: http://old.nabble.com/Build-Failed-while-Building-Tortoise-svn-in-windows-xp-tp26302579p26524778.html


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

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

Reply all
Reply to author
Forward
0 new messages