[root@linuxsv Qmail_setup]# which perl
/usr/bin/perl
[root@linuxsv Qmail_setup]#作者: lzj_linux 时间: 2005-02-18 17:14 标题: per15是软件包名吗? which: no perl5 in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin)
是不是要把perl考到上面的这些目录下面?作者: lzj_linux 时间: 2005-02-18 17:52 标题: per15是软件包名吗? 看setup文件:
[root@LW1 Qmail_setup]# vi setup
########---------Check software-------------################
OS=`uname -s`
if [ "$OS" != "$_OS" ]; then
echo "Your system is $OS"
echo "lease set _OS for $OS."
exit 0
fi
echo "Checking...for gcc"
which gcc
if [ "$?" = 1 ]; then
echo "Sorry,Your system not "gcc" program!"
exit 0
fi
echo "Checking...for g++"
which g++
if [ "$?" = 1 ]; then
echo "Sorry,Your system not "g++" program!"
exit 0
fi
echo "Checking...for make"
which make
if [ "$?" = 1 ]; then
echo "Sorry,Your system not "make" program!"
exit 0
fi
echo "Checking...for perl5"
which perl5
if [ "$?" = 1 ]; then
echo "Sorry,Your system not "perl5" program!"
exit 0
[root@LW1 Qmail_setup]# which make
/usr/bin/make
[root@LW1 Qmail_setup]# which gcc
/usr/bin/gcc
[root@LW1 Qmail_setup]# which g++
/usr/bin/g++
[root@LW1 Qmail_setup]# which perl
/usr/bin/perl
[root@LW1 Qmail_setup]#