Re: error executing ./do_cmake.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-- 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@xxxxxxxxx> 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@xxxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
>> >>
>> >> On Wed, Oct 28, 2020 at 10:05 PM dorinda bassey <dorindabassey@xxxxxxxxx> 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@xxxxxxxxxx> wrote:
>> >> >>
>> >> >> later
>> >> >>
>> >> >>
>> >> >> On Wed, Oct 28, 2020 at 2:00 AM <dorindabassey@xxxxxxxxx> 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@xxxxxxx
>> >> > To unsubscribe send an email to dev-leave@xxxxxxx
>> >>
>> >>
>> >>
>> >> --
>> >> Regards
>> >> Kefu Chai
>>
>>
>>
>> --
>> Cheers,
>> Brad
>>


-- 
Cheers,
Brad
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux