From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
Date: Tue, 20 Dec 2016 13:32:31 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.20.1612201321490.5281@localhost.localdomain> (raw)
really, i just don't have time to mess with this anymore and i'm
more than happy to pay someone $50 CAD (interac transfer) to provide
me with a proper recipe and essential patches for the perl module
Filesys-SmbClient-3.2 here:
http://search.cpan.org/~alian/Filesys-SmbClient-3.2/
the fundamental issue seems to be that the source for that module is
simply not set up for cross-compilation -- the Makefile.PL file would
suggest that:
sub find_path {
my $ext = ($_[0]=~m!\.h$! ? "include" : ( $ENV{HOSTTYPE}=~m!x86_64! ? "lib64" : "lib"));
my $defaultsDir = { "/usr" => 1,
"/usr/local" => 1,
"/usr/local/samba" => 1,
"/usr/local/samba3" => 1 };
... etc etc ...
and when i throw together an absolutely boilerplate recipe for that
module along the lines of what i did for dozens of others, i get:
| I search in: /home/rpjday/oe/builds/qemuarm/tmp/sysroots-uninative/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/perl-native/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/qemuarm/usr/crossscripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/dist/layers/poky/bitbake/include
| /home/rpjday/oe/dist/bb/bin/include
| /home/rpjday/oe/dist/bb/bin/include
| /usr/local/s/include
| /usr/s/include
| /home/rpjday/.local/include
| /home/rpjday/include
| /usr/local/include
| /usr/local/samba3/include
| /usr/include
| /usr/local/samba/include
| Where can I find libsmbclient.h ? []
*************************************************************
| ** WHAT !!!!
| ** I Can't find /libsmbclient.h : No such file or directory.
... and same problem looking for libsmbclient.so.
using the latest poky checkout, i built a perfectly reasonable
core-image-minimal for qemuarm, and it boots and runs, and i've added
samba to it so that one can find libsmbclient.so here under
tmp/sysroots/:
$ find . -name libsmbclient.so*
./qemuarm/usr/lib/libsmbclient.so.0.2.3
./qemuarm/usr/lib/libsmbclient.so.0
./qemuarm/usr/lib/libsmbclient.so
$
but when i try to bitbake that smbclient recipe, i get the errors
above. anyway, what little i still know about perl modules, it looks
pretty clear that the source for that module doesn't understand
cross-compilation, so if anyone wants to collect, get me something
that builds under OE. thank you kindly.
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:[~2016-12-20 18:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-20 18:32 Robert P. J. Day [this message]
2016-12-20 20:47 ` $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously Burton, Ross
2016-12-21 10:31 ` Robert P. J. Day
2017-01-20 11:52 ` Robert P. J. Day
2017-01-20 14:53 ` Tim Orling
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.1612201321490.5281@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