On Wed, Nov 2, 2011 at 5:46 PM, Don Shankin <dshan...@gmail.com> wrote:
> Hello All,
>
> I am very new to tortoise development, but we have been using TortoiseSVN
> for some time at our organization.  Now that we're transitioning to
> Mercurial, there are some things that we were able to do with TortoiseSVN
> that we are no longer able to do (the most important one being including a
> strict and rather lengthy log template).  I am trying to familiarize myself
> with the tortoisehg build process so I may be able to customize the version
> that we use in-house.
>
> So my problem:
>
> On both the 32 and 64 bit windows builds, setup.py fails at the same
> location.  Here is the stack trace while compiling a clean checkout:
>
> running build_ext
> building 'mercurial.base85' extension
> error: None

I don't think I've seen this error before.  It's trying to compile the
C extensions for Mercurial.  What version of Python do you have?  And
do you have the suggested Microsoft SDK installed?

> Traceback (most recent call last):
>     File "setup.py", line 910, in <module>
>         build_hg(forcehg, hgbranch, hgtag, arch)
>     File "setup.py", line 314, in build_hg
>         run_python(r'setup.py build_ext -i', 'build/hg',
> env=get_sdkenv(arch))
>     File "setup.py", line 183, in run_python
>         run(cmd, cwd, hide, env)
>     File "setup.py", line 174, in run
>         subprocess.check_call(cmd, shell=True, cwd=cwd, env=env)
>     File "C:\Python26-x64\lib\subprocess.py", line 462, in check_call
>         raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command 'C:\Python26-x64\python.exe setup.py
> build_ext -i' returned non-zero exit status 1
>
> Initially, I set up my build environment on my current 32bit laptop running
> XP, and I received this error.  I assumed that I had either set something up
> wrong, or that I just can't build on 32b XP.  I grabbed an unopened win7x64
> machine from storage and set up a build environment on this machine.  I was
> very careful to follow each step precisely, but I am getting the same error
> on both machines.  The win7 box has noting installed on it except for what
> is asked for in the build setup + firefox.
>
> I should also admit that I'm not completely fluent in python (yet), so if
> this is a simple error, I apologize.
>
> I tried to search for an answer to this, but I couldn't find anything.  Any
> help would be greatly appreciated!
>
> Thank you,
>
> ----------
>
> Donald Shankin
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Tortoisehg-develop mailing list
> Tortoisehg-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
>
>



-- 
Steve Borho

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to