Re: small proposal: pg_config record flag variables?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: small proposal: pg_config record flag variables?
Date: 2005-08-14 21:12:23
Message-ID: 200508142312.23950.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Dienstag, 9. August 2005 20:49 schrieb Tom Lane:
> Currently, pg_config will tell about the configure options that were
> used, but it does not let you find out if any environment variables were
> used to determine CC, CFLAGS, etc.

If you put these flags onto the configure command line, then they are
recorded. E.g.:

$ ./pg_config --configure
'--prefix=/home/peter/devel/pg81/pg-install' 'CFLAGS=-W'

This is good for reproducing the build. If you really want to know everything
about the build environment, then you should look into config.log. We
shouldn't install config.log by default because it contains information that
you might not want to publish, but it's the place to look at for diagnosing
the build environment.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-14 21:47:06 Re: small proposal: pg_config record flag variables?
Previous Message Peter Eisentraut 2005-08-14 21:03:56 Re: prevent encoding conversion recursive error