[poky] apache2-native_2.4.6.bb build crash
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Jan 16 06:02:41 PST 2015
Hi Matti,
On Friday 16 January 2015 11:09:45 matti kaasinen wrote:
> I try to build core-image-minimal for poky/dizzy. Run crashes when excuting
>
> apache2-native_2.4.6.bb. Error message tells that:
> | checking for pcre-config...
>
> /TMPDIR/sysroots/x86_64-linux/usr/bin/pcre-config
>
> | configure: error: Did not find pcre-config script at
>
> /TMPDIR/sysroots/x86_64-linux/usr/bin/pcre-config
>
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at
>
> /TMPDIR/work/x86_64-linux/apache2-native/2.4.6-r0/temp/log.do_configure.1698
> 5)
I presume you mean you're building core-image-minimal with packages added to
it, because core-image-minimal by itself would never trigger a build of
apache2-native.
Regarding the failure itself, I suspect that there is a missing dependency on
libpcre-native in the apache2-native recipe.
> I copied:
> /TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/libpcre/8.35-r0/build/pcre-c
> onfig
>
> to
> /TMPDIR/sysroots/x86_64-linux/usr/bin/pcre-config
> Then core-image-minimal with apache2 went through.
> However, I suppose, this is not quite how it should work.
No, the better workaround would be to run
bitbake libpcre-native
(or add libpcre-native to DEPENDS in the apache2-native recipe, which I will
add to my todo list.)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the poky
mailing list