Обсуждение: Installing the man pages

Поиск
Список
Период
Сортировка

Installing the man pages

От
"G. Anthony Reina"
Дата:
I posted this to pg_admin yesterday, but I'm not sure if anyone is
reading that list.
---------------------------------------------------------

I have Postgres 7.0.2 installed on my RedHat Linux 6.0 system, but
realized today that I hadn't built any of the manual pages or
documentation during that installation. I  downloaded 7.0.2 again, did a

configure, and then followed the instruction to do 'gmake install' in
the src/postgresql-7.0.2/doc directory (in my case, the
/database/src/postgresql-7.0.2/doc directory).

The install script keeps wanting to put the man pages into
/usr/local/pgsql/src; however, on my system I have Postgres installed in

/database/local/pgsql (i.e. Postgres is not installed in the default
/usr/local/pgsql directory)

Is there someway that I can specify this directory for the man pages
(e.g. is there some option I can set for the 'gmake install' to
tell it that Postgres is installed in a different directory than the
default) ?

Thanks.
-Tony






Re: Installing the man pages

От
Tom Lane
Дата:
"G. Anthony Reina" <reina@nsi.edu> writes:
> Is there someway that I can specify this directory for the man pages
> (e.g. is there some option I can set for the 'gmake install' to
> tell it that Postgres is installed in a different directory than the
> default) ?

IIRC the makefile for the docs expects you to have done a configure over
in the src directory, and it's looking there for an override on the
default install dir.  Go back and run configure (needn't build) with the
right --prefix.

I think Peter E. is making this cleaner for 7.1, but that's how it
worked last time I looked.
        regards, tom lane


Re: Installing the man pages

От
"G. Anthony Reina"
Дата:
Tom Lane wrote:

> IIRC the makefile for the docs expects you to have done a configure over
> in the src directory, and it's looking there for an override on the
> default install dir.  Go back and run configure (needn't build) with the
> right --prefix.
>
>

I figured out what happened.

I ran 'configure --with-prefix=/database/local/pgsql' rather than
'configure --prefix=/database/local/pgsql'.
The configure script didn't balk at '--with-prefix' so the error never
entered my mind until your e-mail said '--prefix'.

Now the man pages are back on my system.

Thanks Tom.
-Tony