BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6

Started by Joel Lopes Da Silvaover 15 years ago5 messagesbugs
Jump to latest
#1Joel Lopes Da Silva
joel@lopes-da-silva.com

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.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joel Lopes Da Silva (#1)
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6

"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

#3Joel Lopes Da Silva
joel@lopes-da-silva.com
In reply to: Tom Lane (#2)
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6

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

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joel Lopes Da Silva (#3)
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6

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

#5Joel Lopes Da Silva
joel@lopes-da-silva.com
In reply to: Tom Lane (#4)
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6

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 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.

Ok, perfect!

Thank you very much Tom. Then I guess you can close this bug report as "Behaves correctly".

Cheers,

--
Joel Lopes Da Silva