在Ubuntu下编译Openoffice (6)
来源:互联网 发布:淘宝小号产号技术 编辑:程序博客网 时间:2024/05/16 11:35
2011年7月29日 15:27:17
今天遇到的问题也是不少的,习惯了.....
###################错误4:
ntering /media/newDisk/OOo/OOO330_m20/shell/source/backends/gconfbe
Package gconf-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
Package ORBit-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ORBit-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ORBit-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
dmake: Error code 1, while making 'Shell escape'
sudo apt-get install libgconf2-dev【FIX】
###################错误5:
../../../unx/inc/dtint.hxx:41: error: using typedef-name 'Display' after 'struct'
/usr/include/X11/Xlib.h:495: error: 'Display' has a previous declaration here
../../../unx/inc/dtint.hxx:42: error: using typedef-name 'XEvent' after 'struct'
/usr/include/X11/Xlib.h:1017: error: 'XEvent' has a previous declaration here
dmake: Error code 1, while making '../../../unxlngi6.pro/slo/salframe.obj'
【解决】因为Xlib.h里面有定义了同名的'Display' ,'XEvent' ,所以造成了冲突,把dtint.hxx:41里面的'Display'
和'XEvent' 换个名称,如'Display_'、'XEvent_'
随后会引起#############/media/newDisk/OOo/OOO330_m20/vcl/unx/source/gdi/dtint.cxx:76: error: cannot convert 'Display*' to 'Display_*' in assignment
dmake: Error code 1, while making '../../../unxlngi6.pro/slo/dtint.obj'
【解决】把vcl/unx/source/gdi下的dtint.cxx的第76行代码改为: mpDisplay = (Display_*)mpSalDisplay->GetDisplay();
##############错误6:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
dmake: Error code 1, while making 'Shell escape'
->:apt-get install libgtk2.0-dev
但有错误:
#############错误7:安装libgtk2.0-dev_2.24.5-4_i386.deb 出现的错误
inshutao@ubuntu:/media/newDisk/OOo$ sudo dpkg -i libgtk2.0-dev_2.24.5-4_i386.deb
(Reading database ... 135389 files and directories currently installed.)
Preparing to replace libgtk2.0-dev 2.24.5-4 (using libgtk2.0-dev_2.24.5-4_i386.deb) ...
Unpacking replacement libgtk2.0-dev ...
dpkg: dependency problems prevent configuration of libgtk2.0-dev:
libgtk2.0-dev depends on libgtk2.0-0 (= 2.24.5-4); however:
Version of libgtk2.0-0 on system is 2.24.4-0ubuntu2.
libgtk2.0-dev depends on libgdk-pixbuf2.0-dev (>= 2.21.0); however:
Package libgdk-pixbuf2.0-dev is not installed.
libgtk2.0-dev depends on libpango1.0-dev (>= 1.20); however:
Package libpango1.0-dev is not installed.
libgtk2.0-dev depends on libatk1.0-dev (>= 1.29.2); however:
Package libatk1.0-dev is not installed.
libgtk2.0-dev depends on libcairo2-dev (>= 1.6.4-6.1); however:
Package libcairo2-dev is not installed.
libgtk2.0-dev depends on pkg-config (>= 0.26-1); however:
Version of pkg-config on system is 0.25-1.1ubuntu1.
dpkg: error processing libgtk2.0-dev (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
libgtk2.0-dev
###################错误8:安装gtk
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.23.6 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6) were not met:
No package 'atk' found
No package 'pango' found
No package 'cairo' found
安装pango后再make
###########错误9:
Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangocairo', required by 'GDK', not found
dmake: Error code 1, while making 'Shell escape'
##################编译cairo
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG functions feature could be enabled... no
configure: error: recommended PNG functions feature could not be enable
->sudo apt-get install libpng12-dev 这个也是出现了依赖错误,郁闷~~
用:sudo apt-get build-dep libpng12-dev
- 在Ubuntu下编译Openoffice (6)
- 在Ubuntu下编译Openoffice (1)
- 在Ubuntu下编译Openoffice (2)
- 在Ubuntu下编译Openoffice (3)
- 在Ubuntu下编译Openoffice (4)
- 在Ubuntu下编译Openoffice (5)
- 在Ubuntu下编译Openoffice (7)
- 在fedora8下编译OpenOffice
- 在windows下编译openOffice
- Ubuntu-10.04 下编译 OpenOffice DEV300 分支
- ubuntu下安装openoffice
- ubuntu 10.04LTS 下openoffice
- ubuntu下openoffice的安装
- 在ubuntu下编译飞鸽传书
- 在Ubuntu下编译Android
- 在Ubuntu下编译Android
- 在Ubuntu下编译wpa_supplicant
- DirectFB 在Ubuntu下编译
- java 读取配置文件(二)
- tomcat相对路径
- 如何在oracle中导入导出dmp数据库文件
- C语言嵌入式系统编程修炼之性能优化篇
- core dump
- 在Ubuntu下编译Openoffice (6)
- java 读取配置文件(三)
- spring mvc中使用多种视图的办法
- DBMS_CRYPTO包对Oracle加密
- 笔记:移动网络流量
- linux c语言 select函数用法
- Ubuntu下编译Android源码并运行Emulator
- ADR ADRL LDR
- Qt 线程基础(QThread、QtConcurrent等)(zz)