From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp486.redcondor.net (smtp486.redcondor.net [208.80.204.86]) by mail.openembedded.org (Postfix) with ESMTP id 4B1C6719C8 for ; Fri, 18 Nov 2016 14:56:56 +0000 (UTC) Received: from astoria.ccjclearline.com ([64.235.106.9]) by smtp486.redcondor.net ({6695537a-536a-45f9-a249-877c85428649}) via TCP (outbound) with ESMTPS id 20161118145636291_0486; Fri, 18 Nov 2016 14:56:36 +0000 X-RC-FROM: Received: from [174.118.92.171] (port=60708 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1c7kab-0006rx-6I; Fri, 18 Nov 2016 09:56:29 -0500 Date: Fri, 18 Nov 2016 09:55:22 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: =?ISO-8859-15?Q?Andr=E9_Draszik?= In-Reply-To: <1479480655.27546.16.camel@andred.net> Message-ID: References: <1479472068.27546.12.camel@andred.net> <1479474900.27546.14.camel@andred.net> <1479480655.27546.16.camel@andred.net> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 X-MAG-OUTBOUND: ccj.redcondor.net@64.235.106.9/32 Cc: OE Core mailing list Subject: Re: small number of perl modules that can't be cross-compiled X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 14:56:59 -0000 Content-Type: multipart/mixed; BOUNDARY="8323328-559712597-1479480924=:19358" --8323328-559712597-1479480924=:19358 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Fri, 18 Nov 2016, André Draszik wrote: > On Fri, 2016-11-18 at 09:09 -0500, Robert P. J. Day wrote: > > On Fri, 18 Nov 2016, André Draszik wrote: > > > > > On Fri, 2016-11-18 at 07:46 -0500, Robert P. J. Day wrote: > > > > On Fri, 18 Nov 2016, André Draszik wrote: > > > > > > > > > On Fri, 2016-11-18 at 06:41 -0500, Robert P. J. Day wrote: > > > > > >   after OE recipfying over 100 perl modules from CPAN, i'm down to > > > > > > less than a dozen that are going to take more work, and a small > > > > > > number > > > > > > of those seem to be simply badly written in that they don't > > > > > > support > > > > > > cross-compilation for my target choice of "qemuppc". example > > > > > > boilerplate recipe i put together produces this: > > > > > > > > > > > > $ make libauthen-pam-perl > > > > > > ... snip ... > > > > > > Checking if your kit is complete... > > > > > > Looks good > > > > > > checking for gcc... powerpc-wrs-linux-gcc -m32 -mhard-float > > > > > > -mcpu=7400 > > > > > > -- > > > > > > sysroot=/home/rpjday/WRL/builds/msm/nov17/bitbake_build/tmp/sysroo > > > > > > ts/q > > > > > > emup > > > > > > pc > > > > > > checking for C compiler default output file name... a.out > > > > > > checking whether the C compiler works... configure: error: cannot > > > > > > run > > > > > > C compiled programs. > > > > > > If you meant to cross compile, use `--host'. > > > > > > See `config.log' for more details. > > > > > > > > > > It'd be useful to see config.log, ... > > > > > > > >   see bottom. > > > > > > That message is referring to config.log from autotools, not the > > > bitbake do_configure.log. Should be somewhere below ${B} > > > >   sorry, my mistake ... see below: > > > > This file contains any messages produced by compilers while > > running configure, to aid debugging if configure makes a mistake. > > > > It was created by Authen::PAM configure 0.16, which was > > generated by GNU Autoconf 2.59.  Invocation command line was > > > >   $ ./configure > > I think the issues are in your recipe. You should see *many* arguments to > configure. In particular --build= --host= --target=, but many more. > > Also, this explains that message: > > configure:1697: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. i realize that now, so that will be today's project. thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== --8323328-559712597-1479480924=:19358--