Building PyUNO on Mac OSX

1. Check out an OpenOffice 3 milestone from http://svn.services.openoffice.org/ooo/tags (DEV300_m35 was current at time of writing)

cd
svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m35

2. Download Mozilla pre-built zipp files and save to DEV300_m35/moz/zipped.

See http://wiki.services.openoffice.org/wiki/AquaBuild#prebuilt_Mozilla_archives

3. Save build.sh into DEV300_m35/config_office directory, make it executable and run it

cd ~/DEV300_m35/config_office
chmod u+x build.sh
./build.sh

4. If the above completed successfully then you can set up the build environment.

cd ~/DEV300_m35
./bootstrap
source MacOSXX86Env.Set.sh

5. Start the build

cd ~/DEV300_m35/pyuno
build --from solenv

6. The pyuno libraries should now be in ~/DEV300_m35/pyuno/unximacxi.pro/lib

Attachments