[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] PHP(5.0.4) adding extension feature, compile success, install
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] PHP(5.0.4) adding extension feature, compile success, installation fail, Please help. |
Date: |
Thu, 14 Oct 2010 19:44:16 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Kevin,
Can you look in the Makefile, or whatever is running:
> Installing PEAR environment:
>
/home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/lib/php/
>
> /home/kevin/lpc3250/ltib-kl/rpm/BUILD/php-5.0.4/sapi/cli/php: 1: Syntax
> error: word unexpected (expecting ")")
That might reveal something. If it's shell you may be running into an
Ubuntu/dash issue (you'd need bash instead), otherwise you need to
figure out exactly what it is trying to run when that message gets
printed out.
Regards, Stuart
Kevin Li wrote:
> Dear sir or madam:
>
>
>
> I am adding an extension feature( message q support) for PHP ( 5.0.4 for
> Phytec Lpc3250). I can build PHP, but installation for built PHP fails.
>
>
>
> 1. Successfully build it. ( ./ltib –m scbuild –p php)
>
> 2. Fail to install the new build.( ./ltib –m scinstall –p php)
>
>
>
> Below are the dumped out messages.
>
>
>
> It is great appreciate if you can take some time to look at it.
>
>
>
> Regards.
>
> Kevin
>
> Dali Wireless Inc.
>
> 8640 Commerce court,
>
> Burnaby, BC
>
> Canada.
>
>
>
>
>
> ======================================================================================================================
>
>
>
>
>
> Build complete.
>
> (It is safe to ignore warnings about tempnam and tmpnam).
>
>
>
> + exit 0
>
> Build time for php: 28 seconds
>
>
>
>
>
> Processing: php
>
> =================
>
> Build path taken because: directory build, build key set,
>
>
>
> rpmbuild --dbpath /home/kevin/lpc3250/ltib-kl/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-kl/rpm' --define '_prefix /usr' --define
> '_tmppath /home/kevin/lpc3250/ltib-kl/tmp' --define '_rpmdir
> /home/kevin/lpc3250/ltib-kl/rpm/RPMS' --define '_mandir /usr/share/man'
> --define '_sysconfdir /etc' --define '_localstatedir /var' -bi
> --short-circuit /home/kevin/lpc3250/ltib-kl/dist/lfs-5.1/php/php.spec
>
> Building target platforms: arm
>
> Building for target arm
>
> Executing(%install): /bin/sh -e
> /home/kevin/lpc3250/ltib-kl/tmp/rpm-tmp.79396
>
> + umask 022
>
> + cd /home/kevin/lpc3250/ltib-kl/rpm/BUILD
>
> + cd php-5.0.4
>
> + rm -rf /home/kevin/lpc3250/ltib-kl/tmp/php
>
> + mkdir -p
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr
>
> + mkdir -p
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules
>
> + mkdir -p
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/conf
>
> + mkdir -p
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/htdocs
>
> + cp /home/kevin/lpc3250/ltib-kl/rootfs/usr/conf/httpd.conf
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/conf
>
> + [ ! -f ./sapi/cli/php.orig ]
>
> + make -j1 install
> prefix=/home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr
>
> Installing PHP SAPI module: apache2handler
>
> /home/kevin/lpc3250/ltib-kl/rootfs/usr/bin/../build/instdso.sh
> SH_LIBTOOL='/home/kevin/lpc3250/ltib-kl/rootfs/usr/build/libtool'
> libphp5.la
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules
>
> /home/kevin/lpc3250/ltib-kl/rootfs/usr/build/libtool --mode=install cp
> libphp5.la
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules/
>
> cp .libs/libphp5.so
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.so
>
> cp .libs/libphp5.lai
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.la
>
> libtool: install: warning: remember to run `libtool --finish
> /home/kevin/lpc3250/ltib-kl/rpm/BUILD/php-5.0.4/libs'
>
> chmod 755
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/modules/libphp5.so
>
> [activating module `php5' in
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/conf/httpd.conf]
>
> Installing PHP CLI binary:
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/bin/
>
> Installing PHP CLI man page:
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/man/man1/
>
> Installing PEAR environment:
> /home/kevin/lpc3250/ltib-kl/tmp/php//opt/freescale/rootfs/arm//usr/lib/php/
>
> /home/kevin/lpc3250/ltib-kl/rpm/BUILD/php-5.0.4/sapi/cli/php: 1: Syntax
> error: word unexpected (expecting ")")
>
> make[1]: *** [install-pear-installer] Error 2
>
> make: *** [install-pear] Error 2
>
> error: Bad exit status from
> /home/kevin/lpc3250/ltib-kl/tmp/rpm-tmp.79396 (%install)
>
>
>
>
>
> RPM build errors:
>
> Bad exit status from /home/kevin/lpc3250/ltib-kl/tmp/rpm-tmp.79396
> (%install)
>
> Build time for php: 1 seconds
>
>
>
> Failed building php
>
>
>
>
>
> f_buildrpms() returned an error, exiting
>
> traceback:
>
> main:567
>
>
>
>
>
> Started: Wed Oct 13 12:22:03 2010
>
> Ended: Wed Oct 13 12:23:53 2010
>
> Elapsed: 110 seconds
>
>
>
> VERSION : 10.1.1
>
> CVS_VERSION : $Revision: 1.71 $ (Savannah)
>
> PLATFORM : phy3250
>
> GNUTARCH : arm
>
> TOOLCHAIN : tc-nxp-lnx-arm-3.4.5-1.i386.rpm
>
> TOOLCHAIN_CFLAGS : -fsigned-char -msoft-float -O3
>
>
>
> These packages failed to build:
>
> php
>
>
>
> Build Failed
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib