Edit report at https://bugs.php.net/bug.php?id=64345&edit=1
ID: 64345 Updated by: paj...@php.net Reported by: americancafe at hotmail dot com Summary: Please specify correct PostgreSQL installation path -Status: Open +Status: Not a bug Type: Bug Package: PostgreSQL related Operating System: OSX 10.6 PHP Version: 5.4.12 Block user comment: N Private report: N New Comment: You have to know how your platform works or where it installs files if you like to compile PHP yourself. On the other side, if you don't want to bother with that, use macports or other PHP packages for OS X. If you still like to compile PHP, a simple google query will point you to many tutorials, f.e.: http://drewish.com/content/2008/12/getting_php_gd_postgresql_working_on_osx_105_ aka_recompiling_everything Previous Comments: ------------------------------------------------------------------------ [2013-03-04 06:51:55] americancafe at hotmail dot com Description: ------------ Now I have tried and tried. I already know what you're going to say "This is not a bug". Well it is to me and 100 other people who have posted this question onilne with no good response. >Cannot find libpq-fe.h< Well, I know exaclty where that library is. But, no one can tell me how to SPECIFY it to PHP. Test script: --------------- ./configure --with-pgsql=/usr This does not work ./configure --with-pgsql=/somePath This does not work ./configure --with-pgsql='/somePath' This does not work Expected result: ---------------- I expect PHP to configure. Actual result: -------------- configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path And how do I do that? Please stop assuming that everyone knows what you know. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64345&edit=1