From: Bernd Kuhls <berndkuhls@hotmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2014-05-24
Date: Sun, 25 May 2014 18:07:35 +0200 [thread overview]
Message-ID: <73h95bxfq9.ln2@ID-313208.user.individual.net> (raw)
In-Reply-To: CAMo8Bf+XBo1S=2k_NO0De8WeesKszXU17AYy7sKLZ0hY+KJjQA@mail.gmail.com
Max Filippov <jcmvbkbc@gmail.com> wrote in
news:CAMo8Bf+XBo1S=2k_NO0De8WeesKszXU17AYy7sKLZ0hY+KJjQA at mail.gmail.com:
> The log still has -I/include in compilation commands, means that php
> still gets misconfigured. See
> http://lists.busybox.net/pipermail/buildroot/2014-April/094079.html
> for my previous analysis of it.
Hi,
your description looks reasonable.
While analyzing a similar build failure I saw a combination of
BR2_PACKAGE_PHP_EXT_MYSQL=y
# BR2_PACKAGE_PHP_EXT_ZLIB is not set
BR2_PACKAGE_ZLIB=y
Mysql was build with zlib support while php was configured to not use zlib:
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... no
...
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_errno in -lmysqlclient... no
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log
for more information.
For my test case it seems BR2_PACKAGE_PHP_EXT_MYSQL should depend on BR2
_PACKAGE_PHP_EXT_ZLIB when BR2_PACKAGE_ZLIB is set to yes, because
https://github.com/php/php-src/blob/master/ext/mysql/config.m4
uses --with-zlib-dir to find zlib, which is missing in my test case.
I could, however, also not reproduce the build error, which could be related
to packages installed on my compile host. It seems that the php package needs
some attention.
Regards, Bernd
prev parent reply other threads:[~2014-05-25 16:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-25 6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2014-05-24 Thomas Petazzoni
2014-05-25 13:37 ` Yann E. MORIN
2014-05-25 15:46 ` Max Filippov
2014-05-25 16:07 ` Bernd Kuhls [this message]
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=73h95bxfq9.ln2@ID-313208.user.individual.net \
--to=berndkuhls@hotmail.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox