[yocto] How to enable php5 (php_5.5.24.bb) support for postgresql

yocto yocto yoctomailinglist at gmail.com
Fri May 22 06:34:50 PDT 2015


Thanks for helping me. My *.bbappend looks now like this:

PACKAGECONFIG_append_class-target = " pgsql"

"bitbake php" results now in:

ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
Rerun configure task after fixing this. The path was
'[...]/core2-32-poky-linux/php/5.5.24-r0/php-5.5.24'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
[...]/core2-32-poky-linux/php/5.5.24-r0/temp/log.do_configure.16729
ERROR: Task 5 ([...]/recipes-devtools/php/php_5.5.24.bb, do_configure)
failed with exit code '1

>From the recipe I can see that

do_configure_prepend
do_configure_append

exist. For test purposes I added an empty

do_configure () {
}

This results in

ERROR: Function failed: do_install
(Much text)
 cp: cannot stat 'ltmain.sh': No such file or directory
(Much text)
ERROR: oe_runmake failed





2015-05-22 14:48 GMT+02:00 Paul Eggleton <paul.eggleton at linux.intel.com>:

> On Friday 22 May 2015 14:00:50 Martin Jansa wrote:
> > On Fri, May 22, 2015 at 01:44:20PM +0200, yocto yocto wrote:
> > > I set BBCLASSEXTEND = "native" active again. My php_5.5.24.bbappend
> looks
> > > like this (just one line):
> > >
> > > PACKAGECONFIG_append_class-native = " pgsql"
> >
> > Do you really want to add it for native or target version?
>
> Oops, yes, that was my mistake in my original reply - should be
> class-target
> not class-native.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150522/0c492b45/attachment.html>


More information about the yocto mailing list