Thread: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
From
"Joel Lopes Da Silva"
Date:
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.
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
From
Tom Lane
Date:
"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
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
From
Tom Lane
Date:
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
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
From
Joel Lopes Da Silva
Date:
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? >=20 >> I did: >=20 >> ./configure --enable-thread-safety \ >> --with-openssl \ >> --with-perl \ >> --with-python \ >> --with-tcl \ >> --with-bonjour \ >> --with-pam \ >> --with-krb5 >> make >> sudo make install >=20 >> This set of commands used to put the man pages in /usr/local/pgsql/share= /man >=20 > 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". >=20 > You might also consider "make world" followed by "make install-world", > which will build and install core + docs + contrib. Ok, perfect!=20 Thank you very much Tom. Then I guess you can close this bug report as "Beh= aves correctly". Cheers, --=20 Joel Lopes Da Silva
Re: BUG #5715: man pages missing after compiling PostgreSQL 9.0.1 sources on OS X 10.6
From
Joel Lopes Da Silva
Date:
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. >=20 > What commands did you issue, exactly? >=20 > 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 source= s package, in doc/src/sgml/man{1,3,7} I believe. So, I guess I should renam= e the bug as something like "man pages not installed by default after compi= ling PostgreSQL 9.0.1 sources on OX X 10.6". --=20 Joel Lopes Da Silva