make:***没有指明目标并且找不到makefile。停止。

简介: make:***没有指明目标并且找不到makefile。停止。

CentOS 7在安装源码包时

make: *** 没有指明目标并且找不到 makefile。 停止。

本人两台 CentOS 7 都出现了这种情况,两种方法如下。

1,因为没有安装 gcc 导致。

    yum install gcc-c++ -y  (即可)

这次比较复杂点根据提示一次安装了好几个 gcc 相关的包。

1,更新、安装 openssl  ,  yum install openssl* -y

相关文章
|
存储 缓存 Java
仅花200行代码,如何将60万行的RocksDB改造成协程
采用少量手动修改+自动代码转换的方式,将大型多线程程序改造成协程。在某些重IO、高并发的场景中,帮助业务取得了性能翻倍的效果。
56130 3
仅花200行代码,如何将60万行的RocksDB改造成协程
|
Linux 数据库管理 Python
CentOS7编译安装Python3.10(含OpenSSL1.1.1安装),创建虚拟环境,运行Django项目(含sqlite版本报错)
CentOS7编译安装Python3.10(含OpenSSL1.1.1安装),创建虚拟环境,运行Django项目(含sqlite版本报错)
1699 4
|
安全 网络协议 Linux
yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法
yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法
3190 3
|
人工智能 Ubuntu 机器人
【ubuntu】手把手教你解决ubuntu报错openssh-server E: Sub-process /usr/bin/dpkg returned an error code (1)
【ubuntu】手把手教你解决ubuntu报错openssh-server E: Sub-process /usr/bin/dpkg returned an error code (1)
|
Ubuntu Linux 编译器
Linux/Ubuntu下使用VS Code配置C/C++项目环境调用OpenCV
通过以上步骤,您已经成功在Ubuntu系统下的VS Code中配置了C/C++项目环境,并能够调用OpenCV库进行开发。请确保每一步都按照您的系统实际情况进行适当调整。
2258 3
解决问题:make: *** No targets specified and no makefile found. Stop.
解决问题:make: *** No targets specified and no makefile found. Stop.
1995 0
|
网络安全
winSCP上传报错无权访问。 错误码:3 服务器返回的错误消息:Permission denied
【10月更文挑战第3天】winSCP上传报错无权访问。 错误码:3 服务器返回的错误消息:Permission denied
1897 1
|
Linux 网络安全
CentOS7更新OpenSSH
CentOS7更新OpenSSH
550 5
|
Java
SpringBoot注入出现@org.springframework.beans.factory.annotation.Autowired(required=true)
SpringBoot注入出现@org.springframework.beans.factory.annotation.Autowired(required=true)
440 0
|
Linux C语言 Perl
centos实现离线更新openssh
在CentOS上离线更新OpenSSH: 升级完成后, OpenSSH 版本应为 9.3。务必先备份重要数据与配置并测试系统。
1719 2