How to install OpenOffice3.1SDK in CentOS5.8

Source: Internet
Author: User
CentOS5.8 how to install OpenOffice3.1SDKCentos5.8 with openoffice3.1. you can choose to install OpenOffice3.1 in the window, but the SDK cannot be automatically installed after OpenOffice is installed. here we will introduce how to install OpenOffice3.1SDK in CentOS 5. 1. apparently...
In CentOS 5.8, how to install OpenOffice 3.1 SDK Centos5.8 with OpenOffice3.1 on the installation disk can be selected through the window interface, but after OpenOffice is installed, the SDK cannot be automatically installed; here we will introduce how to install OpenOffice3.1 SDK.1. obviously, the SDK runs on the program of the corresponding version of OpenOffice. Therefore, you must first install OpenOffice.2. even if you do not need to run JAVA or compile C programs, JDK1.4 and above must be installed. 3. copy the two rpm files from the CentOS Directory of the CentOS 5.8 installation disk: openoffice.org-sdk-doc-3.1.1-19.5.el5_5.6.x86_64.rpmopenoffice.org-sdk-3.1.1-19.5.el5_5.6.x86_64.rpm I put under the/root directory. www.2cto.com
4. install the SDK through rpm, for example, rpm-ivh openoffice.org-sdk-3.1.1-19.5.el5_5.6.x86_64.rpm, which prompts that two additional RPMs are required: one is core and the other is ure. also put it in the above path. rpm-ivh openoffice.org-sdk-3.1.1-19.5.el5_5.6.x86_64.rpm openoffice.org-core-3.1.1-19.5.el5_5.6.x86_64.rpm openoffice.org-the ure-3.1.1-19.5.el5_5.6.x86_64.rpm command will install the SDK under/usr/lib64/openoffice.org, which was created when openoffice was installed; this step mainly involves copying some dynamic libraries and jar files.
5. after step 4, I tried to find the header file and did not find it. this time I found that step 4 won't copy the header file. use a tool to view the above two rpm packages, including the header files (copied in windows ). it is estimated that it needs to be decompressed. through rpm2cpio xxx. rpm | cpio-dw to decompress the above two RPMs and find that there is an additional usr directory, which is what you need. 6. go to the directory and find setenvsdk_Unix and run it. enter the directory of various configurations. in this way, the SDK is installed. input env and find that it writes many environment variables to us. author stupid

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.