MacOSX compile problems

Bastian Doetsch bastian.doetsch at gmx.de
Sat Jan 17 12:07:44 CST 2009


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


Am 17.01.2009 um 19:01 schrieb Patrick Mézard:

> Bastian Doetsch a écrit :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> I (still) can't get Mercurial to include a version number when
>> compiling it myself on MacOSX. Even though it is installed before
>> starting the compile (as is needed referring to djc).
>>
>> Instead hg reports "version unknown". Any ideas what I need to do /  
>> to
>> install to have the correct version information in my Mercurial
>> installation? Here's some more information:
>>
>> $ env|grep PYTHON
>> PYTHONPATH=/usr/local/lib/python2.6/site-packages:/usr/local/lib/
>> python2.5/site-packages
>>
>> $ which hg
>> /usr/local/bin/hg
>>
>> $ which python
>> /usr/local/bin/python
>>
>> $ hg pull -u
>> $ make all
>> python setup.py build
>
> [ ... skipping a long trace with 2 asciidoc errors in it ...]
>
> What happens if you try "make install-bin" instead ?

The same: "version unknown". I guess the import error is the reason,  
but I don't understand why it happens.

$ sudo make install-bin
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
copying mercurial/__version__.py -> build/lib.macosx-10.3-i386-2.6/ 
mercurial
running build_ext
running build_scripts
running build_mo
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

... skipping the rest ...


>
>
> --
> Patrick Mézard
>

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

iEYEARECAAYFAklyHnAACgkQBqJW4lDO0YLz9QCeONsdTC6xnMOI7GmoDb/gehmt
wUMAni2l0tBg2Iug0R44HyqgrionotcT
=CPQo
-----END PGP SIGNATURE-----



More information about the Mercurial-devel mailing list