reading build config.log --> possible bug?

Started by Rob Sargentover 14 years ago3 messagesgeneral
Jump to latest
#1Rob Sargent
robjsargent@gmail.com

Looking to see where my new data directory is in recently built 9.1 I
happened upon what could potentially be a bug in configure:

Just after the line which begins "configure_args=" (line 11068 for me,
99% of buffer) I find:

datadir='${datarootdir}'
datarootdir='${prefix}/share'

I'm troubled that datadir may be getting set too early since that's the
first mention of either variable in config.log? I don't see 'datadir'
anywhere else in the file but that's not abnormal.

Paranoid but maybe they _are_ after me,

rjs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rob Sargent (#1)
Re: reading build config.log --> possible bug?

Rob Sargentg <robjsargent@gmail.com> writes:

Looking to see where my new data directory is in recently built 9.1 I
happened upon what could potentially be a bug in configure:

Just after the line which begins "configure_args=" (line 11068 for me,
99% of buffer) I find:

datadir='${datarootdir}'
datarootdir='${prefix}/share'

I'm troubled that datadir may be getting set too early since that's the
first mention of either variable in config.log? I don't see 'datadir'
anywhere else in the file but that's not abnormal.

I think you're reading the alphabetized dump of variables' final values,
no?

regards, tom lane

#3Rob Sargent
robjsargent@gmail.com
In reply to: Tom Lane (#2)
Re: reading build config.log --> possible bug?

On 11/27/2011 09:31 PM, Tom Lane wrote:

Rob Sargentg<robjsargent@gmail.com> writes:

Looking to see where my new data directory is in recently built 9.1 I
happened upon what could potentially be a bug in configure:
Just after the line which begins "configure_args=" (line 11068 for me,
99% of buffer) I find:
datadir='${datarootdir}'
datarootdir='${prefix}/share'
I'm troubled that datadir may be getting set too early since that's the
first mention of either variable in config.log? I don't see 'datadir'
anywhere else in the file but that's not abnormal.

I think you're reading the alphabetized dump of variables' final values,
no?

regards, tom lane

Ah, yes... Note to self: Step back, see the larger picture...