Error including PHP
Hello everyone,
i am not sure if i am in the correct list, but
maybe someone can help me with my problem:
I wanted to include php in my image.
But i got an error yet in the configure-task.
Can anyone tell me what went wrong here ?
Thanks in advance
Hans-Georg
Here is the output:
bader@ubuntu64:~/oe-core/build$ bitbake -b php_5.4.36 WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
Build Configuration:
BB_VERSION = "1.24.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-angstrom-linux-gnueabi" MACHINE = "apalis-imx6" DISTRO = "angstrom" DISTRO_VERSION = "v2014.12" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU = "vfp-neon" meta-angstrom = "(nobranch):9466ed2bafe2fd66324aa79b5d6198bfc2354b98" meta-toradex = "(detachedfromba0a557):ba0a55762605c6707310ee56f8ba21959ecadfd7"
meta-linaro-toolchain = "(nobranch):59655ebd6e10d9f66664db4c2d63c7fac606779d" meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
meta-systemd
meta-networking
meta-multimedia
meta-python
meta-webserver = "(nobranch):5b6f39ce325d490fc382d5d59c5b8b9d5fa38b38" meta-lxde = "(nobranch):2bc2d0940b54858d71ea2c1b6aa6b27bc9bab506" meta-browser = "(nobranch):2bca1fd58e8dc827469627e17e9f0d8e711fcc5f" meta-fsl-arm = "(nobranch):db1571f40c375a398a8cdbb42de4c4f272ab0cd1"
meta-fsl-arm-extra = "(nobranch):9700f14f3efcab8de9a1b60a3e164b8df39897af"
meta-fsl-demos = "(nobranch):b9103df7dfdfdf2c4b066e5d2228f168e0c25e46"
meta = "(nobranch):96270e79a70960289856cf424c9e4c1894acb18c"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/bader/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/php/5.4.36-r0/temp/log.do_configure.59692)
ERROR: Logfile of failure stored in: /home/bader/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/php/5.4.36-r0/temp/log.do_configure.59692 Log data follows:
| DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_copy_aclocals | DEBUG: Python function autotools_copy_aclocals finished | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.14.1 | Copyright (C) 2013 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <[email protected]> | and Alexandre Duret-Lutz <[email protected]>. | AUTOV is 1.14 | NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/bader/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/php/5.4.36-r0/build/aclocal-copy/ --automake-acdir=/home/bader/oe-core/build/out-glibc/sysroots/x86_64-linux/usr/share/aclocal-1.14" autoreconf --verbose --install --force --exclude=autopoint | autoreconf: Entering directory `.' | autoreconf: configure.in: not using Gettext | autoreconf: running: aclocal --system-acdir=/home/bader/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/php/5.4.36-r0/build/aclocal-copy/ --automake-acdir=/home/bader/oe-core/build/out-glibc/sysroots/x86_64-linux/usr/share/aclocal-1.14 --force | aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' | configure.in:15: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd | acinclude.m4:2641: PHP_CONFIG_NICE is expanded from... | configure.in:15: the top level | autoreconf: configure.in: tracing | configure.in:15: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd | acinclude.m4:2641: PHP_CONFIG_NICE is expanded from... | configure.in:15: the top level | autoreconf: configure.in: not using Libtool | autoreconf: running: /home/bader/oe-core/build/out-glibc/sysroots/x86_64-linux/usr/bin/autoconf --force | configure.in:15: warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd | acinclude.m4:2641: PHP_CONFIG_NICE is expanded from... | configure.in:15: the top level | configure.in:2: error: possibly undefined macro: dnl | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. | configure.in:163: error: possibly undefined macro: AC_MSG_ERROR | configure.in:261: error: possibly undefined macro: AC_MSG_RESULT | configure.in:458: error: possibly undefined macro: AC_DEFINE | configure.in:595: error: possibly undefined macro: AC_CACHE_CHECK | configure.in:1393: error: possibly undefined macro: AC_PROG_LIBTOOL | configure:3228: error: possibly undefined macro: LT_AC_PROG_SED | configure:100249: error: possibly undefined macro: _LT_AC_TRY_DLOPEN_SELF | autoreconf: /home/bader/oe-core/build/out-glibc/sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1 | ERROR: autoreconf execution failed. | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/bader/oe-core/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/php/5.4.36-r0/temp/log.do_configure.59692)
ERROR: Task 5 (/home/bader/oe-core/build/../stuff/meta-openembedded/meta-oe/recipes-devtools/php/php_5.4.36.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
No currently running tasks (5 of 13)
Summary: 1 task failed:/home/bader/oe-core/build/../stuff/meta-openembedded/meta-oe/recipes-devtools/php/php_5.4.36.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code. bader@ubuntu64:~/oe-core/build$
begin:vcard
fn:Hans-Georg Bader
n:Bader;Hans-Georg org;quoted-printable:Ingenieurb=C3=BCro Hans-Georg Bader adr;dom:;;Duttentalstr 59/1;Tuttlingen;BW;78532 email;internet:[email protected]
tel;work:0 74 61 / 96 94 02
version:2.1
end:vcard
Quoted 5 lines · Hans-Georg Bader
Here is the output:
bader@ubuntu64:~/oe-core/build$ bitbake -b php_5.4.36 WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
The clue is in the output. Don't use -b as it doesn't build dependencies, which is why configure fails. Just do:
$ bitbake php
Ross