Openoffice2.4.0 (dev_m14) compilation process

Source: Internet
Author: User
Tags cairo
I have compiled the source code of openoffcie2.4.0 since May 26. The initial wish is to adjust the zoom ratio to 90% during installation. today is July 22, June 23, and the compilation was successful. the original OpenOffice versions are also from ooo2.4.0-> ooo2.4.1-> ooo3, 0 beta. The following describes the source code compilation process of my OpenOffice. 1. environment and configuration: Operating System: ubuntu7.10 memory: 512 MB compilation space:> = 5 GB other required configurations include: * Apache Ant * gtk2 * jdk1.4 (Linux) * libidl * libxml2 * XML: parser * archive: Zip * unzip * which * zip * glibc
2. Download source code: can go to http://download.openoffice.org/680? Intcmp = 1461 (on the OpenOffice official website) download to the source code. Open the page with 5 packages: OOo-Dev_DEV300_m14_src_core.bz2 (ooo2.4.0), src_system, src_l10n, src_sdk, src_binfilter. (Note: ooo3.0 may be dev300_m20) If you want to compile the file, you must download at least the first three compressed files. Then use tar-xjf decompress into dev_m14 file to open the file has the following file, the specific role of see http://wiki.ubuntu.org.cn/%E6%B7%B1%E5%85%A5%E4%BA%86%E8%A7%A3OpenOffice.org%EF%BC%88%E4%BA%8C%EF%BC%89 introduction.
3. Compile the code. Download the compilation code to dev300_m14/MOZ/download/Mozilla. Running the./config command may cause problems during compilation. This is because three packages are missing in the machine (which package does not remember). The source code root directory input: sed-I's @.. $/Dist $/configure @ uudecode = "no" & @ '/berkeleydb/makefile. MK & pushd config_office &&. /configure -- prefix =/home/hook/OpenOffice-test/DEV300-m14/-- enable-libart/-- disable-fontooo/-- disable-gnome-VFS/-- without-fonts/-- -system-jars/-- without-PAM/-- With-system-stdlibs/-- With-system-FreeType/-- With-system-expat/-- With-system-libxml/-- -system-libxslt/-- With-system-zlib/-- enable-Cairo/-- enable-Build-Mozilla/-- With-package-format = NATIVE/-- disable-binfilter/-- disable -odk/-- disable-qadevooo/-- With-use-shell = bash & popd
At this time, a bootstrap file will be generated.
Then./Bootstrap & source linuxx86env. Set. Sh to configure the compilation file.
The OpenOffice official website prompts two compilation methods: Direct dmake and build in the instsetoo_native file -- all. I chose the second method, in the first case, the system prompts that swext is not found (this is what swextension will find in ooo3.0). If you don't know why it prompts, The result stops here and cannot proceed. The second method also prompts but does not affect compilation. Cairo errors during compilation prompt that it is because of the lack of a patch (decl-defi-mismatch.patch on the official website) but the version is not correct, open the patch file, compare the changes in the file to canvashelper in/dev300_m14/canvas/source/Cairo. modify hxx.
OK under build -- all (as long as no file is missing) after compilation, it will be generated under/home/hook/openofficetest/dev300_m14/instsetoo_native/unxlngi6.pro/OpenOffice/DEB/install/en-us. deb File
Dpkg-I *. Deb is installed in OPT/application and the running OK is displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.