Skip to content

Instantly share code, notes, and snippets.

@shyam
Created October 7, 2011 08:44
Show Gist options
  • Save shyam/1269805 to your computer and use it in GitHub Desktop.
Save shyam/1269805 to your computer and use it in GitHub Desktop.
comping OpenOffice.org3 3.3.0 for headless mode operations ( like watermarking, pdf processing, etc., )
# tested on an EL5/EL6 based platform
cd ~
yum -y install perl-Archive-Zip ant flex pam-devel cups-devel gperf libxslt-devel openldap-devel gstreamer-devel gstreamer-plugins-base-devel db4-devel unixODBC-devel xalan-j2 boost-devel unixODBC-devel qt-devel subversion autoconf automake gtk2-devel gcc-c++ gnome-vfs2-devel rpm-build expat-devel python-devel curl-devel gcc gcc-c++ java-1.6.0-openjdk-devel libIDL-devel libXaw-devel bison libX11-devel libXrender-devel libXrandr-devel screen
wget https://raw.github.com/gist/1247669/88133c7c8da53d257c38ff73b161d116aed18c13/dot-screenrc -O ~/.screenrc
screen
wget http://download.services.openoffice.org/files/stable/3.3.0/OOo_3.3.0_src_core.tar.bz2
wget http://download.services.openoffice.org/files/stable/3.3.0/OOo_3.3.0_src_system.tar.bz2
tar xjf OOo_3.3.0_src_core.tar.bz2
tar xjf OOo_3.3.0_src_system.tar.bz2
cd ~/OOO330_m20/
wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll -O ./external/unowinreg/unowinreg.dll
./configure --with-jdk-home=/usr/lib/jvm/java --with-ant-home=/usr/share/ant/ --disable-mozilla --without-junit --disable-odk --disable-kde --disable-mono --disable-neon --disable-gconf --disable-gnome-vfs --disable-systray --disable-ldap --disable-vba --disable-mathmldtd --disable-directx --disable-kdeab --disable-Xaw --disable-gtk
source LinuxX86-64Env.Set.sh
./bootstrap
cd ~/OOO330_m20/instsetoo_native
build --all
# RPMS can be found inside ~/OOO330_m20/instsetoo_native/unxlngx6.pro/OpenOffice/rpm/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment