All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: How to enable php5 (php_5.5.24.bb) support for postgresql
Date: Fri, 22 May 2015 13:17:58 +0200	[thread overview]
Message-ID: <20150522111758.GA2376@jama> (raw)
In-Reply-To: <2493502.gGu5ytCTqB@peggleto-mobl.ger.corp.intel.com>

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.Jansa@gmail.com


  reply	other threads:[~2015-05-22 11:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 21:21 How to enable php5 (php_5.5.24.bb) support for postgresql yocto yocto
2015-05-22  8:51 ` Paul Eggleton
2015-05-22 11:17   ` Martin Jansa [this message]
2015-05-22 11:44     ` yocto yocto
2015-05-22 12:00       ` Martin Jansa
2015-05-22 12:48         ` Paul Eggleton
2015-05-22 13:34           ` yocto yocto
2015-05-22 13:38             ` Paul Eggleton
2015-05-22 13:46               ` yocto yocto
2015-05-22 14:30                 ` Paul Eggleton
     [not found]                   ` <CACTu1LgR4wGQqdvOE_SfkBmjiebaL2KHef+KeNf3DUNTnmmbjA@mail.gmail.com>
2015-05-22 16:49                     ` Paul Eggleton
2015-05-23  9:12                       ` yocto yocto
2015-05-28 11:15                         ` Paul Eggleton
2015-06-01  6:03                           ` yocto yocto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150522111758.GA2376@jama \
    --to=martin.jansa@gmail.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.