首页| 论坛| 消息

标题:是不是要编译qtopia-opensource的话, 必须安装X window套件?
作者:sunxq
日期:2007-06-12 23:17
内容:

使用vmware, 机器配置又不够高, 没有装X, 结果无论是qtopia-free-src-2.2.0还是qtopia-opensource-4.2.2, 都编译不过去.
g++ -c -pipe -fno-exceptions -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQTOPIA_NO_ICONV_OPEN_ERRORS -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_SSE -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/mkspecs/linux-g++ -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include -I../../include/QtGui -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/libpng -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/zlib -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/src -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/include -I/home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/3rdparty/freetype/builds/unix -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -I. -o .obj/release-shared/qapplication.o /home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qapplication.cpp
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from /home/sunxq/qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qapplication.cpp:55:
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: No such file or directory
../../include/QtGui/private/../../../../../../qtopia-opensource-4.2.2/qtopiacore/qt/src/gui/kernel/qt_x11_p.h:55:23: error: X1 ..


#1 [sunxq 06-13 14:27]
没办法, 重新安装了带桌面环境的Fedora Core 4, 现在编译成功了.

回复 发表
主题 版块