Error when building & installing hg from sources
Jeremy Whitlock
jcscoobyrs at gmail.com
Thu Apr 2 14:25:30 CDT 2009
> I'm trying to install hg from a copy I've pulled from
> http://selenic.com/repo/hg. It gives the following when error message:
>
> [ourson77 at localhost hg]$ python setup.py install --prefix=$HOME/Programs
...
> File "/opt/wrk/hg/mercurial/util.py", line 1069, in <module>
> class atomictempfile(posixfile):
> NameError: name 'posixfile' is not defined
I had the same thing. There is an issue already for this:
http://www.selenic.com/mercurial/bts/issue1575 The issue has a patch
you can apply locally to fix.
> /home/ourson77/Programs/lib/python2.5/site-packages/mercurial-unknown-py2.5.egg-info
> Writing
> /home/ourson77/Programs/lib/python2.5/site-packages/mercurial-unknown-py2.5.egg-info
The "unknown" version in your egg is also another potential problem.
I submitted a patch yesterday to resolve this. If you can't find it,
let me know.
--
Take care,
Jeremy Whitlock
http://www.thoughtspark.org
More information about the Mercurial
mailing list