configure: error: cannot guess build type; you must specify one

简介: configure: error: cannot guess build type; you must specify one

错误如下:


configure: error: cannot guess build type; you must specify one
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** No rule to make target 'install'。 停止。

解决办法:


加个参数即可。


加什么参数?吾在build目录下,看到了:


aarch64-linux/arm-linux/linux等。选择一个试试,可以:


./configure --build=arm-linux
目录
相关文章
|
6月前
No rule to make target ‘.xxxxxxxx‘, needed by ‘debug/xxxx.cpp‘. Stop.
No rule to make target ‘.xxxxxxxx‘, needed by ‘debug/xxxx.cpp‘. Stop.
|
6月前
|
编译器
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
436 0
|
PyTorch 算法框架/工具
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
231 0
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
checking build system type... ./config.guess: unable to guess system type/you must specify one
checking build system type... ./config.guess: unable to guess system type/you must specify one
170 0
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
141 0
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
330 0
./configure: line 4850: ` XIPH_PATH_OGG(, as_fn_error $? "'
./configure: line 4850: ` XIPH_PATH_OGG(, as_fn_error $? "'
83 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
192 0
Error: invalid option: --with-training-tools
Error: invalid option: --with-training-tools
178 0