Build Failed while Building Tortoise svn in windows xp

View: New views
13 Messages — Rating Filter:   Alert me  

Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: Build Failed while Building Tortoise svn in windows xp

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


SVram wrote:
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.
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.

Re: Build Failed while Building Tortoise svn in windows xp

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Build Failed while Building Tortoise svn in windows xp

by SVram () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Stefan Küng wrote:
>You need VS2008 with SP1. VS2005 is not enough.

>Stefan
As said installed VS2008 and now everything is in good position. Ran the nant setup and it went on for nearly 4 hours in my system (p4 1gigs ram) Finally it threw an error in the final part of the script like as follows .

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:

            create echo2:

            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?)

I am providing the source of LanguagePack.build

           <script language="C#" prefix="tsvn">
                        <imports>
                                <import namespace="System.Globalization" />
                                <import namespace="System.Xml" />
                                                            ^^^^^^^^^ ----------> This is where the error is thrown
                                <import namespace="NAnt.Core.Attributes" />
                                <import namespace="NAnt.Core.Util" />
                                <import namespace="NAnt.Core.Tasks" />
                        </imports>
           
I als edited the corresponding registry keys to the absolute path of system.xml.dll (ie) I created a new key in name of system.xml  under HKEY_LOCAL_MACHINE -> softwares -> microsoft -> .net framework -> Assembly folders  and set its value to its abolute path . But still The same error is thrown :( so plz help me to complete the build.

Thanks,
Ram


Re: Build Failed while Building Tortoise svn in windows xp

by Andy Levy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 23, 2009 at 00:36, SVram <malsam.v2@...> 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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andy Levy wrote:
On Mon, Nov 23, 2009 at 00:36, SVram <malsam.v2@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?)



Re: Build Failed while Building Tortoise svn in windows xp

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 23, 2009 at 12:43, SVram <malsam.v2@...> wrote:

> Andy Levy wrote:
>>
>> On Mon, Nov 23, 2009 at 00:36, SVram <malsam.v2@...> 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?)

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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)  
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

Re: Build Failed while Building Tortoise svn in windows xp

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 25.11.2009 13:05, SVram wrote:

> 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)
>>
>>
>
> 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.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: Build Failed while Building Tortoise svn in windows xp

by SVram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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