Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在运行Build的时候,进入infinity loop #18

Open
0xLukelll opened this issue Mar 16, 2024 · 3 comments
Open

在运行Build的时候,进入infinity loop #18

0xLukelll opened this issue Mar 16, 2024 · 3 comments

Comments

@0xLukelll
Copy link

你好,作者。我试图在Ubuntu 20.04上安装Wukong,但我一直遇到以下问题:
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_CXX_COMPILER= /usr/bin/c++
CMAKE_CXX_COMPILER= /usr/bin/c++
CMAKE_CXX_COMPILER= /usr/bin/c++

build.sh脚本似乎进入了一个循环,尽管我尝试了多次,结果仍然相同。我已经阅读了你对其他人的建议,并尝试使用最新的仓库进行安装,但我发现安装指南已经过时,缺少了许多依赖项。请问我该如何解决这个bug,或者你有没有更全面的安装指南?非常感谢。

@Bessss-zyw
Copy link

Bessss-zyw commented Mar 28, 2024

同学你好,你的问题可能是因为在运行build.sh脚本前先没有清理掉CMAKE的cache,所以你可以试试在运行该脚本前将build/目录删除

@Luke5256065
Copy link

同学你好,你的问题可能是因为在运行build.sh脚本前先没有清理掉CMAKE的cache,所以你可以试试在运行该脚本前将build/目录删除

感谢你的回复,我删除build目录后运行build.sh脚本还遇到了相同的问题, 请问还有别的解决方案嘛?

@Bessss-zyw
Copy link

Bessss-zyw commented Mar 31, 2024

检查一下openmpi是否安装在了正确的路径,在正常build的时候Check for working CXX compiler: 后面的输出应该是${WUKONG_ROOT}/deps/openmpi-1.6.5-install/bin/mpic++,而非/usr/bin/c++

@SJTU-IPADS SJTU-IPADS deleted a comment from 0xLukelll Mar 31, 2024
@SJTU-IPADS SJTU-IPADS deleted a comment from 0xLukelll Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants