Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Tim Orling <ticotimo@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
Date: Mon, 21 Apr 2014 11:13:30 +0800	[thread overview]
Message-ID: <53548CDA.4000804@windriver.com> (raw)
In-Reply-To: <53548B00.5000700@windriver.com>

On 04/21/2014 11:05 AM, Hongxu Jia wrote:
> On 04/21/2014 11:01 AM, Tim Orling wrote:
>> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia 
>> <hongxu.jia@windriver.com>wrote:
>>
>>> On 04/21/2014 04:19 AM, Tim Orling wrote:
>>>
>>>> (1) I am thinking about dropping this patch. perl-native provides
>>>> Module::Metadata 1.00004, so if subsequent packages are being
>>>> cross-compiled I have not yet proven there is a need for the updated
>>>> v1.000019 provided here.
>>>>
>>>> (2) The question is, if one wanted to build subsequent packages 
>>>> in-situ,
>>>> how to provide Module::Metadata 1.00004 on a target system, since 
>>>> it is
>>>> only provided by perl-native?
>>>>
>>> It is also provided by perl, for target.
>>>
>>> //Hongxu
>>>
>>>
>> I am not seeing it. Am I missing something?
>
>
> Hi Tim,
>
> I am afraid Module::Metadataj is not in perl by default, you need
> to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
> a new package for Module::Metadata, you could reference what
> 'perl-module-cpan' did, such as:
> ...
> PACKAGES += "perl-module-metadata"
> FILES_perl-module-metadata += ">>the files you need<<"
> ...

You also need tweak do_install, to install Metadata.pm from ${S}
to ${D}, the default do_install did not do that.

//Hongxu

>
> And add 'perl-module-metadata' to your recipes's RDEPENDS.
>
> //Hongxu
>
>>
>> root@beaglebone:~# perl -mModule::Metadata
>>
>> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
>> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
>> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
>> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
>> /usr/lib/perl/5.14.3 .).
>>
>> BEGIN failed--compilation aborted.
>>
>>>> --Tim
>>>> -- 
>>>>
>>> -- 
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>



  reply	other threads:[~2014-04-21  3:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
2014-03-29  6:44   ` Hongxu Jia
2014-03-31  3:30   ` Tim Orling
2014-03-31  8:54     ` Paul Eggleton
2014-04-20 20:19       ` Tim Orling
2014-04-21  2:17         ` Hongxu Jia
2014-04-21  3:01           ` Tim Orling
2014-04-21  3:05             ` Hongxu Jia
2014-04-21  3:13               ` Hongxu Jia [this message]
2014-04-23 16:10                 ` Tim Orling
2014-05-06 13:52                   ` Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 02/10] libtext-diff-perl: add 1.41 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 03/10] libcapture-tiny-perl: add 0.23 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 04/10] libmodule-runtime-perl: add 0.013 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 05/10] libextutils-config-perl: add 0.007 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 06/10] libextutils-helpers-perl: add 0.021 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 07/10] libextutils-installpaths-perl: add 0.010 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030 Tim Orling
2014-03-29  6:24   ` Hongxu Jia
     [not found]     ` <CANx9H-Bc+6QxLGkr5Kv68_ag161n9gc-0bBQ0PrjTheSCZUZ1w@mail.gmail.com>
2014-03-31  5:39       ` Hongxu Jia
2014-02-03  6:51 ` [meta-perl][PATCH v2 09/10] libextutils-cppguess-perl: add 0.07 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 10/10] libalgorithm-diff-perl: add 1.15 Tim Orling
2014-02-26 10:03 ` [meta-perl][PATCH v2 00/10] Paul Eggleton
2014-03-09 11:49   ` Paul Eggleton
2014-03-17 11:06     ` Paul Eggleton

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=53548CDA.4000804@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=ticotimo@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