2009-04-21 17:11:36| 分类: openoffice | 标签: |举报 |字号大中小 订阅
// 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!!!
评论