./configure error
Closed this issue · 1 comments
winter-hi commented
./configure
checking for OS
- Linux 2.6 x86_64
checking for C compiler ... found - using GNU C compiler
- gcc version: 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
checking for gcc -pipe switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for limits.h ... found
checking for inttypes.h ... found
checking for pcap.h ... not found
make
make: *** 没有规则可以创建“default”需要的目标“build”。 停止。
whereis gcc cc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
cc: /usr/bin/cc
uname -a
Linux nginx 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
os Centos6.5 x86_64
winter-hi commented
已经解决,退出zsh ,使用bash编译没有任何问题。