[Pgpool-general] Problem when installing Pgpool-II
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Oct 19 14:15:02 UTC 2011
You should put /opt/pgsql/bin in your command search path.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp
> Yes, if I execute pg_cofig
> -bash: pg_cofig: command not found
>
> For executing pg_config I need to write the complete path for this command:
>
> /opt/pgsql/bin/pg_config.
>
> Regards.
>
> -----Mensaje original-----
> De: Tatsuo Ishii [mailto:ishii at sraoss.co.jp]
> Enviado el: miércoles, 19 de octubre de 2011 10:08
> Para: Lazaro Rubén García Martinez
> CC: pgpool-general at pgfoundry.org
> Asunto: Re: [Pgpool-general] Problem when installing Pgpool-II
>
> What I meant was, if you type "pg_config", it executes or do you get
> "command not found"?
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp
>
>> Yes pg_config is installed, and it is under /opt/pgsql/bin directory.
>>
>> Pgpool is installed without problems, the problem is when a I try to install pgpool-regclass and pgpool-recovery functions.
>>
>> Regards.
>>
>>
>> -----Mensaje original-----
>> De: Tatsuo Ishii [mailto:ishii at sraoss.co.jp]
>> Enviado el: miércoles, 19 de octubre de 2011 09:53
>> Para: Lazaro Rubén García Martinez
>> CC: pgpool-general at pgfoundry.org
>> Asunto: Re: [Pgpool-general] Problem when installing Pgpool-II
>>
>> So you are sure that pg_config is installed. Is pg_config in your
>> command search path?
>> --
>> Tatsuo Ishii
>> SRA OSS, Inc. Japan
>> English: http://www.sraoss.co.jp/index_en.php
>> Japanese: http://www.sraoss.co.jp
>>
>>> Thank very much for your answer, I saw the FAQ, before sending the email. In other moments I have installed pgpool and I do not have problems because PostgreSQL has been installed with this parameters:
>>>
>>> ./configure --prefix=/opt/pgsql/ --enable-nls --bindir=/usr/bin/
>>> --datadir=/usr/share/pgsql --sysconfdir=/usr/etc/ --libdir=/usr/lib/
>>> --mandir=/usr/share/man/ --includedir=/usr/include/ --with-openssl --with-ossp-uuid
>>> make
>>> make install
>>>
>>> But in this case, PostgreSQL was installed with this parameters:
>>>
>>> ./configure --prefix=/opt/pgsql/ --enable-nls
>>> with-openssl --with-ossp-uuid
>>> make
>>> make install
>>>
>>> That means Postgresql libraries, binaries, header files and others are under /opt/pgsql directory.
>>>
>>> I think this problem is because Pgpool can not found the components of PostgreSQL that it use.
>>>
>>> Can you or someone in the list, help me to solve this problem, or I need to install PostgreSQL in the other form?.
>>>
>>> I use,
>>> Pgpool-II 3.1.0
>>> PostgreSQL 9.0.5
>>> CentOS 6.0
>>>
>>> Thank you very much for your time.
>>>
>>> Regards.
>>>
>>> -----Mensaje original-----
>>> De: Tatsuo Ishii [mailto:ishii at sraoss.co.jp]
>>> Enviado el: martes, 18 de octubre de 2011 11:59
>>> Para: Lazaro Rubén García Martinez
>>> CC: pgpool-general at pgfoundry.org
>>> Asunto: Re: [Pgpool-general] Problem when installing Pgpool-II
>>>
>>>> Hello everyone in the list, I try to install Pgpool-II version 3.1. The PostgreSQL server is installed under /opt/pgsql directory.
>>>>
>>>> I install pgpool with this parameters:
>>>> ./configure --prefix=/opt/pgpool --with-pgsql=/opt/pgsql/
>>>>
>>>> and all is good, the problem is when I try to install pgpool-regclass or pgpool-recovey functions, because this error is shown:
>>>>
>>>> make: pg_config: Command not found
>>>> make: *** No targets. Stop.
>>>>
>>>> I was searching in google but I can not obtain a solution for this problem.
>>>>
>>>> Can anybody help me to solve this problem??
>>>>
>>>>
>>>> Thank you very much for your time.
>>>> Regards.
>>>
>>> Did you take a look at FAQ #1?
>>>
>>> http://pgpool.projects.postgresql.org/FAQ.html
>>> --
>>> Tatsuo Ishii
>>> SRA OSS, Inc. Japan
>>> English: http://www.sraoss.co.jp/index_en.php
>>> Japanese: http://www.sraoss.co.jp
More information about the Pgpool-general
mailing list