Re: Problems with compiling source (runcmake, autobuild)

Torsten Martinsen <[email protected]> Mon, 23 Jan 2012 21:00:03 +0100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8250107158759134865==
Content-Type: multipart/alternative;
	boundary="------------040907050901000808030406"

This is a multi-part message in MIME format.
--------------040907050901000808030406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

On 01/23/2012 02:57 PM, Sebastian Andersson wrote:
> Hello!
>
> "Sorry, but the CMakeLists file is hardcoded to expect GnuWin32 
> installed in \GnuWin32\bin."
>
> Ah there it was! Thanks! I did not even think of checking that. The 
> vc9 notes page ( http://www.tortoisecvs.org/vc9notes.shtml ) suggested 
> a different directory, which now obviously is wrong. Installing 
> directly on (in my case) C: solved it.
>
> "x86 is 32-bit, so I assume you mean x64, which is 64-bit. You only 
> need to compile the 64-bit stuff if you want to install on a 64-bit 
> operating system (you can install 32-bit only on a 64-bit OS, but then 
> it will only work in 32-bit applications)."
>
> Ok, that makes sense. Then I will probably try to fix all my previous 
> issues with the 64-bit building at a later stage.
>
> The autobuild script passes all the build-stages and starts to create 
> the installer, but encounter problems with the translation-files, 
> which I do not know how they work. The first error I encountered was:
>
> Translating setup script
> + rm -f setup.iss
> + cat setup.preproc
> + tr -d '\r'
> ++ cygpath -wa ../tools/innosetup
> ++ cygpath -wa ../../po/Setup
> + 
> /cygdrive/c/12test/TortoiseCVS/build/vc9Win32/TranslateIss/Release/TranslateIss.exe 
> 'C:\12test\TortoiseCVS\tools\innosetup' 'C:\12test\po\Setup'
> ¦¦¦¦ 2:27:04: Error: Cannot set locale to language Norwegian (Bokmal).
That's strange. I usually see errors about not being able to set locale 
to Japanese and Chinese, which is expected since my version of Windows 
does not support Asian locales. But I have never seen errors relating to 
Norwegian, neither Bokmål nor Nynorsk.
> Error loading message catalog for locale sv_SE (Path 
> C:\12test\po\Setup). Messages will not be translated.
>
> The error with the Norweigian translations was salvable by just 
> removing the /po/Setup/nb_NO.po, which got me the following:
>
> Translating setup script
> + rm -f setup.iss
> + cat setup.preproc
> + tr -d '\r'
> ++ cygpath -wa ../tools/innosetup
> ++ cygpath -wa ../../po/Setup
> + 
> /cygdrive/c/12test/TortoiseCVS/build/vc9Win32/TranslateIss/Release/TranslateIss.exe 
> 'C:\12test\TortoiseCVS\tools\innosetup' 'C:\12test\po\Setup'
> Error loading message catalog for locale sv_SE (Path 
> C:\12test\po\Setup). Messages will not be translated.
>
>
> I am running a swedish version of windows, which probably explains the 
> error with sv_SE, perhaps the compiler expects a translation based 
> opon my os-language?

It could look that way - I have never tried building TortoiseCVS on 
anything other than US English Windows.

I think I have a VM with a French Windows XP at work, I will try if I 
can reproduce your problem.

-Torsten

--------------040907050901000808030406
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 01/23/2012 02:57 PM, Sebastian Andersson wrote:
    <blockquote cite="mid:[email protected]"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        Hello!<br>
        <br>
        "Sorry, but the CMakeLists file is hardcoded to expect GnuWin32
        installed in \GnuWin32\bin."<br>
        <br>
        Ah there it was! Thanks! I did not even think of checking that.
        The vc9 notes page ( <a class="moz-txt-link-freetext" href="http://www.tortoisecvs.org/vc9notes.shtml">http://www.tortoisecvs.org/vc9notes.shtml</a> )
        suggested a different directory, which now obviously is wrong.
        Installing directly on (in my case) C: solved it.<br>
        <br>
        <div>"x86 is 32-bit, so I assume you mean x64, which is 64-bit.
          You only need to compile the 64-bit stuff if you want to
          install on a 64-bit operating system (you can install 32-bit
          only on a 64-bit OS, but then it will only work in 32-bit
          applications)."<br>
          <br>
          Ok, that makes sense. Then I will probably try to fix all my
          previous issues with the 64-bit building at a later stage.<br>
          <br>
          The autobuild script passes all the build-stages and starts to
          create the installer, but encounter problems with the
          translation-files, which I do not know how they work. The
          first error I encountered was:<br>
          <br>
          Translating setup script<br>
          + rm -f setup.iss<br>
          + cat setup.preproc<br>
          + tr -d '\r'<br>
          ++ cygpath -wa ../tools/innosetup<br>
          ++ cygpath -wa ../../po/Setup<br>
          +
          /cygdrive/c/12test/TortoiseCVS/build/vc9Win32/TranslateIss/Release/TranslateIss.exe
          'C:\12test\TortoiseCVS\tools\innosetup' 'C:\12test\po\Setup'<br>
          &brvbar;&brvbar;&brvbar;&brvbar; 2:27:04: Error: Cannot set locale to language Norwegian
          (Bokmal).<br>
        </div>
      </div>
    </blockquote>
    That's strange. I usually see errors about not being able to set
    locale to Japanese and Chinese, which is expected since my version
    of Windows does not support Asian locales. But I have never seen
    errors relating to Norwegian, neither Bokm&aring;l nor Nynorsk.<br>
    <blockquote cite="mid:[email protected]"
      type="cite">
      <div dir="ltr">
        <div>Error loading message catalog for locale sv_SE (Path
          C:\12test\po\Setup). Messages will not be translated.<br>
          <br>
          The error with the Norweigian translations was salvable by
          just removing the /po/Setup/nb_NO.po, which got me the
          following:<br>
          <br>
          Translating setup script<br>
          + rm -f setup.iss<br>
          + cat setup.preproc<br>
          + tr -d '\r'<br>
          ++ cygpath -wa ../tools/innosetup<br>
          ++ cygpath -wa ../../po/Setup<br>
          +
          /cygdrive/c/12test/TortoiseCVS/build/vc9Win32/TranslateIss/Release/TranslateIss.exe
          'C:\12test\TortoiseCVS\tools\innosetup' 'C:\12test\po\Setup'<br>
          Error loading message catalog for locale sv_SE (Path
          C:\12test\po\Setup). Messages will not be translated.<br>
          <br>
          <br>
          I am running a swedish version of windows, which probably
          explains the error with sv_SE, perhaps the compiler expects a
          translation based opon my os-language? </div>
      </div>
    </blockquote>
    <br>
    It could look that way - I have never tried building TortoiseCVS on
    anything other than US English Windows.<br>
    <br>
    I think I have a VM with a French Windows XP at work, I will try if
    I can reproduce your problem.<br>
    <br>
    -Torsten<br>
  </body>
</html>

--------------040907050901000808030406--


--===============8250107158759134865==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
--===============8250107158759134865==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users

--===============8250107158759134865==--