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: Thu, 04 Mar 2010 21:45:00 -0000	[thread overview]
Message-ID: <m31vfzzrq4.fsf@fleche.redhat.com> (raw)
In-Reply-To: <2bf229d31003031823t2825f09fu62340b70c22bdcba@mail.gmail.com> 	(Chris Sutcliffe's message of "Wed, 3 Mar 2010 21:23:28 -0500")

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

Chris> I've hacked the configure script to allow for Python support under
Chris> Windows, but the source itself is also going to need some fixing up.

Chris> what I'm unclear on is how to make (line 9470):
Chris>   version=python2.6
Chris> conditional on Windows to be:
Chris>   version=python26

You'll want to change configure.ac, not configure.

One idea would be to change AC_TRY_LIBPYTHON to try both forms, by
removing the "."; or look at $host_os.  There are other examples of the
latter in the code.

Chris> and similarly (line 9456):
Chris>     python_libs="-L${with_python}/lib"
Chris> to conditionally be:
Chris>     python_libs="-L${with_python}/libs"
Chris> on Windows.

Examining $host_os seems reasonable here.

Tom


  reply	other threads:[~2010-03-04 21:45 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
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 [this message]
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=m31vfzzrq4.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