- 论坛徽章:
- 0
|
ports中只有0.2.7的,于是就直接到管网下载了0.2.8,下载后解压安装出错,如下:
lab# make install
"Makefile", line 50: Missing dependency operator
"Makefile", line 56: Need an operator
"Makefile", line 57: Missing dependency operator
"Makefile", line 63: Need an operator
"Makefile", line 64: Missing dependency operator
"Makefile", line 67: Need an operator
"Makefile", line 68: Missing dependency operator
"Makefile", line 74: Need an operator
"Makefile", line 75: Missing dependency operator
"Makefile", line 80: Need an operator
"Makefile", line 83: Need an operator
"Makefile", line 84: Need an operator
"Makefile", line 85: Need an operator
"Makefile", line 86: Need an operator
"Makefile", line 87: Need an operator
"Makefile", line 164: Missing dependency operator
"Makefile", line 167: Need an operator
"Makefile", line 169: Missing dependency operator
"Makefile", line 172: Need an operator
"Makefile", line 174: Missing dependency operator
"Makefile", line 177: Need an operator
"Makefile", line 180: Missing dependency operator
"Makefile", line 184: Need an operator
"Makefile", line 187: Missing dependency operator
"Makefile", line 193: Need an operator
make: fatal errors encountered -- cannot continue
查看Makefile,50行如下:
ifeq ($(shell uname), FreeBSD) ##这就是第50行
PTHREAD_LIBS?=-pthread
LOCALBASE?=/usr/local
CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \
$(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64
LIBS=-L$(LOCALBASE)/lib -L. -ldl -lelf $(PTHREAD_LIBS) $(LDFLAGS)
else
ifeq ($(shell uname), Linux)
PTHREAD_LIBS?=-lpthread
请问应该如何处理啊,请帮忙!! |
|