Edit report at https://bugs.php.net/bug.php?id=64553&edit=1
ID: 64553 Updated by: yohg...@php.net Reported by: olivier dot antheaume at gmail dot com Summary: Cross-compile fails during configuration with postgreSQL -Status: Open +Status: Not a bug Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 5.4.13 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Use of fixed path removes configuration flexibility. If you would like not to use pg_config, then remove pg_config from your path. Then configure will try to find "include" and "lib" dirs. Have a look at ext/pgsql/config.m4 for details. Previous Comments: ------------------------------------------------------------------------ [2013-03-30 22:55:39] olivier dot antheaume at gmail dot com Description: ------------ When I cross-compile PHP for ARM target with PostgreSQL support, it fails during configuration because configure script try to execute pg_config to get PostgreSQL installation information. This fails because pg_config has been compiled for the ARM target and can't be executed on the Host (x86_64). Expected result: ---------------- It compiles with PostgreSQL support. Actual result: -------------- checking for PostgreSQL support... yes checking for pg_config... /opt/cross/armel/sysroot/usr/bin/pg_config /php-5.4.13/configure: line 97209: /opt/cross/armel/sysroot/usr/bin/pg_config: cannot execute binary file /php-5.4.13/configure: line 97210: /opt/cross/armel/sysroot/usr/bin/pg_config: cannot execute binary file configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path make[1]: *** [config] Erreur 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64553&edit=1