On 12/9/2013 1:00 AM, Mark D. McKean wrote:
> On Dec 8, 2013, at 4:28 pm, Hanspeter Niederstrasser <f...@snaggledworks.com> 
> wrote:
>> On 12/8/2013 12:51 AM, Mark D. McKean wrote:
>>> And today's build failure is brought to you by the letters P-H-P...
>>>
>>> php5-5.4.4-2.4 fails to build on 10.9 with the following error:
>>>
>>> ==
>>> checking for pg_config... not found
>>> configure: error: Cannot find libpq.so. Please specify correct PostgreSQL 
>>> installation path
>>> ### execution of /tmp/fink.bw3sU failed, exit code 1
>>> ### execution of /tmp/fink.9Qlze failed, exit code 1
>>
>> Verify that you have the files /sw/bin/pg_config and 
>> /sw/opt/postgresql-9.1/bin/pg_config
>>
>> If they're missing, reinstall the package postgresql91-dev.
>
> /sw/bin/pg_config exists as a symlink to 
> /sw/opt/postgresql-9.1/bin/pg_config, which is present. Permissions for both 
> are 755, owned by root/admin, at every step of the path (except for /sw, 
> which is also 755 but is owned by root/wheel), so the inability to find them 
> shouldn't be due to bad permissions.
>

> So, what's the next suggestion for me to try? I'm out of ideas.

Turns out this is a bug in the php5.info file.  It sets PHP_PDO_PGSQL to 
%p/bin/pg_config, but the ./configure script is expecting just %p.

Hanspeter


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to