Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: PGNet Dev <pgnet.dev@gmail.com>
To: Christian Biesinger <cbiesinger@chromium.org>
Cc: gdb@sourceware.org
Subject: Re: gdb/head build, --with-python=<path to working python> FAILs @ "no usable python found " ?
Date: Wed, 25 Mar 2020 15:14:50 -0700	[thread overview]
Message-ID: <63388801-ba43-ecab-7384-c396515a32bc@gmail.com> (raw)
In-Reply-To: <CAPTJ0XE0YSEB4F8Qm_MvTOXgdCdzajwkXXrn3ALRU539QPN=yA@mail.gmail.com>

On 3/25/20 2:57 PM, Christian Biesinger wrote:
...
> Yes, Python 3 is known to work, though Python 2.7 is also supported.

gr8, thx

> - What does gdb/config.log say?

==>  https://pastebin.com/ZPaKjG9Z

> - Do you also have the headers

yep.

	ls -al /usr/local/pyenv/versions/3.8-dev/include/python3.8/Python.h
		-rw-r--r-- 1 root root 3.6K Mar 20 20:44 /usr/local/pyenv/versions/3.8-dev/include/python3.8/Python.h
	... etc ...

> and libraries installed?

	ls -al /usr/local/pyenv/versions/3.8-dev/lib/
		total 17M
		drwxr-xr-x  4 root root 4.0K Mar 20 20:44 ./
		drwxr-xr-x  7 root root 4.0K Mar 20 20:49 ../
		lrwxrwxrwx  1 root root   19 Mar 20 20:44 libpython3.8.so -> libpython3.8.so.1.0*
		-rwxr-xr-x  1 root root  17M Mar 20 20:44 libpython3.8.so.1.0*
		-rwxr-xr-x  1 root root 8.6K Mar 20 20:44 libpython3.so*
		drwxr-xr-x  2 root root 4.0K Mar 20 20:44 pkgconfig/
		drwxr-xr-x 35 root root 4.0K Mar 20 20:44 python3.8/

atm, NO add'l *FLAGS set to either ...

> - Just to confirm,  /usr/local/pyenv/versions/3.8-dev/bin/python3.8 is the binary and not a directory, right?

correct.

	ls -ald /usr/local/pyenv/versions/3.8-dev/bin/python3.8
		-rwxr-xr-x 1 root root 15K Mar 20 20:44 /usr/local/pyenv/versions/3.8-dev/bin/python3.8*

	/usr/local/pyenv/versions/3.8-dev/bin/python3.8 -V
		Python 3.8.2+


  reply	other threads:[~2020-03-25 22:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 21:51 PGNet Dev
2020-03-25 21:57 ` Christian Biesinger
2020-03-25 22:14   ` PGNet Dev [this message]
2020-03-25 22:24     ` Christian Biesinger
2020-03-25 22:51       ` PGNet Dev
2020-03-25 22:55         ` Christian Biesinger
2020-03-25 23:24           ` PGNet Dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63388801-ba43-ecab-7384-c396515a32bc@gmail.com \
    --to=pgnet.dev@gmail.com \
    --cc=cbiesinger@chromium.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox