在fedora8下编译OpenOffice
来源:互联网 发布:微信域名屏蔽查询接口 编辑:程序博客网 时间:2024/05/23 12:11
openoffice在fedora8.0下的编译
fedora8.0安装时已经选择了开发环境。
1,下载代码
trunk始终是最新的代码,可能编译不同过。可以编译tags下的某个版本。
svn co http://svn.services.openoffice.org/ooo/trunk oootrunk
oootrunk 为本地所建的目录,openoffice编译大约需要15G左右的空间。
2, 下载完成后,进入config_office 运行./configure
提示环境出错。
checking which shell to use... tcsh
checking for tcsh... no
configure: error: tcsh not found in $PATH
添加编译选项 --with-use-shell=bash
3运行 ,/configure --with-use-shell=bash
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
需要perl的模块支持,才能编译。
yum install perl-Compress-Zlib
yum install perl-Archive-Zip
Running Transaction
Installing: perl-IO-Compress-Base ######################### [1/4]
Installing: perl-Compress-Raw-Zlib ######################### [2/4]
Installing: perl-IO-Compress-Zlib ######################### [3/4]
Installing: perl-Compress-Zlib ######################### [4/4]
Installed: perl-Compress-Zlib.noarch 0:2.005-2.fc8
Dependency Installed: perl-Compress-Raw-Zlib.i386 0:2.005-3.fc8 perl-IO-Compress-Base.noarch 0:2.005-2.fc8 perl-IO-Compress-Zlib.noarch 0:2.005-2.fc8
Complete!
Running Transaction
Installing: perl-Archive-Zip ######################### [1/1]
Installed: perl-Archive-Zip.noarch 0:1.20-3.fc8
Complete!
4 再次运行 ,/configure --with-use-shell=bash
checking for cups/cups.h... no
configure: error: cups/cups.h could not be found. libcupsys2-dev or
cups???-devel missing?
安装cups-devel模块
输入命令 yum install cups-devel
5,checking for gperf... no
configure: error: gperf not found but needed. Install it.
yum install gperf
6,需要jdk
rpm -ivh jdk-1_5_0_10-linux-i586.rpm
编译选项为:
./configure --with-use-shell=bash --with-jdk-home=/usr/java/jdk1.5.0_10 --disable-mozilla --with-ant-home=/opt/apache-ant-1.7.0
--disable-mozilla,不编译mozilla的功能,数字签名和mozilla的地址簿不能使用。
7,安装ant,需要1.6.0以上版本。
8,根据提示,在上一层目录运行./bootstrap,然后在source LinuxX86Env.Set.sh
然后在代码根目录输入dmake
9,编译完成版本在install程序在instsetoo_native目录中。
fedora8.0安装时已经选择了开发环境。
1,下载代码
trunk始终是最新的代码,可能编译不同过。可以编译tags下的某个版本。
svn co http://svn.services.openoffice.org/ooo/trunk oootrunk
oootrunk 为本地所建的目录,openoffice编译大约需要15G左右的空间。
2, 下载完成后,进入config_office 运行./configure
提示环境出错。
checking which shell to use... tcsh
checking for tcsh... no
configure: error: tcsh not found in $PATH
添加编译选项 --with-use-shell=bash
3运行 ,/configure --with-use-shell=bash
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
需要perl的模块支持,才能编译。
yum install perl-Compress-Zlib
yum install perl-Archive-Zip
Running Transaction
Installing: perl-IO-Compress-Base ######################### [1/4]
Installing: perl-Compress-Raw-Zlib ######################### [2/4]
Installing: perl-IO-Compress-Zlib ######################### [3/4]
Installing: perl-Compress-Zlib ######################### [4/4]
Installed: perl-Compress-Zlib.noarch 0:2.005-2.fc8
Dependency Installed: perl-Compress-Raw-Zlib.i386 0:2.005-3.fc8 perl-IO-Compress-Base.noarch 0:2.005-2.fc8 perl-IO-Compress-Zlib.noarch 0:2.005-2.fc8
Complete!
Running Transaction
Installing: perl-Archive-Zip ######################### [1/1]
Installed: perl-Archive-Zip.noarch 0:1.20-3.fc8
Complete!
4 再次运行 ,/configure --with-use-shell=bash
checking for cups/cups.h... no
configure: error: cups/cups.h could not be found. libcupsys2-dev or
cups???-devel missing?
安装cups-devel模块
输入命令 yum install cups-devel
5,checking for gperf... no
configure: error: gperf not found but needed. Install it.
yum install gperf
6,需要jdk
rpm -ivh jdk-1_5_0_10-linux-i586.rpm
编译选项为:
./configure --with-use-shell=bash --with-jdk-home=/usr/java/jdk1.5.0_10 --disable-mozilla --with-ant-home=/opt/apache-ant-1.7.0
--disable-mozilla,不编译mozilla的功能,数字签名和mozilla的地址簿不能使用。
7,安装ant,需要1.6.0以上版本。
8,根据提示,在上一层目录运行./bootstrap,然后在source LinuxX86Env.Set.sh
然后在代码根目录输入dmake
9,编译完成版本在install程序在instsetoo_native目录中。
- 在fedora8下编译OpenOffice
- 在windows下编译openOffice
- 在Ubuntu下编译Openoffice (1)
- 在Ubuntu下编译Openoffice (2)
- 在Ubuntu下编译Openoffice (3)
- 在Ubuntu下编译Openoffice (4)
- 在Ubuntu下编译Openoffice (5)
- 在Ubuntu下编译Openoffice (6)
- 在Ubuntu下编译Openoffice (7)
- Fedora8下编译安装使用TightVNC
- 用yum在Fedora8下安装rpm
- 在fedora8 下看电影 rmvb格式
- Ubuntu-10.04 下编译 OpenOffice DEV300 分支
- FreeNX 在Fedora8下不能正常使用的解决方法
- openoffice编译
- fedora8下mysql安装
- 如何在windows下debug Openoffice 2.0
- OpenOffice在Windows和Linux下启动
- 如何用PS切图和输出网页?
- 微软的软件测试方法(二)
- Oracle日期操作
- 微软的软件测试方法(三)
- Liskov替换原则--LSP
- 在fedora8下编译OpenOffice
- 汽油不应长时间存放
- OGRE中的一些形象比喻
- js取得cookie值的函数
- 异步刷新Browser的两种方法
- 页面定时刷新javascript
- 删除某图层下的Selected要素
- 产品质量的基石——微软Bug管理
- C#动态创建属性