OOo 3.1.1 compilation error in Fedora Linux 10

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown OOo 3.1.1 compilation error in Fedora Linux 10

by jithesh vs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

When I am trying to build OOo3.1.1, its shows some errors like
this------------->>>>>>>
---------------------------------------------------------------------------------------------------------------------------
+ /usr/lib/rpm/brp-python-bytecompile
/home/test/Desktop/work/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 "/home/test/Desktop/work/OOO310_m19/solver/310/
unxlngi6.pro/lib/python/compileall.py", line 15, in <module>
    import os
  File "/home/test/Desktop/work/OOO310_m19/solver/310/
unxlngi6.pro/lib/python/os.py", line 757
    bs = b""
           ^
SyntaxError: invalid syntax
/home/test/Desktop/work/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 "/home/test/Desktop/work/OOO310_m19/solver/310/
unxlngi6.pro/lib/python/compileall.py", line 15, in <module>
    import os
  File "/home/test/Desktop/work/OOO310_m19/solver/310/
unxlngi6.pro/lib/python/os.py", line 757
    bs = b""
           ^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.yAtC7M (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.yAtC7M (%install)
dmake:  Error code 1, while making
'/home/test/Desktop/work/OOO310_m19/sysui/
unxlngi6.pro/bin/desktop-integration/openoffice.org-redhat-menus-3.1-9420.noarch.rpm
'

ERROR: Error 65280 occurred while making
/home/test/Desktop/work/OOO310_m19/sysui/desktop/redhat
rmdir /tmp/21011
dmake:  Error code 1, while making 'build_instsetoo_native'
----------------------------------------------------------------------------------------------------------------------------
Is this error occuring due to the lack of *python 2.6 version*????
Now *python 2.5.2 version* is in my system...............................

how to solve this error.......????

Regards,
Jithesh.V.S.

Re: OOo 3.1.1 compilation error in Fedora Linux 10

by abeesh k k kappiri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hai   jithesh


you can try and remove the line
>
>    /usr/lib/rpm/brp-python-bytecompile \
>
> from /usr/lib/rpm/redhat/macros



regards


On 11/3/09, jithesh vs <jithuz4710@...> wrote:

> hello,
>
> When I am trying to build OOo3.1.1, its shows some errors like
> this------------->>>>>>>
> ---------------------------------------------------------------------------------------------------------------------------
> + /usr/lib/rpm/brp-python-bytecompile
> /home/test/Desktop/work/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 "/home/test/Desktop/work/OOO310_m19/solver/310/
> unxlngi6.pro/lib/python/compileall.py", line 15, in <module>
>     import os
>   File "/home/test/Desktop/work/OOO310_m19/solver/310/
> unxlngi6.pro/lib/python/os.py", line 757
>     bs = b""
>            ^
> SyntaxError: invalid syntax
> /home/test/Desktop/work/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 "/home/test/Desktop/work/OOO310_m19/solver/310/
> unxlngi6.pro/lib/python/compileall.py", line 15, in <module>
>     import os
>   File "/home/test/Desktop/work/OOO310_m19/solver/310/
> unxlngi6.pro/lib/python/os.py", line 757
>     bs = b""
>            ^
> SyntaxError: invalid syntax
> error: Bad exit status from /var/tmp/rpm-tmp.yAtC7M (%install)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.yAtC7M (%install)
> dmake:  Error code 1, while making
> '/home/test/Desktop/work/OOO310_m19/sysui/
> unxlngi6.pro/bin/desktop-integration/openoffice.org-redhat-menus-3.1-9420.noarch.rpm
> '
>
> ERROR: Error 65280 occurred while making
> /home/test/Desktop/work/OOO310_m19/sysui/desktop/redhat
> rmdir /tmp/21011
> dmake:  Error code 1, while making 'build_instsetoo_native'
> ----------------------------------------------------------------------------------------------------------------------------
> Is this error occuring due to the lack of *python 2.6 version*????
> Now *python 2.5.2 version* is in my system...............................
>
> how to solve this error.......????
>
> Regards,
> Jithesh.V.S.
>


--


HAVE A NICE DAY

 regards
^Abhimaneu^

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: OOo 3.1.1 compilation error in Fedora Linux 10

by Christian Lohmaier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi *,

On Tue, Nov 3, 2009 at 10:07 AM, jithesh vs <jithuz4710@...> wrote:
> hello,
>
> When I am trying to build OOo3.1.1, its shows some errors like
> this------------->>>>>>>
> ---------------------------------------------------------------------------------------------------------------------------
> + /usr/lib/rpm/brp-python-bytecompile

http://www.mail-archive.com/dev@.../msg01551.html

ciao
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...