要怎么安装gawk?

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

要怎么安装gawk?

#1

帖子 gula » 2007-10-29 13:33

我安装gawk时出了问题,下面是提示信息:
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

然后我看没有bison,就又去安装bison:又出错:
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 style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
哪位高手指点一下。
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#2

帖子 BigSnake.NET » 2007-10-29 13:51

sudo apt-get install gawk
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
gula
帖子: 98
注册时间: 2007-10-29 13:29

#3

帖子 gula » 2007-10-29 23:28

BigSnake.NET 写了:sudo apt-get install gawk
我试过了,它说什么找不到软件包.....
头像
gula
帖子: 98
注册时间: 2007-10-29 13:29

#4

帖子 gula » 2007-10-29 23:35

BigSnake.NET 写了:sudo apt-get install gawk
结果:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
E: 无法找到软件包 gawk
头像
gula
帖子: 98
注册时间: 2007-10-29 13:29

#5

帖子 gula » 2007-10-30 11:33

怎么安装啊,帮帮忙吧.
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#6

帖子 Beetle » 2007-10-30 12:36

怎么会呢?!修改一下源就能装,我昨天刚apt的
头像
gula
帖子: 98
注册时间: 2007-10-29 13:29

#7

帖子 gula » 2007-10-30 12:58

要用哪个源呢?
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#8

帖子 Beetle » 2007-10-30 14:42

加cn99的吧~~
回复