Обсуждение: Configure command from a precompiled package
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
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
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
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 > >