From:             olivier dot antheaume at gmail dot com
Operating system: Linux
PHP version:      5.4.13
Package:          Compile Failure
Bug Type:         Bug
Bug description:Cross-compile fails during configuration with postgreSQL

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 bug report at https://bugs.php.net/bug.php?id=64553&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64553&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64553&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64553&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64553&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64553&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64553&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64553&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64553&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64553&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64553&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64553&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64553&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64553&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64553&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64553&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64553&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64553&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64553&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64553&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64553&r=mysqlcfg

Reply via email to