歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 10.04 下編譯 OpenOffice DEV300 分支

Ubuntu 10.04 下編譯 OpenOffice DEV300 分支

日期:2017/2/28 16:17:30   编辑:Linux教程

環境:x86,Uuntu-10.04
參考:http://wiki.services.openoffice.org/wiki/Ubuntu_Build_Instructions

1、配置開發環境:sudo apt-get build-dep openoffice.org
2、下載源代碼:hg clone http://hg.services.openoffice.org/DEV300 openOffice_dev
3、配置:./configure --disable-mozilla --with-junit="/usr/share/java/junit4.jar"
4、下載缺少的庫,放到“external/unowinreg”:http://tools.openoffice.org/unowinreg_prebuild/680/
5、安裝缺少的庫:sudo apt-get install librsvg2-dev
6、運行:./bootstrap
7、運行:source LinuxX86Env.Set.sh 或者 source LinuxX86-64Env.Set.sh
8、編譯:cd instsetoo_native && build --all(The building procedure will take at least an hour (on a 3 GHz Quad-Core with 8GB RAM without CCACHE).)
9、rebuilding from a module (incompatible build):
cd $SRC_ROOT/instsetoo_native
build --from $INCOMPATIPLEMODULE --prepare
build --from $INCOMPATIBLEMODULE
10、rebuilding a module (compatible build):
cd $MODULE
build --from $MODULE --prepare
build && deliver
11、Building a Module with Debug Information:
cd $MODULE
build --from $MODULE --prepare # removes old output trees and solver
build debug=true --from $MODULE

Copyright © Linux教程網 All Rights Reserved