Installation problems

Robert Bauck Hamar r.b.hamar at usit.uio.no
Sun Apr 4 06:36:08 CDT 2010


*David Harrigan:
>Missing osutil.py is usually a sign that you don't have python-dev installed.

No, osutil.py comes with the pure Python installation, that is

make PURE=--pure ...

Usually, you would want the faster C version, osutil.so (or osutil.dll, 
I believe it's called on Windows).

>>> When I go to /usr/local/lib/python2.6/site-packages/mercurial I can see a
>>> file 'osutil.so', but no osutil.py. I am not a python guru so I don't know
>>> if this is the reason why this cannot be found, nor do I know how to fix
>>> it.
>
>sudo apt-get install python-dev
>
>should fix your problem :-)

Not really. The wanted file is there, and it cannot be built without the 
Python headers.

-- 
Robert Bauck Hamar
USIT/SAPP/GT - Cerebrum
http://www.uio.no/sok?person=roberth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial/attachments/20100404/d8271aed/attachment.pgp>


More information about the Mercurial mailing list