Installation of openoffice Note that openoffice has problems with bison-1.875. Downgrade to bison-1.75 or install bison-1.75 with an alternate prefix (e.g. /opt/bison-1.75) and put $bison_prefix/bin as the first entry in the PATH. Apply the downloaded patches and copy gpc files. mv ../gpc231/* external/gpc && rm -rf ../gpc231 && for p in ../openoffice-&openoffice-version;-*.patch do patch -Np1 -i $p done The optimization flags need to be manually added. cd solenv/inc && cp unxlngi3.mk unxlngi3.mk.orig && sed -e "s:^CFLAGSOPT=.*:CFLAGSOPT=${CFLAGS}:g" \ unxlngi3.mk.orig > unxlngi3.mk && cp unxlngi4.mk unxlngi4.mk.orig && sed -e "s:^CFLAGSOPT=.*:CFLAGSOPT=${CFLAGS}:g" \ -e "s:\-mcpu=pentiumpro::" \ unxlngi4.mk.orig > unxlngi4.mk && cd ../.. Configure openoffice using the following commands. You may add additional languages based on your preferences. If a particuar component is not available in the language of your choice, the default will be English. cd config_office/ && ./configure --with-lang=ENUS --with-stlport4-home=/usr && cd .. && source LinuxIntelEnv.Set.sh Compile openoffice using the following commands. Note that when installing, it needs a X Display. You can use Xvfb if you are compiling on a console. ./bootstrap && dmake && cd instsetoo/unxlngi4.pro/01/normal && ./install --prefix=/opt && for appl in swriter scalc sdraw simpress smath soffice do ln -sf /opt/openoffice/program/$appl /usr/X11R6/bin/$appl done