[问题]编译安装pvpgn时configure报错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
BanTai
帖子: 3
注册时间: 2007-10-10 23:44

[问题]编译安装pvpgn时configure报错

#1

帖子 BanTai » 2007-10-13 23:05

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for sed... sed
checking for cp... cp
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for pow in -lm... yes
checking for compress in -lz... no
configure: error: not found, please install the zlib libraries

提示我找不到 zlib库,我然后把zlib相关的软件都apt-get了,但是还是错误依旧。。。

请问怎么解决?谢谢!

PS: pvpgn全称:player vs player game network 是一款魔兽战网服务器。
头像
BanTai
帖子: 3
注册时间: 2007-10-10 23:44

#2

帖子 BanTai » 2007-10-13 23:11

顺便请问zlib库是干什么的?
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

#3

帖子 xhy » 2007-10-13 23:36

* sys-libs/zlib
Latest version available: 1.2.3-r1
Latest version installed: 1.2.3-r1
Size of files: 415 kB
Homepage: http://www.zlib.net/
Description: Standard (de)compression library
License: ZLIB
目前负债150多万
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

#4

帖子 xhy » 2007-10-13 23:47

* sys-libs/zlib
Latest version available: 1.2.3-r1
Latest version installed: 1.2.3-r1
Size of files: 415 kB
Homepage: http://www.zlib.net/
Description: Standard (de)compression library
License: ZLIB
目前负债150多万
回复