for my qemuppc target, i wanted to add perl bindings to the target "rpm" command, so i checked the "rpm_5.4.16.bb" recipe file to find:
# Perl modules are not built, but they could be enabled fairly easily # the perl module creation and installation would need to be patched. # (currently has host perl contamination issues) WITH_PERL = "--with-perl --without-perlembed --without-perl-urpm" WITHOUT_PERL = "--without-perl --without-perl-urpm" PACKAGECONFIG[perl] = "${WITH_PERL},${WITHOUT_PERL},perl," um ... ok, no idea what the issue is here but what the heck, let's just try it and see what happens, so added: PACKAGECONFIG_append_pn-rpm = " perl" to "local.conf", ran "bitbake rpm" and eventually got: | Making all in perl | make[2]: Entering directory '/home/rpjday/oe/builds/msm_qemuppc/tmp/work/ppc7400-poky-linux/rpm/5.4.16-r0/build/perl' | /usr/bin/perl Makefile.PL CC="powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=7400 -mno-spe --sysroot=/home/rpjday/oe/builds/msm_qemuppc/tmp/sysroots/qemuppc" MAKEFILE=Makefile.perl | Bareword found where operator expected at Makefile.PL line 71, near "--sysroot" | (Missing operator before sysroot?) | Can't modify constant item in postdecrement (--) at Makefile.PL line 71, near "spe --" | syntax error at Makefile.PL line 71, near "--sysroot" ... snip ... ????. so i open build/perl/Makefile.PL and, sure enough, down at line 71: WriteMakefile( 'NAME' => 'RPM', 'OBJECT' => join(' ', @objects), 'VERSION' => '5.4.16', 'MAKEFILE'=> 'Makefile.perl', 'CC' => powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=7400 -mno-spe --sysroot=/home/rpjday/oe/builds/msm_qemuppc/tmp/sysroots/qemuppc, ... snip ... doesn't that 'CC' line also need quotes around the value being assigned? that seems to be a fairly blatant error, no? or am i misreading something? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core