$50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 5 lines · Robert P. J. Day
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:
FWIW I had a quick look at this. I'm certainly no perl guru and can barely understand it, but it does *so much* wrong that if you really need this then it would be easier to just rewrite the makefile.pl from scratch. Once you remove the hunting for the headers in the wrong place, it then invokes an autoconf script... which needs to be passed the right options.
Do you really need this module? It's not been updated for many years, so surely there's something better.
Ross
Quoted 14 lines · Ross
On 20 December 2016 at 18:32, Robert P. J. Day <[email protected]> wrote:
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:FWIW I had a quick look at this. I'm certainly no perl guru and can barely understand it, but it does *so much* wrong that if you really need this then it would be easier to just rewrite the makefile.pl from scratch. Once you remove the hunting for the headers in the wrong place, it then invokes an autoconf script... which needs to be passed the right options.
Quoted 2 lines
Do you really need this module? It's not been updated for many years, so surely there's something better.
i have been *told* that this module is necessary, i don't know
enough about the context to know what for. if there is something more recent that has the same capability, then i'd love to see it.
until then, $50 is still up for grabs.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================the earlier note from ross i had totally forgotten about ...
Quoted 9 lines · Ross
FWIW I had a quick look at this. I'm certainly no perl guru and can barely understand it, but it does *so much* wrong that if you really need this then it would be easier to just rewrite the makefile.pl from scratch. Once you remove the hunting for the headers in the wrong place, it then invokes an autoconf script... which needs to be passed the right options.
Do you really need this module? It's not been updated for many years, so surely there's something better.
and that's the question ... is there something better? is there not
a single person who needs this feature in their OE/YP build? perhaps not. maybe i really do need to hire a contractor to take care of this.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 12 lines · Robert P. J. Day
the earlier note from ross i had totally forgotten about ...
Quoted 7 lines · Ross
FWIW I had a quick look at this. I'm certainly no perl guru and can barely understand it, but it does *so much* wrong that if you really need this then it would be easier to just rewrite the makefile.pl from scratch. Once you remove the hunting for the headers in the wrong place, it then invokes an autoconf script... which needs to be passed the right options.
Quoted 8 lines
Quoted 2 lines
Do you really need this module? It's not been updated for many years, so surely there's something better.
and that's the question ... is there something better? is there not
a single person who needs this feature in their OE/YP build? perhaps not. maybe i really do need to hire a contractor to take care of this.
In my mind the question is deeper than that. The question is "is there not a single person who needs this feature in perl?". The upstream is the problem. It is just not ready to cross-compile.
--Tim
Quoted 18 lines
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.caTwitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday========================================================================
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core