当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 11 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 无法安装 ***.tar.g的东西
帖子发表于 : 2008-05-13 9:46 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
在这里发了好多超级菜鸟级的东西,实在不好意思,我是学焊接的阿。
sudo ./configure 后,结果如下:
````
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 gdk-2.0) were not met.

`````
然后就不能make
说找不到makefile
请问怎么办?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-05-13 9:49 

注册: 2006-03-10 15:10
帖子: 3182
地址: xi'an China
送出感谢: 0 次
接收感谢: 2
configure 都出错了,肯定就不能make了。

仔细看每一个出错信息,缺什么先把什么装上,然后重新 configure 直到无错


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-05-13 12:06 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
我就是不知道缺什么,才来问的阿!在网上搜了下,是不是那个gtk+2.0?可惜我不会装阿。


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-05-13 12:22 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
./configure时的:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... zh_CN
checking build system type... i686-magic-linux-gnu
checking host system type... i686-magic-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... 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... 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.


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-05-13 15:43 
头像

注册: 2008-03-17 17:47
帖子: 271
送出感谢: 0 次
接收感谢: 0 次
用新立得搜索 libgtk2.0,将显示的那几个包安装上,再试试


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-05-13 18:25 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
安楼上的做了,还是不行阿
可以make了,但是有错误
也可以make install
就是不能运行程序
我在装一个linux连连看http://linuxtoy.org/archives/lianliankan.html


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-05-13 18:52 
头像

注册: 2008-03-17 17:47
帖子: 271
送出感谢: 0 次
接收感谢: 0 次
你要说下错误提示是什么,这样别人才能帮你,我安装成功了


附件:
7.jpg
7.jpg [ 159.11 KiB | 被浏览 420 次 ]

页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-05-13 20:31 
头像

注册: 2005-08-01 9:14
帖子: 3666
送出感谢: 0 次
接收感谢: 0 次
gtk+-2.0 gdk-2.0)


_________________
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2008-05-14 10:15 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
羡慕7楼的阿!
不知8楼所说的gtk+-2.0 gdk-2.0是怎么回事,是要安装的吗?我安装不料阿!
请问怎么装?


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2008-05-14 15:08 

注册: 2008-05-11 3:04
帖子: 75
送出感谢: 0 次
接收感谢: 0 次
我装了。看的眼睛疼,删除了


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2008-05-14 21:55 

注册: 2007-11-12 10:24
帖子: 59
送出感谢: 0 次
接收感谢: 0 次
是不是现在这个llk_linux不能装好,其他的类似的包也不能装阿?那多郁闷阿!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 11 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译