Presentation 2:

Ubuntu Python26 Build
First I had to upgrade Ubuntu’s Python from 2.5.2 to 2.6.1. Downloaded and extracted the Gzipped tarball from and ran the ./configure file. After the configure finished compiled with the supplied make file. After the successful compile Python 2.6.1 was installed to usr/local/bin/python2.6 dir and the system was successfully upgraded. To compile on Ubuntu I checked out the latest Python26 child work space from the OOo SVN service. Followed the instructions on the Wiki website. Downloaded and installed the required packages and then used the same build flow as a Fedora build. After a short while I had a successful Ubuntu Build. With the build complete I installed the suit following the instructions provided by Ladan’s blogpost. I got the same error at the end but was able to run the suit from the install directory just as Ladan had.

Fedora Python26 Build
The Germany system was brought back online by C Tyler early April. Luckily the home dir’s were safe and this saved me some time not having to check out the cws again. And then I went and brought it down again. I had installed Java 6 over an install of Java 5 that Dave was using (major oops) and had caused conflicts between the two. C Tyler got back to me letting me know he and Dave had done some work to allow both versions of Java to run on the machine for me. This was much appreciated. I compiled Python 2.6.1 on Fedora as I did on Ubuntu but I did not install it over the primary Python install. I installed it to ~/bin/python2.6 and attempted to rebuild OOo on Fedora. I received the same error I had before the Germany refresh.

SyntaxError: invalid syntax Warning: 'with' will become a reserved keyword in Python 2.6 .

From what I understood searching for this error online it seems that I was trying to compile 2.5 code with the 2.6 compiler. I tried removing the solver dir and running make clean and recompiling. The same error occurred.

The next step I need a successful compile on a Fedora machine and extensive Quality Assurance testing.

* QA-1:
build the testtools module and switch to testtools/source/bridgetest/pyuno and run

dmake runtest

* QA-2:
install the office, start python from the program directory and type 

import uno

* QA-3:
Start the office, choose Tools/Macros/Run macro ..., click on "
Macros", you should then have a pythonSamples Library at the bottom of the list. 

That's it. In case you have any problems you can't solve, let us know either on
this list or within the above issue. Attach patches to the above issue.

I found a testtools on the old cvs and a wiki page for it. Downloaded/Checked out the old cvs on to Ubuntu with

cvs -d checkout udk/testtools

With the testtools downloaded I’m having trouble compiling them and running them.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: