鍍金池/ 問答/Linux  HTML/ haproxy報錯找不到Makefile文件

haproxy報錯找不到Makefile文件

安裝HAProxy報找不到Makefile錯誤
報錯如下:
make: * No targets specified and no makefile found. Stop
關(guān)于的所有依賴已裝

系統(tǒng)環(huán)境: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文件,里面只有指定內(nèi)核為26和26.28的,我內(nèi)核是31,即使我把內(nèi)核指定為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?

2017年7月25日 05:09