On Thu, Oct 29, 2020 at 12:04 AM dorinda bassey <dorindabassey@gmail.com> wrote:
okay so i've tried this: $ rm -rf build $ mkdir build && cd $_ $ cmake3 -DWITH_PYTHON3=3.8 -DWITH_CCACHE=ON --trace-expand .. and got this error output: https://paste.sh/0orAJVkM#khoF1X09kmguHO5cC9JBEY3n ps: i used "cmake -DWITH_PYTHON3=3.8 -DWITH_CCACHE=ON --trace-expand" since cmake3 is not installed.
then i tried installing python 3 again, which is already installed on my machine and reran the command: $ rm -rf build $ mkdir build && cd $_ $ cmake3 -DWITH_PYTHON3=3.8 -DWITH_CCACHE=ON --trace-expand .. this time the error output is different: https://paste.sh/zB2AqQ09#0ArXE7MyMEPqnJppIXW7N2Bs please find attached error log for this.
/home/dorinda/ceph/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:10: fatal error: valgrind/helgrind.h: No such file or directory This means you don't have valgrind installed which should have been installed by install-deps.sh. Please verify this script is completing successfully.
On Tue, Oct 27, 2020 at 7:44 PM Brad Hubbard <bhubbard@redhat.com> wrote:
later
On Wed, Oct 28, 2020 at 2:00 AM <dorindabassey@gmail.com> wrote:
Yes, I have done that, before i got the error above. but i noticed that once i installed curl, and ran these "./install-deps.sh" "./do_cmake.sh" again, i was able to get some more dependencies now this is the error am recieving: https://paste.sh/fNyA_5fb#r7QJDagMxlRuHh6i591bB21s quite similar but this time the error output is about python3, however i have python 2.7 and python 3.8.0 installed on my machine.
You could try the following to see if it assists with debugging the issue.
$ rm -rf build $ bash -x ./do_cmake.sh 2>&1|grep "^+ cmake" + cmake3 -DWITH_PYTHON3=3.8 -DWITH_CCACHE=ON ..
The above gives you the base command you want to run later (it may be different to mine) that we add '--trace-expand' to shortly.
$ rm -rf build $ mkdir build && cd $_ $ cmake3 -DWITH_PYTHON3=3.8 -DWITH_CCACHE=ON --trace-expand ..
See if that gives you any more information about why it can't find python3.
-- Cheers, Brad
-- Cheers, Brad