[Pacemaker] Problem building development version on Solaris

Paul Walsh Paul.Walsh at bcu.ac.uk
Thu Sep 11 10:31:38 UTC 2008


Andrew Beekhof wrote:
> 

> 
> oh, you can also just re-download tarballs.
> but since you'll probably need plenty of updates, switching to hg isn't
> a bad idea

:)


> 
> just:
>   hg clone http://hg.linux-ha.org/dev /software/heartbeat-dev
> and:
>   hg clone http://hg.clusterlabs.org/pacemaker/dev /software/pacemaker-dev
> 

Thanks Andrww.


Hmmm. It seems my installation of mercurial may be broken:

# hg clone http://hg.linux-ha.org/dev /software/heartbeat-dev
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 79, in _runcatch
    except revlog.RevlogError, inst:
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 74, in __getattribute__
    self._load()
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 46, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/local/lib/python2.5/site-packages/mercurial/revlog.py", line 22, in <module>
    _sha = sha.new
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 74, in __getattribute__
    self._load()
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 46, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/local/lib/python2.5/sha.py", line 6, in <module>
    from hashlib import sha1 as sha
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 102, in _demandimport
    mod = _origimport(name, globals, locals)
  File "/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 83, in _demandimport
    return _origimport(name, globals, locals, fromlist)
ImportError: No module named _md5


(I get the same error whether using the mercurial package obtained from sunfreeware or a copy built from source)

I shall investigate.

-- 
Paul Walsh





More information about the Pacemaker mailing list