手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu 10.04 下编译 OpenOffice DEV300 分支

[日期:2011-04-16] 来源:Linux社区  作者:Proteas [字体:大 中 小]

环境: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

linux
相关资讯       Ubuntu教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款