【发布时间】:2017-03-30 23:51:03
【问题描述】:
这是 ./configue 的结果:
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
Using git revision: 4.00.00alpha-358-g362b68e
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
./configure: line 4250: syntax error near unexpected token `-mavx,'
./configure: line 4250: `AX_CHECK_COMPILE_FLAG(-mavx, avx=true, avx=false)'
这是我运行 make 后得到的错误:
make: *** 没有指定目标,也没有找到 makefile。停止。 因此 sudo make install 也不起作用
【问题讨论】:
-
你错过了
./configure失败的部分吗?当然,在那之后make会失败。 -
我看到了,我知道 make 行不通,这正是我在这里的原因 :) 说真的,你不得不来投反对票……天哪,这里的社区真的很评判.. 还有两个像你和我这样的人将在接下来的四天内被禁止发帖,而我有一个概念证明要在这个星期一交付 -_-