All of lore.kernel.org
 help / color / mirror / Atom feed
* [dizzy] php 5.4.36 compilation with postgresql 9.3.4
       [not found] <1954548235.650907.1500489433358.ref@mail.yahoo.com>
@ 2017-07-19 18:37 ` kris duff
  0 siblings, 0 replies; only message in thread
From: kris duff @ 2017-07-19 18:37 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

Hello,
For a few weeks (part time) I am trying to add to my image php support (under lighttpd/fastcgi) with postgresql support.
The php module can get compiled and used without pgsql support.
I have created a php_5.4.36.bbappend file that contains this :
-----------------------------------------------------------------FILES_${PN} += "/usr/lib"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

export LPQLIBDIR = "${STAGING_LIBDIR}"
export LPQINCLUDEDIR = "${STAGING_INCDIR}"  DEPENDS = "postgresql postgresql-native pg-config-custom"
EXTRA_OECONF += " --with-pgsql=${STAGING_DIR_TARGET}${EXEC_PREFIX} --with-pdo-pgsql=${D}${bindir}"
-----------------------------------------------------------------

I know, I should have used PACKAGECONFIG[pgsql] but in my case I prefer not touching local.conf.
when I bitbake my image, I see the following message :
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.Rerun configure task after fixing this. The path was '/home/yocto/build/tmp/work/core2-64-poky-linux/php/5.4.36-r0/build'ERROR: Function failed: do_qa_configure
from my reading, the problem could be here :checking for pkg-config... /home/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/pkg-configconfigure: WARNING: using cross tools not prefixed with host triplet
other than that, looked in the compile log file to find "'CROSS COMPILE Badness:' or 'is unsafe for cross-compilation'"... as seen in insane.bbclass. and found nothing.
How to solve this issue ? Anyone has been able to connect php with pgsql ?
Thank you
Regards
Kris


[-- Attachment #2: Type: text/html, Size: 4519 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-19 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1954548235.650907.1500489433358.ref@mail.yahoo.com>
2017-07-19 18:37 ` [dizzy] php 5.4.36 compilation with postgresql 9.3.4 kris duff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.