BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
The following bug has been logged online:
Bug reference: 5715
Logged by: Joel Lopes Da Silva
Email address: joel@lopes-da-silva.com
PostgreSQL version: 9.0.1
Operating system: Mac OS X 10.6 Snow Leopard
Description: man pages missing after compiling PostgreSQL 9.0.1
sources on OS X 10.6
Details:
After compiling the sources of PostgreSQL 9.0.1 on Mac OS X 10.6 Snow
Leopard, I couldn't find any man pages. There used to be man pages in
PostgreSQL 8.4.x.
"Joel Lopes Da Silva" <joel@lopes-da-silva.com> writes:
After compiling the sources of PostgreSQL 9.0.1 on Mac OS X 10.6 Snow
Leopard, I couldn't find any man pages.
What commands did you issue, exactly?
I think the top-level "make" targets got rearranged a bit since 8.4,
but it's premature to speculate without facts as to what you did.
regards, tom lane
On Oct 18, 2010, at 7:16 AM, Tom Lane wrote:
"Joel Lopes Da Silva" <joel@lopes-da-silva.com> writes:
After compiling the sources of PostgreSQL 9.0.1 on Mac OS X 10.6 Snow
Leopard, I couldn't find any man pages.What commands did you issue, exactly?
I think the top-level "make" targets got rearranged a bit since 8.4,
but it's premature to speculate without facts as to what you did.
I did:
./configure --enable-thread-safety \
--with-openssl \
--with-perl \
--with-python \
--with-tcl \
--with-bonjour \
--with-pam \
--with-krb5
make
sudo make install
This set of commands used to put the man pages in /usr/local/pgsql/share/man
In the meantime, I just found that the man pages were in fact in the sources package, in doc/src/sgml/man{1,3,7} I believe. So, I guess I should rename the bug as something like "man pages not installed by default after compiling PostgreSQL 9.0.1 sources on OX X 10.6".
--
Joel Lopes Da Silva
Joel Lopes Da Silva <joel@lopes-da-silva.com> writes:
On Oct 18, 2010, at 7:16 AM, Tom Lane wrote:
What commands did you issue, exactly?
I did:
./configure --enable-thread-safety \
--with-openssl \
--with-perl \
--with-python \
--with-tcl \
--with-bonjour \
--with-pam \
--with-krb5
make
sudo make install
This set of commands used to put the man pages in /usr/local/pgsql/share/man
Ah. This is an intentional change, then. "make install" now always
doesn't install the docs. (Its behavior used to vary depending on
whether prebuilt docs were present in the source tree, which was odd.)
There is now a separate top-level target "make install-docs".
You might also consider "make world" followed by "make install-world",
which will build and install core + docs + contrib.
regards, tom lane
Hi Tom,
On Oct 18, 2010, at 9:25 AM, Tom Lane wrote:
Joel Lopes Da Silva <joel@lopes-da-silva.com> writes:
On Oct 18, 2010, at 7:16 AM, Tom Lane wrote:
What commands did you issue, exactly?
I did:
./configure --enable-thread-safety \
--with-openssl \
--with-perl \
--with-python \
--with-tcl \
--with-bonjour \
--with-pam \
--with-krb5
make
sudo make installThis set of commands used to put the man pages in /usr/local/pgsql/share/man
Ah. This is an intentional change, then. "make install" now always
doesn't install the docs. (Its behavior used to vary depending on
whether prebuilt docs were present in the source tree, which was odd.)
There is now a separate top-level target "make install-docs".You might also consider "make world" followed by "make install-world",
which will build and install core + docs + contrib.
Ok, perfect!
Thank you very much Tom. Then I guess you can close this bug report as "Behaves correctly".
Cheers,
--
Joel Lopes Da Silva