On Fri, 2009-10-16 at 16:09 +0530, abeesh k k kappiri wrote:
> hai all
> when building  OOO310_m19 from tcsh under fedora 8  pyhon version 2.5
> dmake fails as showing the following messages

> /var/oo_new/OOO310_m19/solver/310/unxlngi6.pro/lib/python/site.py:150:
> Warning: 'with' will become a reserved keyword in Python 2.6
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File 
> "/var/oo_new/OOO310_m19/solver/310/unxlngi6.pro/lib/python/compileall.py",
> line 15, in <module>
>     import os
>   File "/var/oo_new/OOO310_m19/solver/310/unxlngi6.pro/lib/python/os.py",
> line 757
>     bs = b""

This has shown up before, see 
http://www.mail-archive.com/dev@tools.openoffice.org/msg01379.html
as a hackaround you can try and remove the line

    /usr/lib/rpm/brp-python-bytecompile \

from /usr/lib/rpm/redhat/macros

or build OOo --with-system-python configured.

C.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tools.openoffice.org
For additional commands, e-mail: dev-h...@tools.openoffice.org

Reply via email to