Build Linux Requirements
From Apache OpenOffice Wiki
Requirements for building OpenOffice.org on Linux
Before you start building, you must ensure that your system satisfies the recommended software and hardware requirements for the type of system you are working on. For Linux, these are as follows:
Hardware requirements
- one or more reasonable fast CPUs, x-way CPU's recommended.
- 1 GB Ram
- 10 GB free disk space
Software requirements
- glibc 2.2.x or higher
- C/C++ Compiler OpenOffice.org has been successfully build under Linux using the gcc versions greater 3.3.x. The recommended version is 3.4.1, also 4.1.x, 4.2.x versions are reported to work.
- The X11 development libraries and header files should be installed. Should be in place with most Linux distributions. Note the there are currently some issues with X version 4.3
- PAM (should come with most Linux distributions). You must install the development package for your distribution.
- Java: at least a Java Implementation compatible with JDK 1.5, JDK 1.6.x or OpenJDK are supported as well.
- Perl 5
- for the regular build the Mdiles Archive:Zip and XML:Parser are required
- for committing changes to the repository also Crypt:SSLeay and SOAP:Lite are required
- Shell: either bash or csh are supported.
- Archiver: zip and unzip
- The gpc general polygon clipper library release 2.31, located at http://www.cs.man.ac.uk/aig/staff/alan/software/. Download and unpack the tarball. You should have the files gpc.c and gpc.h in $SRC_ROOT/external/gpc.
- GTK - If you enable the crash reporter in configure then you need the gtk 2, jpeg and tiff development libraries.
- Ant: Ant 1.7
- Mozilla sources or libraries: some Mozilla libraries are need. Choose one of the following options:
- Recommended for newbies: Don't use the libraries: By using the --disable-mozilla switch for configure you waive the extra functionality.
- Build the libraries: Get the source from here, copy it into $SRC_ROOT/moz/download and configure will detect the source archive.
- Use prebuild libraries: Place LINUXGCCI{inc,lib,runtile}.zip into $SRC_ROOT/moz/zipped. You have to configure with --disable-build-mozilla to enable the use of the prebuild libraries. The files can be found here or can be reused if the packages were build following the instructions of the previous point. In the latter case they can be found in $SRC_ROOT/moz/unxlngi6.pro of a successful build.