From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: still fighting to get an OE recipe for "libfilesys-smbclient-perl"
Date: Thu, 19 Jan 2017 15:58:19 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.20.1701191542230.6131@localhost.localdomain> (raw)
following up on the whining i did a while back to finish off a few
perl recipes for OE, i have just a few left to resolve, and this is
one of them. i managed to get several dozen perl recipes to work
simply by throwing together recipes based on very little understanding
of perl cpan mechanics and just mindlessly cribbing boilerplate from
other recipes. if it worked, yee ha, move on.
here's my current recipe for this module (again, slapped together
without really understanding what's going on under the hood):
///// start /////
DESCRIPTION = "Filesys::SmbClient"
SECTION = "libs"
LICENSE = "Artisticv1 | GPLv1+"
PR = "r0"
MAINTAINER= "rday"
HOMEPAGE= "https://metacpan.org/pod/Filesys::SmbClient"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
DEPENDS += "samba"
SRC_URI = "https://cpan.metacpan.org/authors/id/A/AL/ALIAN/Filesys-SmbClient-3.2.tar.gz"
SRC_URI[md5sum] = "8a4205fe748aac7f43fb2a0e8ef502b2"
SRC_URI[sha256sum] = "a9f2f3d4675de76f9dcae2be40bda93495cd5fafb1bb6326d71833cea451bc6e"
S = "${WORKDIR}/Filesys-SmbClient-${PV}"
inherit cpan
EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}/samba-4.0' LIBS='-L${STAGING_LIBDIR}'"
BBCLASSEXTEND = "native"
///// end /////
and the error i get when i try to build makes it *clear* that the
configuration is failing to set up properly for cross-compiling for my
powerpc target:
$ bitbake libfilesys-smbclient-perl
... snip ...
| Where can I find libsmbclient.h ? []
*************************************************************
| ** WHAT !!!!
| ** I Can't find /libsmbclient.h : No such file or directory.
| *************************************************************
... snip ...
| Where can I find libsmbclient.so ? []
*************************************************************
| ** WHAT !!!!
| ** I Can't find libsmbclient.so : No such file or directory.
... snip ...
| checking for C compiler default output... 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.
and sure enough, the config.log for this build contains:
Target: powerpc-poky-linux
Configured with:
../../../../../../work-shared/gcc-6.3.0-r0/gcc-6.3.0/configure
--build=x86_64-linux --host=x86_64-linux --target=powerpc-poky-linux
...
beyond this, i'm not sure how to use an OE patch to adjust this
source the right way, given that dozens and dozens of other modules
cross-compiled just fine.
thoughts? i am in now way a perl expert so i really have no idea
where to go from here.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next reply other threads:[~2017-01-19 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-19 20:58 Robert P. J. Day [this message]
2017-01-19 23:45 ` still fighting to get an OE recipe for "libfilesys-smbclient-perl" Burton, Ross
2017-01-20 3:21 ` Tim Orling
2017-01-20 11:48 ` Robert P. J. Day
2017-01-20 6:25 ` Mike Looijmans
2017-01-20 11:34 ` Robert P. J. Day
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=alpine.LFD.2.20.1701191542230.6131@localhost.localdomain \
--to=rpjday@crashcourse.ca \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox