haproxy报错找不到Makefile文件

安装HAProxy报找不到Makefile错误
报错如下:
make: * No targets specified and no makefile found. Stop
关于的所有依赖已装

系统环境:CentOS 7.4
软件版本:haproxy-1.4.24.tar.gz

具体报错代码:
[root@linux-node1 examples]# uname -r
3.10.0-693.el7.x86_64
[root@linux-node1 examples]# make TARGET=linux31 ARCH=x86_64
make: No targets specified and no makefile found. Stop.*
我看了README文件,里面只有指定内核为26和26.28的,我内核是31,即使我把内核指定为26也不行
[root@linux-node1 examples]# make TARGET=linux26 ARCH=x86_64
make: * No targets specified and no makefile found. Stop.
[root@linux-node1 examples]# make TARGET=linux26.28 ARCH=x86_64
make: * No targets specified and no makefile found. Stop.

阅读 2.6k
1 个回答

是不是配个PREFIX就可以了?需要单独指定TARGET和ARCH么?

另外目录为啥是examples?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题