[oe-issues] [Bug 1992] New: php 5.2.0 fails when trying to compile it with pear

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Mar 15 14:09:17 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=1992

           Summary: php 5.2.0 fails when trying to compile it with pear
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: skoroneos at digital-opsis.com
         QAContact: tinderbox-oe at gmx.net


php 5.2.0 fails in two places when you try to compile it with pear support


| checking whether to enable IPv6 support... yes
| checking how big to make fd sets... using system default
| checking whether to enable versioning... no
| 
| Configuring extensions
| checking whether to enable LIBXML support... yes
| checking libxml2 install dir... no
| checking for xml2-config path... no/xml2-config
| configure: error: xml2-config not found. Please check your libxml2
installation.
| FATAL: oe_runconf failed
NOTE: Task failed:
/proj/oplinux-0.2/tmp/libc/work/x86_64-linux/php-native-5.2.0-r0/temp/log.do_configure.8574
NOTE: package php-native-5.2.0-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package php-native-5.2.0: failed
ERROR: Build of php failed


This can be changing EXTRA_OECONF to

EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR_NATIVE}/php
--with-libxml-dir=${STAGING_BINDIR}"

it then continues to build and fails during installation

ERROR: function do_install failed
ERROR: log data follows
(/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/temp/log.do_install.15151)
| NOTE: make
INSTALL_ROOT=/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image
install
| Installing PHP SAPI module:       cgi
| Installing PHP CGI into:
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/bin/
| Installing build environment:    
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/lib/build/
| Installing header files:         
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/include/php/
| (CONFIG_FILES=scripts/phpize CONFIG_HEADERS=
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/php-5.2.0/config.status)
| config.status: creating scripts/phpize
| config.status: executing default commands
| (CONFIG_FILES=scripts/php-config CONFIG_HEADERS=
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/php-5.2.0/config.status)
| config.status: creating scripts/php-config
| config.status: executing default commands
| Installing helper programs:      
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/bin/
|   program: phpize
|   program: php-config
| Installing man pages:            
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/share/man/man1/
|   page: phpize.1
|   page: php-config.1
| Installing PEAR environment:     
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/image/usr/lib/php/
| /bin/bash:
/proj/oplinux-0.2/tmp/libc/work/ppc603e-linux/php-5.2.0-r0/php-5.2.0/sapi/cli/php:
cannot execute binary file
| make[1]: *** [install-pear-installer] Error 126
| make: *** [install-pear] Error 2
| FATAL: oe_runmake failed


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list