Why not .../bin/amd64/pg_config? - Mailing list pgadmin-support

From Johann 'Myrkraverk' Oskarsson
Subject Why not .../bin/amd64/pg_config?
Date
Msg-id op.vr092obsuxs6vk@localhost
Whole thread Raw
List pgadmin-support
Hi all,

When I ./configure pgadmin3 1.12.2 I get the following error,

checking for pg_config...  
/opt/myrkraverk/postgresql/9.0.3/bin/amd64/pg_config
./configure: line 5424:  
/opt/myrkraverk/postgresql/9.0.3/bin/amd64/bin/pg_config: not found

It finds pg_config and then it doesn't because it appends /bin to the path  
given.  It is a convention on Solaris to place 64 bit binaries in  
.../bin/amd64 directories.

I have not tested it, but I'm certain this problem manifests itself  
whenever pg_config is placed in --bindir that doesn't end with .../bin,  
regardless of operating system.

[sidenote: I'm using .../bin instead of /bin to emphasize I'm not putting  
it in the root.]

For the record, /opt/myrkraverk/postgresql/9.0.3/bin/amd64 is in my path  
and I have no problems using Postgres or building other tools such as  
PL/Java with this setup.

--   Johann Oskarsson                http://www.2ndquadrant.com/    |[]  PostgreSQL Development, 24x7 Support, Training
andServices  --+--                                                                 |  Blog:
http://my.opera.com/myrkraverk/blog/


pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: where are the query output tuples stored
Next
From: Vladimir Kokovic
Date:
Subject: Git Makefile.am