./configure -static
后 出现这些问题
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
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
This target is using the GNU C++ compiler (linux-g++).
Recent versions of this compiler automatically include code for
exceptions, which increase both the size of the Qt libraries and
the amount of memory taken by your applications.
You may choose to re-run configure with the -no-exceptions
option to compile Qt without exceptions. This is completely binary
compatible, and existing applications will continue to work.
Build type: linux-g++
Architecture: i386
Platform notes:
- Also available for Linux: linux-kcc linux-icc linux-cxx
Build ............... libs tools examples
Configuration ....... release static largefile stl sse qt3support accessibility minimal-config small-config medium-config large-config full-config reduce_exports ipv6 getaddrinfo ipv6ifname getifaddrs jpeg mng png no-gif freetype zlib nis iconv release
Debug................ no
Qt 3 compatibility... yes
QtDBus module........ no
STL support ......... yes
PCH support ......... no
MMX/SSE support ..... yes
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support... yes
Accessibility ....... yes
NIS support ......... yes
CUPS support ........ no
Iconv support ....... yes
Glib support ........ no
Large File support .. yes
GIF support ......... no
JPEG support ........ yes (qt)
PNG support ......... yes (qt)
MNG support ......... yes (qt)
zlib support ........ yes
OpenGL support ...... no
NAS sound support ... no
Session management .. no
XShape support ...... no
Xinerama support .... no
Xcursor support ..... no
Xfixes support ...... no
Xrandr support ...... no
Xrender support ..... no
FontConfig support .. no
XKB Support ......... no
immodule support .... yes
SQLite support ...... plugin (qt)
WARNING: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.
NOTICE: Qt will not be built with XShape support.
As a result, drag-and-drop in the Qt Designer will NOT
work. We recommend that you enable XShape support by passing
the -xshape switch to ./configure.
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.2.2
To reconfigure, run 'make confclean' and 'configure'.
我 是在 ubuntu6.06环境下编译的,SHELL脚本也不会写,照着官方的教程将环境变量设好的,
PKG_CONFIG_PATH 这个怎么设?
还有就是glib2.0我在新立得软件管理器中也没有看到是不是得下?
着色部分该加什么库阿?
望高手指点!!急!
[已解决]装过Qt-X11 4.2.2的帮忙解决 一下这个问题
-
- 帖子: 12
- 注册时间: 2006-12-17 22:16
- 来自: xi an
[已解决]装过Qt-X11 4.2.2的帮忙解决 一下这个问题
上次由 china-wei 在 2006-12-27 10:15,总共编辑 3 次。
@@@@@@@@@@@@@@@@@@@
@@@@@我一直在努力.........@@@@@
@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@
@@@@@@@@@@@
@@@@@@@@@
@@@@@@@
Qt研究群(-):20622831 欢迎加入!
@@@@@我一直在努力.........@@@@@
@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@
@@@@@@@@@@@
@@@@@@@@@
@@@@@@@
Qt研究群(-):20622831 欢迎加入!
-
- 帖子: 12
- 注册时间: 2006-12-17 22:16
- 来自: xi an
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系:
-
- 帖子: 12
- 注册时间: 2006-12-17 22:16
- 来自: xi an
-
- 帖子: 1
- 注册时间: 2010-10-19 18:42
Re: [已解决]装过Qt-X11 4.2.2的帮忙解决 一下这个问题
sudo apt-get install xorg-dev