Build error on MacOsX

Bastian Doetsch bastian.doetsch at gmx.de
Sun Dec 7 04:24:03 CST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I always get a build error on MacOsX that leaves Mercurial without  
version information. Is there anything missing in my environment? My  
python path is set and looks like this:

PYTHONPATH=/usr/local/lib/python2.5/site-packages:/usr/local/lib/ 
python2.5/site-packages

Python 2.5.1 is on my path and so I don't know what the problem is.  
Below is an extract of the output containing the tracebacks.

Thanks for your help,
Bastian

$ sudo make install
python setup.py build
Traceback (most recent call last):
   File "/usr/local/bin/hg", line 11, in <module>
     from mercurial import demandimport; demandimport.enable()
ImportError: No module named mercurial
running build
running build_py
running build_ext
running build_scripts
python setup.py install --prefix="/usr/local" --force
Traceback (most recent call last):
   File "/usr/local/bin/hg", line 11, in <module>
     from mercurial import demandimport; demandimport.enable()
ImportError: No module named mercurial
running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
copying build/lib.macosx-10.5-i386-2.5/hgext/__init__.py -> /usr/local/ 
lib/python2.5/site-packages/hgext
copying build/lib.macosx-10.5-i386-2.5/hgext/acl.py -> /usr/local/lib/ 
python2.5/site-packages/hgext
copying build/lib.macosx-10.5-i386-2.5/hgext/alias.py -> /usr/local/ 
lib/python2.5/site-packages/hgext

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkk7pEMACgkQBqJW4lDO0YJDgwCZAcVTInYEJ70by85Jc54gKf0T
D0EAnjUJE9tPjlPqs9fY00Uu/q/I9uL7
=txsk
-----END PGP SIGNATURE-----



More information about the Mercurial-devel mailing list