因为工作需要,上海移动那边的运营商用的是IBM AIX服务器,我们的文件转换功能是基于Openoffice,目前跑在Linux上面,但AIX是Unix系统,没办法只能对Openoffice重编译了,现在没AIX的系统来测试,那就现在Ubuntu上热热身吧!
先看看官网的文章:
Building: http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#software_requirements
具体的软硬要求上面都有,还介绍了基本的编译过程。
OK,先下源码吧:
http://download.openoffice.org/other.html#tested-sdk
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Getting_the_source
把 那几个source都下回来
Tarball | Description |
---|---|
OOo_3.x.x_src_core.tar.bz2 | The necessary part for each build, the other tarballs depend on this one. |
OOo_3.x.x_src_system.tar.bz2 | Libraries that usually exist on a standard Linux system[1]. For a Windows build this package is usually required. |
OOo_3.x.x_src_binfilter.tar.bz2 | The filters for old binary StarOffice formats |
OOo_3.x.x_src_l10n.tar.bz2 | Translations of the software for many languages |
OOo_3.x.x_src_extensions.tar.bz2 | Extensions source package |
OOo_3.x.x_src_testautomation.tar.bz2 | Automated test suite (optional) |
用tar xvjf 解压文件bz2文件哦!
把那几个全部解压,我解压后的目录是OOO330_m20(自动解压到这个目录)
然后用进入目录:
1、先检查配置环境
./configure --disable-mozilla --without-junit --disable-odk
然后接下来就是痛苦的改错过程了!!
根据提示错那改哪!这个花了我大半天时间......