无法安装 ***.tar.g的东西

为当前最终发行版之前的所有版本提供支持
回复
dengganglt
帖子: 59
注册时间: 2007-11-12 10:24
送出感谢: 0
接收感谢: 0

无法安装 ***.tar.g的东西

#1

帖子 dengganglt » 2008-05-13 9:46

在这里发了好多超级菜鸟级的东西,实在不好意思,我是学焊接的阿。
sudo ./configure 后,结果如下:
````
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 gdk-2.0) were not met.

`````
然后就不能make
说找不到makefile
请问怎么办?
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
送出感谢: 0
接收感谢: 2 次
联系:

#2

帖子 dbzhang800 » 2008-05-13 9:49

configure 都出错了,肯定就不能make了。

仔细看每一个出错信息,缺什么先把什么装上,然后重新 configure 直到无错
dengganglt
帖子: 59
注册时间: 2007-11-12 10:24
送出感谢: 0
接收感谢: 0

#3

帖子 dengganglt » 2008-05-13 12:06

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

#4

帖子 dengganglt » 2008-05-13 12:22

./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.
头像
coolwin
帖子: 271
注册时间: 2008-03-17 17:47
送出感谢: 0
接收感谢: 0

#5

帖子 coolwin » 2008-05-13 15:43

用新立得搜索 libgtk2.0,将显示的那几个包安装上,再试试
dengganglt
帖子: 59
注册时间: 2007-11-12 10:24
送出感谢: 0
接收感谢: 0

#6

帖子 dengganglt » 2008-05-13 18:25

安楼上的做了,还是不行阿
可以make了,但是有错误
也可以make install
就是不能运行程序
我在装一个linux连连看http://linuxtoy.org/archives/lianliankan.html
头像
coolwin
帖子: 271
注册时间: 2008-03-17 17:47
送出感谢: 0
接收感谢: 0

#7

帖子 coolwin » 2008-05-13 18:52

你要说下错误提示是什么,这样别人才能帮你,我安装成功了
附件
7.jpg
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14
送出感谢: 0
接收感谢: 0

#8

帖子 hethe » 2008-05-13 20:31

gtk+-2.0 gdk-2.0)
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
dengganglt
帖子: 59
注册时间: 2007-11-12 10:24
送出感谢: 0
接收感谢: 0

#9

帖子 dengganglt » 2008-05-14 10:15

羡慕7楼的阿!
不知8楼所说的gtk+-2.0 gdk-2.0是怎么回事,是要安装的吗?我安装不料阿!
请问怎么装?
560560
帖子: 75
注册时间: 2008-05-11 3:04
送出感谢: 0
接收感谢: 0

#10

帖子 560560 » 2008-05-14 15:08

我装了。看的眼睛疼,删除了
dengganglt
帖子: 59
注册时间: 2007-11-12 10:24
送出感谢: 0
接收感谢: 0

#11

帖子 dengganglt » 2008-05-14 21:55

是不是现在这个llk_linux不能装好,其他的类似的包也不能装阿?那多郁闷阿!
回复

回到 “老旧版本支持”