Openembedded Core Discussions
 help / color / mirror / Atom feed
* small number of perl modules that can't be cross-compiled
@ 2016-11-18 11:41 Robert P. J. Day
  2016-11-18 12:27 ` André Draszik
  0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2016-11-18 11:41 UTC (permalink / raw)
  To: OE Core mailing list


  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/sysroots/qemuppc
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.
Error in configuring the Authen::PAM module.
... snip ...

  so i'm assuming the source itself for Authen::PAM:

https://metacpan.org/pod/Authen::PAM

is somehow flawed in that it doesn't properly recognize
cross-compilation, would that be it?

  i'm about to peruse the build process, but if someone has a quick
answer as to what the issue is here, there are 2 or 3 other modules
that have exactly the same issue. much thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-11-18 14:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-18 11:41 small number of perl modules that can't be cross-compiled Robert P. J. Day
2016-11-18 12:27 ` André Draszik
2016-11-18 12:46   ` Robert P. J. Day
2016-11-18 13:15     ` André Draszik
2016-11-18 14:09       ` Robert P. J. Day
2016-11-18 14:50         ` André Draszik
2016-11-18 14:55           ` Robert P. J. Day
2016-11-18 13:03   ` Jens Rehsack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox