./configure 错误

编译安装或者制作Deb包
回复
kgdjianhua
帖子: 90
注册时间: 2006-11-24 21:20
送出感谢: 0
接收感谢: 0

./configure 错误

#1

帖子 kgdjianhua » 2007-01-09 22:19

checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 gdk-2.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.


提示这错误error: Package requirements (gtk+-2.0 gdk-2.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
应该怎么解决?请大家帮帮忙。。
kgdjianhua
帖子: 90
注册时间: 2006-11-24 21:20
送出感谢: 0
接收感谢: 0

#2

帖子 kgdjianhua » 2007-01-14 0:07

没人指点一下吗? :(
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#3

帖子 eexpress » 2007-01-14 0:17

libgtk2.0-dev包安装试试。
● 鸣学
头像
bwchaos
帖子: 416
注册时间: 2006-10-19 14:08
来自: 西夏
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 bwchaos » 2007-02-07 0:17

6.06的话,源里应该是没有, 得到gtk关防网站去下源码编译
ps:麻烦透顶。。。
6.10的话,默认gtk2的环境应该是已经装好了
回复

回到 “编译或打包”