Introduction
In this article, we will discuss how to configure Apache OpenOffice 4.1.15 on Solaris 10 when the precompiled package is unavailable for SPARC processors. We will follow the instructions provided in the readme file.
Prerequisites
Before we begin, ensure that you have the following:
- Solaris 10 operating system
- GCC compiler
- OpenOffice source code
Compiling Apache OpenOffice 4.1.15 on Solaris 10 (SPARC)
When trying to compile Apache OpenOffice 4.1.15 on Solaris 10 (SPARC), you may encounter an error message stating that the precompiled package is unsupported. In such a case, you can compile OpenOffice from the source code.
Step 1: Extract the source code
$ tar xvf OpenOffice.org_4.1.15-src.tar.gz
Step 2: Configure the build system
$ cd OpenOffice.org-4.1.15/
$ ./configure --with-headless --with-uno-ldflags="-R/usr/lib/sw/starport/lib -R/usr/lib/sw/starport/lib/libxml2.sl
Note: The above configuration flags are specific to Solaris 10. Adjust accordingly if necessary.
Step 3: Compile OpenOffice
$ make
Step 4: Install OpenOffice
$ su
# make install
Note: You may need to use the "make install_sw" command instead of "make install" for some components.
In this article, we have discussed how to configure Apache OpenOffice 4.1.15 on Solaris 10 when the precompiled package is unsupported for SPARC processors. We followed the instructions provided in the readme file and successfully compiled OpenOffice from the source code.