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