|
From: | Kevin Li |
Subject: | [Ltib] PHP(5.0.4) build success, installation fail, Please help. |
Date: | Thu, 25 Nov 2010 13:12:17 -0800 |
Hello Everyone, I need PHP extension functions. so I did: 1. ./ltib -m prep -p php 2. cd ..../php-5.0.4 and run ./configure 3. then build it by : ./ltib -m scbuild -p php, it was success. 4. then I tried install it by: ./ltib -m scinstall -p php it shows fail by /bin/sh: /home/kevin/lpc3250/ltib-qs/rpm/BUILD/php-5.0.4/sapi/cli/php: cannot execute binary file. I am using Ubuntu 9.10 with bash. Any help are welcome! Thank you. Kevin Processing: php ================= Build path taken because: directory build, build key set, rpmbuild --dbpath /home/kevin/lpc3250/ltib-qs/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/kevin/lpc3250/ltib-qs/rpm' --define '_prefix /usr' --define '_tmppath /home/kevin/lpc3250/ltib-qs/tmp' --define '_rpmdir /home/kevin/lpc3250/ltib-qs/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bi --short-circuit /home/kevin/lpc3250/ltib-qs/dist/lfs-5.1/php/php.spec Building target platforms: arm Building for target arm Executing(%install): /bin/sh -e /home/kevin/lpc3250/ltib-qs/tmp/rpm-tmp.75940 + umask 022 + cd /home/kevin/lpc3250/ltib-qs/rpm/BUILD + cd php-5.0.4 + rm -rf /home/kevin/lpc3250/ltib-qs/tmp/php + mkdir -p /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr + mkdir -p /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules + mkdir -p /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/conf + mkdir -p /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/htdocs + cp /home/kevin/lpc3250/ltib-qs/rootfs/usr/conf/httpd.conf /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/conf + '[' '!' -f ./sapi/cli/php.orig ']' + make -j1 install prefix=/home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr Installing PHP SAPI module: apache2handler /home/kevin/lpc3250/ltib-qs/rootfs/usr/bin/../build/instdso.sh SH_LIBTOOL='/home/kevin/lpc3250/ltib-qs/rootfs/usr/build/libtool' libphp5.la /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules /home/kevin/lpc3250/ltib-qs/rootfs/usr/build/libtool --mode=install cp libphp5.la /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules/ cp .libs/libphp5.so /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.so cp .libs/libphp5.lai /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /home/kevin/lpc3250/ltib-qs/rpm/BUILD/php-5.0.4/libs' chmod 755 /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.so [activating module `php5' in /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/conf/httpd.conf] Installing PHP CLI binary: /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/bin/ Installing PHP CLI man page: /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/man/man1/ Installing PEAR environment: /home/kevin/lpc3250/ltib-qs/tmp/php//opt/freescale/rootfs/arm//usr/lib/php/ /bin/sh: /home/kevin/lpc3250/ltib-qs/rpm/BUILD/php-5.0.4/sapi/cli/php: cannot execute binary file make[1]: *** [install-pear-installer] Error 126 make: *** [install-pear] Error 2 error: Bad exit status from /home/kevin/lpc3250/ltib-qs/tmp/rpm-tmp.75940 (%install) RPM build errors: Bad exit status from /home/kevin/lpc3250/ltib-qs/tmp/rpm-tmp.75940 (%install) Build time for php: 1 seconds Failed building php f_scinstall() returned an error, exiting traceback: main:567 Exiting on error or interrupt |
[Prev in Thread] | Current Thread | [Next in Thread] |