make:没有规则来安装目标。为openldap停下来

时间:2015-07-13 07:41:06

标签: linux makefile redhat

我只需在/opt/openldap目录中解压缩openldap,然后尝试运行以下命令

make depend
make
make test
make install

但我得到的是异常,请查看添加的屏幕截图

enter image description here

修改: -

输出./configure命令

enter image description here

EDIT1: -

 yum install gcc 

还提供以下异常

enter image description here

1 个答案:

答案 0 :(得分:0)

# yum provides kernel-headers
kernel-headers-<version>-<release>.<arch>
# yum install kernel-headers

现在,如果您配置了一个保留内核头文件RPM的YUM存储库,那么就可以自动完成。

您的系统是否配置为使用Red Hat RHN?还是Oracle ULN?还是其他一些存储库?可能你错过了一个重要的渠道,如“分发媒体”或其他一些渠道。