LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 998|回复: 11

编译grep时出现的问题,怎么办?

[复制链接]
发表于 2003-1-5 14:14:45 | 显示全部楼层 |阅读模式
编译grep时出现的问题,怎么办?
=============================================================
configure:WARNING:you should use --build,--host,--target
checking for a BSD-compatible install... /usr/bin/install -c
checking for whether build environment is sane...yes
checking for gawk... gawk
checking whether make sets ${make}...yes
checking build system type... Invalid configuration `make':machine `make' not recognized
configure:error:/bin/sh ./config.sub make failed
=============================================================
之前编译其他的包都很顺利!
发表于 2003-1-5 14:26:41 | 显示全部楼层
你没有必要重复发贴。这个问题我再考虑一下。
 楼主| 发表于 2003-1-5 14:51:51 | 显示全部楼层

我急用呀。老兄

我急用呀。老兄
发表于 2003-1-5 15:11:03 | 显示全部楼层
麻烦你看看有没有设置CFLAGS和CXXFLAGS两个编译参数。如果有,把它们去掉,再重新解压试试。
发表于 2003-1-5 15:14:31 | 显示全部楼层

另外,你是在第五章还是在第六章?
发表于 2003-1-5 15:37:33 | 显示全部楼层
你需要检查一下前面的一些包是不是正常编译了,比如是不是在不应该加优化参数的包里面加了优化。

grep的编译是不应该有问题的。出了问题,根源一般不是grep自己的事情。对grep这个包的修修补补帮的了一时,但不解决实际问题。

你需要把前面的很多东西检查一下。

checking build system type... Invalid configuration `make':machine `make' not recognized
configure:error:/bin/sh ./config.sub make failed
还有就是把configure脚本的这个部分贴出来。看看用了什么指令。以便找出来哪个包没有编译好。
发表于 2003-1-5 15:41:21 | 显示全部楼层
doooom,你lp来监视你了,以后你怎么办?
发表于 2003-1-5 15:43:13 | 显示全部楼层
找个帅哥把她引开。
发表于 2003-1-5 15:44:30 | 显示全部楼层
那她跟着帅哥跑了,岂不麻烦?
发表于 2003-1-5 15:46:46 | 显示全部楼层
hoho,我正好可以有功夫和哥们喝酒研究linux阿
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表