[oe] Building php with postgres support

victorascroft at gmail.com victorascroft at gmail.com
Fri Jul 1 18:20:08 UTC 2016


Hello,

I want to build php with postgres support. Am using the jethro
branch. Looking at the php.inc file

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/php/php.inc?h=jethro

postgres doesn't seem to be enabled by default.

Tried enabling postgres by adding the following to EXTRA_OECONF

--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix}

based on the PKGCONFIG defined in that file later but that does not
seem to work.

Checking phpinfo does not show postgres support enabled.

What would be the required change to php.inc file for enabling
postgres with php?

Regards,
Victor.



More information about the Openembedded-devel mailing list