Re: Before I call it a bug - some comments and questions - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Before I call it a bug - some comments and questions
Date
Msg-id 29611.1284045276@sss.pgh.pa.us
Whole thread Raw
In response to Before I call it a bug - some comments and questions  (Michael Felt <mamfelt@gmail.com>)
List pgsql-bugs
Michael Felt <mamfelt@gmail.com> writes:
> -- As I build, generally, as root - this failed because initdb does not want
> to run as root

Many people regard that as bad practice ...

> --- why is the initial make installing/copying anything outside of the
> project directory (in this case it was /usr/local/pgsql if I recall
> correctly).

Because that's the default installation prefix.

> 3. A question: what is the best way to get the make process to install in a
> alturnate directory. Some projects use an environment variable.

configure --prefix=/some/path

> 4. Minor point: why is /usr/local/include not in the -I list by default?

That would be something to ask your compiler vendor.  It's no business
of postgres' to assume that some non-default -I switches are
appropriate.  I believe that gcc is very often configured to include
/usr/local in its default -I path, but that's up to local custom.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Felt
Date:
Subject: Before I call it a bug - some comments and questions
Next
From: Chris Browne
Date:
Subject: Re: Before I call it a bug - some comments and questions