On Mon, Dec 13, 2010 at 10:49 AM, Marco Giovannini <[email protected]> wrote:
> Hi
>
> I'm trying to create a Tortoise installer but  it fails with the error below.
>
> C:\Documents and 
> Settings\GiovannM\Desktop\thg-winbuild\build-hg\contrib\wix\def
> ines.wxi(3) : error CNDL0150 : Undefined preprocessor variable 
> '$(var.Platform)'
> .
> Traceback (most recent call last):
>  File "setup.py", line 750, in <module>
>    build_hg_installer('mercurial-stable')
>  File "setup.py", line 260, in build_hg_installer
>    candle(file, sourcedir=sourcedir, cwd='build-hg')
>  File "setup.py", line 234, in candle
>    run(r'candle -nologo "%s" %s' % (file, ' '.join(args)), cwd)
>  File "setup.py", line 107, in run
>    subprocess.check_call(cmd, shell=True, cwd=cwd, env=env)
>  File "C:\Python26\lib\subprocess.py", line 462, in check_call
>    raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command 'candle -nologo 
> "..\build-hg\contrib\wix\
> help.wxs" -dSourceDir="..\build-hg\mercurial\help"' returned non-zero exit 
> statu
> s 150
> I'm using this command "python setup.py --all" just to see if  it works.
>
> I've already compiled the older version of Tortoise in the past on the
> same machine an with the same configuration.

You need to be on the pyqt named branch of thg-winbuild to build
Mercurial packages right now.

Also, it will build a package for the architecture of the Python
interpreter you use.  So if you run 'python setup.py --hg-unstable'
with a 32bit Python, it will build an x86 installer.  If you run it
with a 64bit Python interpreter, it will build an x64 installer.

-- 
Steve Borho

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to