i was tring to compile core-image-minimal image with apache+mysql+php. all was ok but when started my test app it gave error: "Call to undefined function mysql_pconnect" i googled and found there was no mysqli.so generated. i am using the latest version of meta-openembedded with modphp_5.5.9.bb. and the configure option seems right, it is
$ /home/xyz/work/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/modphp/5.5.9-r0/php-5.5.9/configure --build=i686-linux --host=arm-oe-linux-gnueabi --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/modphp --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard --with-apxs2=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr/bin/crossscripts/apxs --with-pic --enable-maintainer-zts --without-mysql --disable-cgi --disable-cli --disable-pdo --without-pear --without-iconv --disable-ipv6 --disable-xml --disable-xmlreader --disable-xmlwriter --disable-simplexml --disable-libxml --disable-dom --disable-rpath --libdir=/usr/lib/php5 --with-zlib --with-zlib-dir=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr --with-bz2=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr --with-mcrypt=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr --enable-zip --enable-mbstring --with-config-file-path=/etc/php/apache2-php5 ac_cv_c_bigendian_php=no --disable-opcache --with-mysqli=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr/bin/crossscripts/mysql_config --without-pgsql can anybody help solving this ? thanks. Wayne 2014-03-13 23:01 GMT+08:00 wmz <wayne.m.zh...@gmail.com>: > hi guys, > i was tring to compile core-image-minimal image with apache+mysql+php. > all was ok but when started my test app it gave error: > "Call to undefined function mysql_pconnect" > i googled and found there was no mysqli.so generated. > i am using the latest version of meta-openembedded with modphp_5.5.9.bb. > and the configure option seems right, it is > > $ > /home/xyz/work/build/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/modphp/5.5.9-r0/php-5.5.9/configure > --build=i686-linux --host=arm-oe-linux-gnueabi > --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr > --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/modphp > --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com > --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include > --oldincludedir=/usr/include --infodir=/usr/share/info > --mandir=/usr/share/man --disable-silent-rules > --disable-dependency-tracking > --with-libtool-sysroot=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard > --with-apxs2=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr/bin/crossscripts/apxs > --with-pic --enable-maintainer-zts --without-mysql --disable-cgi > --disable-cli --disable-pdo --without-pear --without-iconv --disable-ipv6 > --disable-xml --disable-xmlreader --disable-xmlwriter --disable-simplexml > --disable-libxml --disable-dom --disable-rpath --libdir=/usr/lib/php5 > --with-zlib > --with-zlib-dir=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr > --with-bz2=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr > --with-mcrypt=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr > --enable-zip --enable-mbstring > --with-config-file-path=/etc/php/apache2-php5 ac_cv_c_bigendian_php=no > --disable-opcache > --with-mysqli=/home/xyz/work/build/tmp-eglibc/sysroots/pandaboard/usr/bin/crossscripts/mysql_config > --without-pgsql > > can anybody help solving this ? > thanks. > > Wayne > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel