安装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.
是不是配个PREFIX就可以了?需要单独指定TARGET和ARCH么?
另外目录为啥是examples?