MacOSX compile problems

Matt Mackall mpm at
Sun Jan 18 13:46:13 CST 2009

On Sun, 2009-01-18 at 19:31 +0100, Bastian Doetsch wrote:
> > snipped previous conversation
> I think I found the reason for the version not being determined. It  
> seems that sudo doesn't use the pythonpath I defined in
> a) <myuser>/.MacOSX and
> b) /root/.MacOSX and
> c) /root/.profile

Good catch. Yeah, sudo and su are annoying that way. I work around this
myself by making .bashrc and .profile the same file.

> as "sudo hg version" produces the import stacktrace. If I "sudo su -"  
> and then type "hg version" the determining of the version works. So  
> does anyone know, how I can set the pythonpath globally on MacOSX?

One way is to setup a in etc/ (don't ask me where).

-- : development and support for Mercurial and Linux

More information about the Mercurial-devel mailing list