Re: [thg-dev] 32 and 64 bit build problem with build_ext

2011-11-08 Thread Don Shankin
My apologies.  When I said that it was a clean windows install, I had
forgotten that VS2010 actually was installed (it's part of our dev tools
along with an arm compiler).  I got my machine set up without VS2010 and it
worked.  I'm now having issues with what seems to be doc building, but
that's for another post.  Thanks for your help.

On Sun, Nov 6, 2011 at 12:04 PM, Steve Borho  wrote:

> On Wed, Nov 2, 2011 at 5:46 PM, Don Shankin  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 
> > 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
>



-- 
--

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


Re: [thg-dev] 32 and 64 bit build problem with build_ext

2011-11-06 Thread Steve Borho
On Wed, Nov 2, 2011 at 5:46 PM, Don Shankin  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 
>     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