back out configure options

Started by zhong ming wuabout 16 years ago3 messagesgeneral
Jump to latest
#1zhong ming wu
mr.z.m.wu@gmail.com

Is there a way to figure out from binaries what options were used to
compile/config? For example with apache I can do "httpd -l"

Thanks

mr. wu

#2Greg Smith
gsmith@gregsmith.com
In reply to: zhong ming wu (#1)
Re: back out configure options

zhong ming wu wrote:

Is there a way to figure out from binaries what options were used to
compile/config? For example with apache I can do "httpd -l"

pg_config is what you're looking for.

In some distributions, this may not be installed by default with the
rest of the server. For example, in the RPM version you need the
postgresql-devel package to have it available.

--
Greg Smith 2ndQuadrant Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com www.2ndQuadrant.com

#3zhong ming wu
mr.z.m.wu@gmail.com
In reply to: Greg Smith (#2)
Re: back out configure options

Thanks. That works nicely.

Show quoted text

On Tue, Jan 26, 2010 at 8:00 PM, Greg Smith <greg@2ndquadrant.com> wrote:

zhong ming wu wrote:

Is there a way to figure out from binaries what options were used to
compile/config?  For example with apache I can do "httpd -l"

pg_config is what you're looking for.

In some distributions, this may not be installed by default with the rest of
the server.  For example, in the RPM version you need the postgresql-devel
package to have it available.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com