注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

自由自在

 
 
 

日志

 
 

build and install ro45 (redoffice 4.5) on ubuntu 8.04  

2009-04-21 17:11:36|  分类: openoffice |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
// readme.txt : this document shows you how to build and install ro45 (redoffice 4.5) on ubuntu 8.04.1

(1). run the following command to install svn:
$ apt-get install subversion
(2). download source code of ro45 to directory dev300_m28 (this operation will create the directory automationaly):
$ svn co http://172.16.16.95/svn/ro45/trunk dev300_m28

(3). install some required packge.
$ apt-get install tcsh
$ apt-get install g++
$ apt-get install libarchive1
$ apt-get install libarchive-zip-perl
$ apt-get install libcupsys2-dev
$ apt-get install libpam0g-dev
$ apt-get install gperf
$ apt-get install libxaw7-dev
$ apt-get install libfontconfig1-dev
$ apt-get install bison
$ apt-get install flex
$ apt-get install patch
$ apt-get install sun-java5-jdk
$ apt-get install ant
$ apt-get install ant-optional

(4). copy dev300_m28/x11_extensions/inc/*.h to /usr/includes/X11/extensions .

(5). cd to dev300_m28/config_office and then run the following command
$ ./configure --disable-odk --disable-qadevooo --disable-binfilter \
--disable-mozilla --disable-gnome-vfs --disable-gtk
(6). now repeat step (4), this time configure successed. a file named bootstrap was
created under the main directory of the source code, cd to this directory and run it:
$ ./bootstrap
there is another file named LinuxX86Env.Set.sh, run it to set the whole compile enviroment:
$ . LinuxX86Env.Set.sh
(7). now you can compile and build all the modules by run the following command:
$ dmake
this will takes you a long time( at least 3 hours!!! ), please wait patiently
(8). if any problem happened during dmake, try to do this:
cd to postprocess/prj, delete writerfilter in the build.lst file
then cd to dev300_m28/scp2/source/ooo, edit file file_library_ooo.scp, commet the following line:
STD_UNO_LIB_FILE_PATCH(gid_File_Lib_Writerfilter,writerfilter)
rebuild this module and deliver it, then go to dev300_m28 and dmake again
(12). after build all of the modules, cd to instsetoo_native/, and rebuild this module:
$ build & deliver
(13). before you install a new openoffice, you have to remove the old one, try the following command:
$ apt-get remove openoffice*
(14). cd to unxlngi6.pro/OpenOffice/deb/install/en-US/DEBS, and install openoffice through:
$ dpkg -i openoffice.org-*.dev
(15). now, you have install the openoffice3.0 under /opt/openoffice.org3.0 successfully, congratulation!!!





  评论这张
 
阅读(272)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018