[yocto] How to enable php5 (php_5.5.22.bb) support for postgresql
Fabiano Ferronato
fabiferro at hotmail.com
Thu Feb 4 08:35:55 PST 2016
Hi all!
I´m new to yocto recipes and never posted to this mail list.
I´m trying to include postgresql PDO in PHP.
Something like what is informed using ./configure --help in php source:
-with-pdo-pgsql[=DIR] PDO: PostgreSQL support
My recipe file is php_5.5.21.bb and here are some default config lines:
PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \
--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \
--with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \
,--without-mysql --without-mysqli
--without-pdo-mysql \
,mysql5"
PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \
--with-pdo-sqlite=${STAGING_LIBDIR}/.. \
, \
,sqlite3"
PACKAGECONFIG[pgsql] =
"--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,postgresql"
Could somebody tell me how to configure this recipe?
Best regards
Fabiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160204/630a68d9/attachment.html>
More information about the yocto
mailing list