<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="+1">Hi Gedare,</font></p>
    <p><font size="+1">   I didn't get your earlier email (?), but the
        answer is:</font></p>
    <p><font size="+1">/home/peter/miniconda3/bin/python3.6</font></p>
    <p><font size="+1">so the only way I have 3.6 is through miniconda.
        Maybe it expects /usr/bin/python3.6?</font></p>
    <p><font size="+1">Pete.</font></p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 05/30/2018 12:12 PM, Gedare Bloom
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC82fA0EvK1UJ1tJ3zAu10L1dA6k5PbrKnGty8D0xN5WWc5BPQ@mail.gmail.com">
      <pre wrap="">Alex,

Yes that also makes sense, thank you. Usually, I've seen that problem
manifest as missing Python.h, but error messages can be vague and
inconsistent. :)

On Wed, May 30, 2018 at 11:49 AM, Slide <a class="moz-txt-link-rfc2396E" href="mailto:slide.o.mix@gmail.com"><slide.o.mix@gmail.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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.

Regards,

Alex

On Wed, May 30, 2018 at 6:57 AM Gedare Bloom <a class="moz-txt-link-rfc2396E" href="mailto:gedare@rtems.org"><gedare@rtems.org></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
Pete,

Do you get anything with:
$ which python3.6

Probably, it is looking for that invocation command. I ought to try
this, because my Ubuntu does not ship with python3.6 I know, so maybe
it breaks too... hm

On Mon, May 28, 2018 at 6:23 PM, Siddons, David <a class="moz-txt-link-rfc2396E" href="mailto:siddons@bnl.gov"><siddons@bnl.gov></a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi Amaan,
   Actually,  /home/peter/miniconda3/bin/python is a soft link to
/home/peter/miniconda3/bin/python3.6 already! Does rsb not follow links?
Pete.

________________________________
From: Amaan Cheval [<a class="moz-txt-link-abbreviated" href="mailto:amaan.cheval@gmail.com">amaan.cheval@gmail.com</a>]
Sent: Monday, May 28, 2018 6:05 PM
To: Siddons, David
Cc: <a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
Subject: Re: rsb problem with python

Hey David!

It looks to me like Anaconda doesn't install the "alias" binaries
specifying
the version (for eg. both "python" and "python3.6"). I believe the fix
in
your case should be as simple as copying your existing binary with the
following command:

cp /home/peter/miniconda3/bin/python
/home/peter/miniconda3/bin/python3.6


On Tue, May 29, 2018, 3:28 AM Siddons, David <a class="moz-txt-link-rfc2396E" href="mailto:siddons@bnl.gov"><siddons@bnl.gov></a> wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">
While building rsb for arm-rtems I got this problem:

checking for python... /home/peter/miniconda3/bin/python
checking for python3.6... no
configure: error: python is missing or unusable
Makefile:9095: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory

'/home/peter/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1/build'
Makefile:848: recipe for target 'all' failed
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex

/home/peter/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1/doit
error: building

arm-rtems5-gdb-8.0.1-x86_64-linux-gnu-1peter@peter-Latitude-E7240:~/development/rtems/src/rtems-source-builder/rtems$

I am running Ubuntu:

peter@peter-Latitude-E7240:/etc$ lsb_release -a
LSB Version:

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
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial

then:

python -V
Python 3.6.1 :: Continuum Analytics, Inc.

This comes from an Anaconda installation. If I remove the path entry
which
causes that I get python 2.7, which is the default Ubuntu 16.04
version. Do
I need to install Python 3.6?

Pete.


_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <pre wrap="">

_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">.

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
D. Peter Siddons
Detector Development Group Leader
Photon Science Division, NSLS-II,
Bldg. 535B
Brookhaven National Laboratory
Upton, NY 11973

email: <a class="moz-txt-link-abbreviated" href="mailto:siddons@bnl.gov">siddons@bnl.gov</a>
Phone: (631) 344-2738
</pre>
  </body>
</html>