How to enable APPR with Apache OpenOffice 3.4 on Ubuntu 11.04

From Apache OpenOffice Wiki
Revision as of 07:30, 3 May 2012 by EricHuang (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

APPR is a performance toolset for OpenOffice. You can get a step-to-step guide on "How to enable APPR with Apache OpenOffice 3.4 on Ubuntu 11.04".

1.Get the latest source code for Apache OpenOffice 3.4 from "https://svn.apache.org/repos/asf/incubator/ooo/trunk". Please put it under "/opt/aoo340/build", mark it as AOO_HOME. Then you can locate to all the modules under "$AOO_HOME/main".

2.Get the package for APPR. Please put it under "/opt/aoo340" and unzip it. You can get a dir "/opt/aoo340/APPR.for.AOO340.on.Ubuntu.11.04/APPR", mark it as APPR_HOME, then run commands below to apply APPR's patch into AOO's codebase.

      cd "$APPR_HOME/src/appr_hook/ooo_patch"
      chmod a+x apply.sh
      ./apply.sh "$AOO_HOME/main"
              

3.Build AOO's source code with "export TIMELOG=TRUE"

   cd "$AOO_HOME/main"
   autoconf
   ./configure ...
   source LinuxX86.Env.sh
   export TIMELOG=TRUE
   cd instset_ooo
   build --all -P4
   

4. get the installation package at "$AOO_HOME/main/instset_ooo/"

Personal tools