Skip site navigation (1) Skip section navigation (2)

Why not .../bin/amd64/pg_config?

From: "Johann 'Myrkraverk' Oskarsson" <johann(at)2ndquadrant(dot)com>
To: "PgAdmin Support" <pgadmin-support(at)postgresql(dot)org>
Subject: Why not .../bin/amd64/pg_config?
Date: 2011-03-08 16:43:26
Message-ID: op.vr092obsuxs6vk@localhost (view raw or flat)
Thread:
Lists: 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 and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/

pgadmin-support by date

Next:From: Vladimir KokovicDate: 2011-03-08 16:53:39
Subject: Git Makefile.am
Previous:From: Dave PageDate: 2011-03-08 12:58:13
Subject: Re: where are the query output tuples stored

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group