On Fri, May 22, 2015 at 09:51:31AM +0100, Paul Eggleton wrote: > On Thursday 21 May 2015 23:21:53 yocto yocto wrote: > > Good day, > > > > > > I am working with the intel Edison. Therefore I am using the > > meta-openembedded “daisy” branch (have a look here: > > https://github.com/openembedded/meta-openembedded/branches/stale). Using > > another branch causes bitbake errors. Beside this, “daisy” is recommended > > for the intel Edison within the official intel documents. > > > > > > Nevertheless I added apache2_2.4.9.bb and postgresql_9.2.4.bb to my custom > > image. However, php5 support is missing. Therefore I downloaded the php > > recipe from the current master branch and put it in my custom layer: > > > > > > https://github.com/openembedded/meta-openembedded/blob/b070899000162e7f4baf7 > > 5e2427216b39c641a12/meta-oe/recipes-devtools/php/ > > > > > > <https://github.com/openembedded/meta-openembedded/blob/b070899000162e7f4baf > > 75e2427216b39c641a12/meta-oe/recipes-devtools/php/> > > > > Furthermore I created “php_5.5.24.bbappend” with the following content in > > the same folder: > > > > > > PACKAGECONFIG_append += "apache2" > > > > PACKAGECONFIG_append += "pgsql" > > > > > > bitbake php results in the following errors: > > > > > > ERROR: Nothing PROVIDES 'uw-imap' […] but php/php_5.5.24.bb DEPENDS on or > > otherwise requires it) > > > > ERROR: Required build target 'php' has no buildable providers. > > > > Missing or unbuildable dependency chain was: ['php', 'uw-imap'] > > > > > > So I removed the config “PACKAGECONFIG[imap]” from php_5.5.24.bb. Result: > > > > > > ERROR: Nothing PROVIDES 'postgresql-native' […] but /php/php_5.5.24.bb > > DEPENDS on or otherwise requires it). Close matches: > > > > postgresql > > > > strace-native > > > > popt-native > > > > ERROR: Required build target 'php' has no buildable providers. > > > > Missing or unbuildable dependency chain was: ['php', 'php-native', > > 'postgresql-native'] > > > > > > Google does not show much for postgresql-native related to yocto. "bitbake > > postgresql" is running fine... If I remove BBCLASSEXTEND = "native" from > > the recipe I get the following result: > > > > > > 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 > > "php/5.5.24-r0/php-5.5.24' > > > > ERROR: Function failed: do_qa_configure > > > > ERROR: Logfile of failure stored in: > > "php/5.5.24-r0/temp/log.do_configure.22410 > > > > ERROR: Task 5 (php/php_5.5.24.bb, do_configure) failed with exit code '1' > > > > > > > > > > I appreciate any advice on how to set up php5 for postgresql. > > Change your PACKAGECONFIG_append lines in your bbappend to use > PACKAGECONFIG_append_class-native instead and you should be able to progress. > Also, you very likely shouldn't be removing the BBCLASSEXTEND.
And add leading space in append instead of += (_append + += always looks wrong as the only function of += is to add the leading space), change it to: PACKAGECONFIG_append = " pgsql" > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto