Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Chris Sutcliffe <ir0nh34d@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: configure: error: no usable python found
Date: Wed, 03 Mar 2010 16:06:00 -0000	[thread overview]
Message-ID: <m3r5o19yq9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <2bf229d31003030453k302064caq29a75976637203ba@mail.gmail.com> 	(Chris Sutcliffe's message of "Wed, 3 Mar 2010 07:53:55 -0500")

>>>>> "Chris" == Chris Sutcliffe <ir0nh34d@gmail.com> writes:

Chris> I configured gdb with 'configure --with-python=/python'.
Chris> Looking at the config.log file I see:

Chris> | #include "python2.6/Python.h"
Chris> | int
Chris> | main ()
Chris> | {
Chris> | Py_Initialize ();
Chris> |   ;
Chris> |   return 0;
Chris> | }

Could you also paste the command line?

Chris> Which is why it's failing, given that Python.h is in /python/include/.
Chris>  Is there a way to override where configure is looking for Python.h?

--with-python supposedly changes the includes:

  case "${with_python}" in
[...]
  /*)
    python_includes="-I${with_python}/include"
    python_libs="-L${with_python}/lib"
    ;;
[...]
  CPPFLAGS="$CPPFLAGS ${python_includes}"

Tom


  reply	other threads:[~2010-03-03 16:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 11:38 Anton Kunze
2010-03-03 11:54 ` Joel Brobecker
2010-03-03 12:54   ` Chris Sutcliffe
2010-03-03 16:06     ` Tom Tromey [this message]
2010-03-03 16:25       ` Chris Sutcliffe
2010-03-03 16:27         ` Tom Tromey
2010-03-03 16:54           ` Chris Sutcliffe
2010-03-03 19:03             ` Tom Tromey
2010-03-04  2:23               ` Chris Sutcliffe
2010-03-04 21:45                 ` Tom Tromey
2010-03-03 12:11 ` Andreas Schwab
2010-03-03 13:32   ` Anton Kunze

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=m3r5o19yq9.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=ir0nh34d@gmail.com \
    /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