早教吧作业答案频道 -->其他-->
ubuntu10.04安装qt-x11-opensource-src-4.4.规求解决方案Infileincludedfrom../../include/QtGui/private/qtx11p.h:1,fromkernel/qapplication.cpp:70:../../include/QtGui/private/../../../src/gui/kernel/qtx11p.h:65:22:error:X11/Xlib.h:没有
题目详情
ubuntu10.04安装qt-x11-opensource-src-4.4.规求解决方案
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:70:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:65:22:error:X11/Xlib.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:70:23:error:X11/Xutil.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:71:21:error:X11/Xos.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:78:23:error:X11/Xatom.h:没有那个文件或目录
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:70:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280:error:‘Colormap’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281:error:ISO C++ forbids declaration of ‘Visual’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281:error:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:290:error:‘Time’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:292:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:315:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:318:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:320:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332:error:ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332:error:expected ‘,’ or ‘...’ before ‘*’ token
make[1]:*** [.obj/release-shared/qapplication.o] 错误 1
make[1]:正在离开目录 `/opt/qt-x11-opensource-src-4.4.3/src/gui'
make:*** [sub-gui-make_default-ordered] 错误 2
没分了,我是把压缩包放在/opt下的,执行./configure,在执行make出现以上错误.本来在./configure后还有一条:./configure -plugin-sql-sqlite -plugin-sql-mysql -plugin-sql-sqlite2,但是没执行成功,执行make时就出现这种错误!
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:70:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:65:22:error:X11/Xlib.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:70:23:error:X11/Xutil.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:71:21:error:X11/Xos.h:没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:78:23:error:X11/Xatom.h:没有那个文件或目录
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:70:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280:error:‘Colormap’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281:error:ISO C++ forbids declaration of ‘Visual’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:281:error:expected ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:290:error:‘Time’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:292:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:315:error:‘Window’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:318:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:319:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:320:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321:error:‘Window’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:321:error:‘Atom’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332:error:ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332:error:expected ‘,’ or ‘...’ before ‘*’ token
make[1]:*** [.obj/release-shared/qapplication.o] 错误 1
make[1]:正在离开目录 `/opt/qt-x11-opensource-src-4.4.3/src/gui'
make:*** [sub-gui-make_default-ordered] 错误 2
没分了,我是把压缩包放在/opt下的,执行./configure,在执行make出现以上错误.本来在./configure后还有一条:./configure -plugin-sql-sqlite -plugin-sql-mysql -plugin-sql-sqlite2,但是没执行成功,执行make时就出现这种错误!
▼优质解答
答案和解析
./configure -plugin-sql-sqlite -plugin-sql-mysql 这条没有成功是不是因为你没有 用 -I -L 参数将mysql的头文件和库文件包含进去呢,难说,可能就是没有配置成功搞这样
看了 ubuntu10.04安装q...的网友还看了以下:
英语翻译请高手帮忙翻译以下几句话成英文,这是一个协议,1,今天客人来厂查货棕色9930件,由箱装要 2020-05-14 …
“装做没看见”的英语装做没听见好象是turnadeafearto那么装做没看见呢? 2020-05-14 …
一道初中物理题(压强的)原题:油罐里装着深h=4.8m的柴油,罐壁上距罐底h=0.3m处有一小孔, 2020-05-14 …
油桶里装着深H=4.8m的煤油,罐壁上距罐底h=0.3m处有一小孔,小孔面积S=0.5cm平方1. 2020-05-17 …
下列说法中正确的是()A.现在使用的移动电话有发射装置和接收装置B.现在使用的对讲机有发射装置和接 2020-05-17 …
herecomesthecar倒装了没有的?是不是倒不倒装都不会造成语法错误,没倒装时时什么样的? 2020-06-30 …
(高中化学范围)如何除去实验室产生的NO尾气为什么有些实验装置没有除去有害气体尾气,如:湖北省20 2020-07-29 …
如图是工厂自动化包装生产线的部分示意图,生产线将装有产品的包装盒通过水平传送带输送至自动装箱机装箱. 2020-11-08 …
若A是正规矩阵,请证明:若A、B可交换,则A的复共轭装置A(H)与B也可交换.另:若A=B^2,且存 2020-12-01 …
某同学涉及的简易火灾报警装置如图所示,竖直固定、上端开口的试管中装有高h=20cm的水银,其下方封闭 2020-12-31 …