Обсуждение: Configure command from a precompiled package

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

Configure command from a precompiled package

От
Jonathan Tse
Дата:
Hi all,

    I have installed a precompiled package of postgresql 8.1 recently
and would like to install server instrumentation bundled with pgadmin. I
found that I need to configure the pgsql source tree before I can
compile that contrib module. So my question is, is there anyway I can
know what configure command parameter (like --prefix=) is given when the
package maintainer build the package? It would be nice if I can give the
identical parameter so that the modules I am going to install would be
in the right place. Thanks a lot.

Best regards,
Jonathan Tse


Re: Configure command from a precompiled package

От
Jonathan Tse
Дата:
Some additional information :

The package I am using is a debian package come from www.backports.org

Thanks

Jonathan Tse wrote:

> Hi all,
>
>    I have installed a precompiled package of postgresql 8.1 recently
> and would like to install server instrumentation bundled with pgadmin.
> I found that I need to configure the pgsql source tree before I can
> compile that contrib module. So my question is, is there anyway I can
> know what configure command parameter (like --prefix=) is given when
> the package maintainer build the package? It would be nice if I can
> give the identical parameter so that the modules I am going to install
> would be in the right place. Thanks a lot.
>
> Best regards,
> Jonathan Tse
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend




Re: Configure command from a precompiled package

От
Tom Lane
Дата:
Jonathan Tse <dev@tsez.net> writes:
> ... is there anyway I can
> know what configure command parameter (like --prefix=) is given when the
> package maintainer build the package?

pg_config --configure

            regards, tom lane

Re: Configure command from a precompiled package

От
Jonathan Tse
Дата:
It works! Thanks Tom.

Tom Lane wrote:

>Jonathan Tse <dev@tsez.net> writes:
>
>
>>... is there anyway I can
>>know what configure command parameter (like --prefix=) is given when the
>>package maintainer build the package?
>>
>>
>
>pg_config --configure
>
>            regards, tom lane
>
>