Friday, January 30, 2009

Building OOo

Thanks to Daeseon's effort in getting a success run for the build, the results is still unknown till I talk to him.

In the meantime, I am doing a build on Liberia. Everything is running smoothly so far, all that is left to do is wait for it to finish.

If anyone out there who hasn't done this yet, Daeseon has posted a quick run on how to build OOo on his blog. I am gonna put some information about it here as well because the build for me and Daeseon has different errors.

Part 1 : Getting Open Office on your machine
Be sure you are in root.
-> su -
-> mkdir ooo
-> svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m40

Part 2: Setting C and C++ compiler (I just did what was shown in class)
-> export CC="distcc gcc"
-> export GCC='distcc g++"

Part 3: Configuring the Source
cd to your open office DEV300_m40 folder and use
-> ./configure --with-use-shell=bash

Note: You will run into problems with some errors of not being able to find a certain things and is different for every computer. I have provide some of the issues that I ran into and fixes.
Problem #1: no cups/cups.h
Solution #1: yum install cups-devel

Problem #2: no JDK installed
Solution #2: yum install java-1.7.0-icedtea-devel.x86_64

Problem #3: no gperf
Solution #3: yum install gperf.x86_64

Problem #4: no mozilla
Solution #4: get it from the link provided by the error generated.

Problem #5: no Ant
Solution #5: yum install ant.x86_64

Part 4: Setting Environmental Variables
At the end of the configuration, you will get a warning issue, do read what it says before procceding. It should say you have to do source LinuxX86-64Env.Set or LinuxX86-64Env.Set.sh
-> source LinuxX86-64Env.Set.sh

Part 5: Bootstrap
If everything goes well with part 4, run bootstrap
-> ./bootstrap

Part 6: Build!!!
Do pray that you'll not run into any problem and build this thing all the way.
-> dmake

No comments:

Post a Comment