From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 4F5A565D25 for ; Mon, 21 Apr 2014 03:13:36 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s3L3DY44024136 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 20 Apr 2014 20:13:35 -0700 (PDT) Received: from [128.224.162.194] (128.224.162.194) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.169.1; Sun, 20 Apr 2014 20:13:33 -0700 Message-ID: <53548CDA.4000804@windriver.com> Date: Mon, 21 Apr 2014 11:13:30 +0800 From: Hongxu Jia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Tim Orling References: <1391410275-31251-1-git-send-email-ticotimo@gmail.com> <1391410275-31251-2-git-send-email-ticotimo@gmail.com> <1791318.0sP5eWebrA@peggleto-mobl5.ger.corp.intel.com> <53547FB6.5040609@windriver.com> <53548B00.5000700@windriver.com> In-Reply-To: <53548B00.5000700@windriver.com> Cc: openembedded-devel@lists.openembedded.org Subject: Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2014 03:13:39 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 >> 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 >>> >