From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe] gdb-cross-canadian: build gdb with python support
Date: Thu, 2 Feb 2012 09:06:19 +0100 [thread overview]
Message-ID: <20120202090619.721d082b@eb-e6520> (raw)
In-Reply-To: <CA+chaQe-XFR6XVAoept8+d8kqoZ1y2qBoVXgetEPpD2n50nYBA@mail.gmail.com>
Hi Martin,
Le Thu, 2 Feb 2012 08:45:13 +0100,
Martin Jansa <martin.jansa@gmail.com> a écrit :
> On Wed, Jan 4, 2012 at 9:05 AM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi Khem,
> >
> > Le Tue, 3 Jan 2012 21:18:49 -0800,
> > Khem Raj <raj.khem@gmail.com> a écrit :
> >> On (23/12/11 08:12), Eric Bénard wrote:
> >> > * python support is needed for providing finer scripting control
> >> > in gdb, and for remote controling gdb for example from qtcreator
> >> > * gdb/configure tries to autodetect python using python executable
> >> > with --includes --ldflags --exec-prefix to get the right flags
> >> > As it's difficult to achieve in OE's context, we generate a
> >> > script which will return the right values and make gdb's build
> >> > system happy. This idea was taken from the following article :
> >> > http://www.mentby.com/doug-evans-2/python-enabled-gdb-on-windows-and-relocation.html
> >> > * tested using angstrom & armv7/armv5 targets & qtcreator 201005 & 2.4.0
> >>
> >> I think this change should go into oe-core. Can you please redo it
> >> w.r.t. oe-core
> >>
> > I agree with you, I initally submited it for oe-core and was asked
> > to put it into meta-oe by Jessica :
> > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014828.html
> > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014833.html
> >
> > Eric
>
> Hi Eric,
>
> with this patch I see gdb-cross-canadian_7.3.1.bb failing with:
> | checking whether to use python...
> /OE/shr-core/tmp/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-arm/gdb-cross-canadian-arm-7.3.1-r5.1/python
> | checking for python2.7... no
> | configure: error: no usable python found at
> /OE/shr-core/tmp/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-arm/gdb-cross-canadian-arm-7.3.1-r5.1/python
>
> and
> /OE/shr-core/tmp/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-arm/gdb-cross-canadian-arm-7.3.1-r5.1/python
> is really script from this patch
>
> Any hint how to fix this?
>
can you check the content of :
${WORKDIR}/python
and if
${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}${exec_prefix}/include/python${PYTHON_BASEVERSION}/
and
${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}${libdir}/python${PYTHON_BASEVERSION}/config/config
exist ?
Eric
next prev parent reply other threads:[~2012-02-02 10:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-23 7:12 [meta-oe] gdb-cross-canadian: build gdb with python support Eric Bénard
2011-12-23 11:02 ` Otavio Salvador
2012-01-04 5:18 ` Khem Raj
2012-01-04 8:05 ` Eric Bénard
2012-02-02 7:45 ` Martin Jansa
2012-02-02 8:06 ` Eric Bénard [this message]
2012-02-02 8:40 ` Martin Jansa
2012-02-02 9:17 ` Martin Jansa
2012-02-02 10:11 ` Eric Bénard
2012-02-03 7:28 ` Martin Jansa
2012-02-03 9:41 ` SDK confusion Was: [oe] " Martin Jansa
2012-02-03 9:41 ` SDK confusion Was: " Martin Jansa
2012-02-03 10:20 ` [oe] " Eric Bénard
2012-02-03 10:20 ` Eric Bénard
2012-02-03 11:44 ` [oe] " Martin Jansa
2012-02-03 11:44 ` [OE-core] " Martin Jansa
2012-02-03 13:52 ` [oe] " Eric Bénard
2012-02-03 13:52 ` [OE-core] " Eric Bénard
2012-02-02 8:58 ` Eric Bénard
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=20120202090619.721d082b@eb-e6520 \
--to=eric@eukrea.com \
--cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.