Hi all, following the ceph build instruction, while trying to run "./do_cmake.sh" this error occurred https://paste.sh/0LD4KSGT#LyeN2Tofi2JY6pQwwllFjvoj my OS is Ubuntu version 18.04 I appreciate any help, thanks
tried that in a containerized build (also ubuntu18.04) and got the same issue. cmake log and errors log here: https://paste.sh/TlRvujS-#4D1iP0yw7yCPxdnuwKndiR_G On Tue, Oct 27, 2020 at 3:10 PM <dorindabassey@gmail.com> wrote:
Hi all, following the ceph build instruction, while trying to run "./do_cmake.sh" this error occurred https://paste.sh/0LD4KSGT#LyeN2Tofi2JY6pQwwllFjvoj my OS is Ubuntu version 18.04 I appreciate any help, thanks _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
On Tue, Oct 27, 2020 at 9:10 PM <dorindabassey@gmail.com> wrote:
Hi all, following the ceph build instruction, while trying to run "./do_cmake.sh" this error occurred https://paste.sh/0LD4KSGT#LyeN2Tofi2JY6pQwwllFjvoj my OS is Ubuntu version 18.04 I appreciate any help, thanks
have you run ./install-deps.sh before running ./do_cmake.sh? see https://github.com/ceph/ceph#build-prerequisites and https://docs.ceph.com/en/latest/dev/quick_guide/#development.
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
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.
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
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. 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
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com> wrote:
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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
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
"./install-deps.sh" "./do_cmake.sh" again, i was able to get some more dependencies python3.
-- Cheers, Brad
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
So if you install valgrind how far does ./do_cmake.sh get now? If it still errors out could you include the entire output of the script as well as CMakeError.log and CMakeOutput.log? On Thu, Oct 29, 2020 at 8:22 PM dorinda bassey <dorindabassey@gmail.com> wrote:
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO
On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com> wrote:
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Cheers, Brad
okay, so after installing valgrind, and running ./do_cmake.sh heres the error output: https://paste.sh/1dQL3GSW#YLXkLHPyoV9dlyTh8g_pdzow please find attached the error logs On Thu, Oct 29, 2020 at 5:46 PM Brad Hubbard <bhubbard@redhat.com> wrote:
So if you install valgrind how far does ./do_cmake.sh get now?
If it still errors out could you include the entire output of the script as well as CMakeError.log and CMakeOutput.log?
On Thu, Oct 29, 2020 at 8:22 PM dorinda bassey <dorindabassey@gmail.com> wrote:
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO
On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com> wrote:
On Wed, Oct 28, 2020 at 10:05 PM dorinda bassey <
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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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
dorindabassey@gmail.com> wrote: python3.
-- Cheers, Brad
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Cheers, Brad
-- ssl soname: libssl.so.1.1 -- crypto soname: libcrypto.so.1.1 CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR Development) (found suitable version "3.8.0", minimum required is "3") Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindPython/Support.cmake:1181 (find_package_handle_standard_args) cmake/modules/FindPython3.cmake:181 (include) CMakeLists.txt:432 (find_package) This happens if you have python3.8 installed, but not python3.8-dev as Kefu mentioned previously. Try 'apt-get install python3.8-dev' and see how much further you get. On Fri, Oct 30, 2020 at 9:57 AM dorinda bassey <dorindabassey@gmail.com> wrote:
okay, so after installing valgrind, and running ./do_cmake.sh heres the error output: https://paste.sh/1dQL3GSW#YLXkLHPyoV9dlyTh8g_pdzow
please find attached the error logs
On Thu, Oct 29, 2020 at 5:46 PM Brad Hubbard <bhubbard@redhat.com> wrote:
So if you install valgrind how far does ./do_cmake.sh get now?
If it still errors out could you include the entire output of the script as well as CMakeError.log and CMakeOutput.log?
On Thu, Oct 29, 2020 at 8:22 PM dorinda bassey <dorindabassey@gmail.com> wrote:
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO
On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com> wrote:
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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
_______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Cheers, Brad
-- Cheers, Brad
On Fri, Oct 30, 2020 at 8:52 AM Brad Hubbard <bhubbard@redhat.com> wrote:
-- ssl soname: libssl.so.1.1 -- crypto soname: libcrypto.so.1.1 CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR Development) (found suitable version "3.8.0", minimum required is "3") Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindPython/Support.cmake:1181 (find_package_handle_standard_args) cmake/modules/FindPython3.cmake:181 (include) CMakeLists.txt:432 (find_package)
This happens if you have python3.8 installed, but not python3.8-dev as Kefu mentioned previously.
Try 'apt-get install python3.8-dev' and see how much further you get.
i don't think ubuntu bionic ships python3.8 as a supported python3. it comes with python3.6 though. see https://packages.ubuntu.com/bionic/python3. if you insist on using python3.8 you might want to install python3.8-dev manually. FWIW, do_cmake.sh does not pass -DWITH_PYTHON3=3.8 to cmake. instead you could either use -DWITH_PYTHON3=3.6 or just ignore this option.
On Fri, Oct 30, 2020 at 9:57 AM dorinda bassey <dorindabassey@gmail.com> wrote:
okay, so after installing valgrind, and running ./do_cmake.sh heres the error output: https://paste.sh/1dQL3GSW#YLXkLHPyoV9dlyTh8g_pdzow
please find attached the error logs
On Thu, Oct 29, 2020 at 5:46 PM Brad Hubbard <bhubbard@redhat.com> wrote:
So if you install valgrind how far does ./do_cmake.sh get now?
If it still errors out could you include the entire output of the script as well as CMakeError.log and CMakeOutput.log?
On Thu, Oct 29, 2020 at 8:22 PM dorinda bassey <dorindabassey@gmail.com> wrote:
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO
On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com> wrote:
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
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.
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 > _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Cheers, Brad
-- Cheers, Brad
-- Regards Kefu Chai
Hi, i just checked this out, and build was successful: you could either use -DWITH_PYTHON3=3.6 or just ignore this option. i appreciate all the help here😁 Thank you all Dorinda. On Thu, Oct 29, 2020 at 10:37 PM kefu chai <tchaikov@gmail.com> wrote:
On Fri, Oct 30, 2020 at 8:52 AM Brad Hubbard <bhubbard@redhat.com> wrote:
-- ssl soname: libssl.so.1.1 -- crypto soname: libcrypto.so.1.1 CMake Error at
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137
(message): Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR Development) (found suitable version "3.8.0", minimum required is "3") Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindPython/Support.cmake:1181 (find_package_handle_standard_args) cmake/modules/FindPython3.cmake:181 (include) CMakeLists.txt:432 (find_package)
This happens if you have python3.8 installed, but not python3.8-dev as Kefu mentioned previously.
Try 'apt-get install python3.8-dev' and see how much further you get.
i don't think ubuntu bionic ships python3.8 as a supported python3. it comes with python3.6 though. see https://packages.ubuntu.com/bionic/python3.
if you insist on using python3.8 you might want to install python3.8-dev manually.
FWIW, do_cmake.sh does not pass -DWITH_PYTHON3=3.8 to cmake. instead you could either use -DWITH_PYTHON3=3.6 or just ignore this option.
On Fri, Oct 30, 2020 at 9:57 AM dorinda bassey <dorindabassey@gmail.com>
okay, so after installing valgrind, and running ./do_cmake.sh heres
https://paste.sh/1dQL3GSW#YLXkLHPyoV9dlyTh8g_pdzow
please find attached the error logs
On Thu, Oct 29, 2020 at 5:46 PM Brad Hubbard <bhubbard@redhat.com> wrote:
So if you install valgrind how far does ./do_cmake.sh get now?
If it still errors out could you include the entire output of the script as well as CMakeError.log and CMakeOutput.log?
On Thu, Oct 29, 2020 at 8:22 PM dorinda bassey <
dorindabassey@gmail.com> wrote:
when i ran "./install-deps.sh" it completed without error here's the output https://paste.sh/vqn_g5Gz#Ido8-oMLfE1PGY8cFtUlkjHO
On Wed, Oct 28, 2020 at 12:14 PM kefu chai <tchaikov@gmail.com>
wrote:
On Wed, Oct 28, 2020 at 10:05 PM 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
the missing dependencies are provided by python3-all-dev i think. what was the output when you were running ./install-deps.sh ? did it completed without error?
> 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. > > 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
>> >> You could try the following to see if it assists with debugging
wrote: the error output: python3, however i have python 2.7 and python 3.8.0 installed on my machine. 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 >> > _______________________________________________ > Dev mailing list -- dev@ceph.io > To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Cheers, Brad
-- Cheers, Brad
-- Regards Kefu Chai
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
participants (5)
-
Brad Hubbard
-
dorinda bassey
-
dorindabassey@gmail.com
-
kefu chai
-
Yuval Lifshitz