<div dir="ltr">I ran into a similar issue and the way I solved it was by installing the -dev package for Python. For me this was libpython3-dev on Ubuntu. I'm not sure how to do that with the Anaconda installation, but this may help point you in the right direction.<div><br></div><div>Regards,</div><div><br></div><div>Alex</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 30, 2018 at 6:57 AM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pete,<br>
<br>
Do you get anything with:<br>
$ which python3.6<br>
<br>
Probably, it is looking for that invocation command. I ought to try<br>
this, because my Ubuntu does not ship with python3.6 I know, so maybe<br>
it breaks too... hm<br>
<br>
On Mon, May 28, 2018 at 6:23 PM, Siddons, David <<a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>> wrote:<br>
> Hi Amaan,<br>
> Actually, /home/peter/miniconda3/bin/python is a soft link to<br>
> /home/peter/miniconda3/bin/python3.6 already! Does rsb not follow links?<br>
> Pete.<br>
><br>
> ________________________________<br>
> From: Amaan Cheval [<a href="mailto:amaan.cheval@gmail.com" target="_blank">amaan.cheval@gmail.com</a>]<br>
> Sent: Monday, May 28, 2018 6:05 PM<br>
> To: Siddons, David<br>
> Cc: <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> Subject: Re: rsb problem with python<br>
><br>
> Hey David!<br>
><br>
> It looks to me like Anaconda doesn't install the "alias" binaries specifying<br>
> the version (for eg. both "python" and "python3.6"). I believe the fix in<br>
> your case should be as simple as copying your existing binary with the<br>
> following command:<br>
><br>
> cp /home/peter/miniconda3/bin/python /home/peter/miniconda3/bin/python3.6<br>
><br>
><br>
> On Tue, May 29, 2018, 3:28 AM Siddons, David <<a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>> wrote:<br>
>><br>
>> While building rsb for arm-rtems I got this problem:<br>
>><br>
>> checking for python... /home/peter/miniconda3/bin/python<br>
>> checking for python3.6... no<br>
>> configure: error: python is missing or unusable<br>
>> Makefile:9095: recipe for target 'configure-gdb' failed<br>
>> make[1]: *** [configure-gdb] Error 1<br>
>> make[1]: Leaving directory<br>
>> '/home/peter/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1/build'<br>
>> Makefile:848: recipe for target 'all' failed<br>
>> make: *** [all] Error 2<br>
>> shell cmd failed: /bin/sh -ex<br>
>> /home/peter/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1/doit<br>
>> error: building<br>
>> arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1peter@peter-Latitude-E7240:~/development/rtems/src/rtems-source-builder/rtems$<br>
>><br>
>> I am running Ubuntu:<br>
>><br>
>> peter@peter-Latitude-E7240:/etc$ lsb_release -a<br>
>> LSB Version:<br>
>> core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch<br>
>> Distributor ID: Ubuntu<br>
>> Description: Ubuntu 16.04.4 LTS<br>
>> Release: 16.04<br>
>> Codename: xenial<br>
>><br>
>> then:<br>
>><br>
>> python -V<br>
>> Python 3.6.1 :: Continuum Analytics, Inc.<br>
>><br>
>> This comes from an Anaconda installation. If I remove the path entry which<br>
>> causes that I get python 2.7, which is the default Ubuntu 16.04 version. Do<br>
>> I need to install Python 3.6?<br>
>><br>
>> Pete.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> users mailing list<br>
>> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
><br>
><br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</blockquote></div>