Difference between revisions of "How to enable APPR with Apache OpenOffice 3.4 on Ubuntu 11.04"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Step-2 Install Macro set for APPR)
Line 26: Line 26:
 
You can get it at "$AOO_HOME/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-arc_en-US.tar.gz". Please extract it, rename it to soffice and move it to "/opt/aoo340/". You can get a dir "/opt/aoo340/soffice", mark it as '''SOFFICE_HOME'''.
 
You can get it at "$AOO_HOME/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-arc_en-US.tar.gz". Please extract it, rename it to soffice and move it to "/opt/aoo340/". You can get a dir "/opt/aoo340/soffice", mark it as '''SOFFICE_HOME'''.
  
== Step-2 Install Macro set for APPR ==
+
== Step-2 Install Macro library for APPR ==

Revision as of 09:57, 3 May 2012

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


Step-1 Get AOO340 build ready with APPR patch

Step-1.1 Get the latest source code for Apache OpenOffice 3.4

You can get the source code 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".

Step-1.2 Get the package for APPR

Here is the link. Please put it under "/opt/aoo340" and uncompress 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"
              

Step-1.3 Make a full build for AOO3.4

Please 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
   

Step-1.4 Get the installation package

You can get it at "$AOO_HOME/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-arc_en-US.tar.gz". Please extract it, rename it to soffice and move it to "/opt/aoo340/". You can get a dir "/opt/aoo340/soffice", mark it as SOFFICE_HOME.

Step-2 Install Macro library for APPR

Personal tools