LinuxSir.cn,穿越时空的Linuxsir!

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

求助sudo安装不了

[复制链接]
发表于 2008-4-14 05:38:27 | 显示全部楼层 |阅读模式
试了2个版本..
sudo-1.6.9p15
./configure
这个可以..
然后 make
出问题..
/usr/bin/ld: cannot find -lpam

tar vxzf sudo-1.6.8p12.tar.gz

./configure 不了
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

...我真的是很菜鸟..

.....哪里搞错了..T_T...怎么解决呢..T_T..
发表于 2008-4-14 15:12:15 | 显示全部楼层
用root用户执行
apt-get install sudo

就安装好了
回复 支持 反对

使用道具 举报

发表于 2008-4-20 13:32:54 | 显示全部楼层
好像默认是有sudo的啊,如果没有apt-get 一下也就有了。

主要是要加上有sudo的用户(见 http://www.linux-wiki.cn/index.php/%E6%B7%BB%E5%8A%A0sudoer
回复 支持 反对

使用道具 举报

发表于 2009-3-20 16:56:24 | 显示全部楼层
using below command to overcome the problem:

./configure --without-pam
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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