noob trouble with web interface and repo corruption on windows

Steve Borho steve at borho.org
Tue Jan 25 15:16:21 CST 2011


On Tue, Jan 25, 2011 at 1:41 PM, Rafkind, David (US - Boston)
<drafkind at deloitte.com> wrote:
> Thanks for the help. A follow-up question:
> I do have Visual Studio 10 installed, however it's in a wacky location: C:\Program Files (x86)\Microsoft Visual Studio 10.0
>
> When I try to build, I get this error:
>
>
> C:\src\mercurial>\apps\ArcGIS10.0\python.exe setup.py build
> running build
> running build_mo
> warning: hgbuildmo: could not find msgfmt executable, no translations will be bu
> ilt
> running build_py
> copying mercurial\__version__.py -> build\lib.win32-2.6\mercurial
> running build_ext
> building 'mercurial.base85' extension
> error: Unable to find vcvarsall.bat
>
>
> Even if the appropriate directory is on my PATH.
>
> I see a lot of articles about using MINGW32, but none about using Visual Studio..anything simple to try? Is it a path thing somehow? (vcvars32.bat had to be modified because of a similar issue)

This is a Python problem, unrelated to Mercurial, but one thing to try
is to use the start menu shortcut to open a 'visual studio prompt'
with the appropriate environment variables all set and try the setup
command from that context.

The Python compiler module in 2.5 is not very good at dealing with
extra-ordinary compiler layouts (it gets quite confused on x64).
Python 2.6 fixed those problems.  And lastly, Python 2.5 was built
with VC7 (MSVC2003).  I somewhat doubt if VC10 _can_ compile C
extensions for Python 2.5.

You would likely be better off installing one of the standalone
Mercurial installers, or TortoiseHg.

-- 
Steve Borho


More information about the Mercurial mailing list