Problem when installing PL/Proxy with Windows OS

Started by IPN Bala GSS TVLabout 11 years ago13 messagesbugs
Jump to latest
#1IPN Bala GSS TVL
ipnb87@gmail.com

Hi Team,

I couldn't install plproxy in postgres 9.3 with Windows OS. I downloaded
"plproxy-2.5.tar.gz". But there is no option to install it on windows OS.
Please solve the above issue.
*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226*

#2Michael Paquier
michael@paquier.xyz
In reply to: IPN Bala GSS TVL (#1)
Re: Problem when installing PL/Proxy with Windows OS

On Thu, Mar 19, 2015 at 8:44 PM, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

I couldn't install plproxy in postgres 9.3 with Windows OS. I downloaded
"plproxy-2.5.tar.gz". But there is no option to install it on windows OS.
Please solve the above issue.

This is a raw tarball, you would need to compile the code from
scratch, and AFAIK from plproxy's Makefile, it can build using at
least MinGW.
Regards,
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3Michael Paquier
michael@paquier.xyz
In reply to: Michael Paquier (#2)
Re: Problem when installing PL/Proxy with Windows OS

On Thu, Mar 19, 2015 at 9:20 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:

On Thu, Mar 19, 2015 at 8:44 PM, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

I couldn't install plproxy in postgres 9.3 with Windows OS. I downloaded
"plproxy-2.5.tar.gz". But there is no option to install it on windows OS.
Please solve the above issue.

This is a raw tarball, you would need to compile the code from
scratch, and AFAIK from plproxy's Makefile, it can build using at
least MinGW.

In any case, this is not a bug, and this is not an appropriate mailing
list for such requests. You should contact someone in charge of
plproxy first (https://github.com/markokr/plproxy-dev).
Regards,
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#4IPN Bala GSS TVL
ipnb87@gmail.com
In reply to: Michael Paquier (#3)
Re: Problem when installing PL/Proxy with Windows OS

Thanks Michael Paquier!

I will try that.

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226*

On 19 March 2015 at 17:52, Michael Paquier <michael.paquier@gmail.com>
wrote:

Show quoted text

On Thu, Mar 19, 2015 at 9:20 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:

On Thu, Mar 19, 2015 at 8:44 PM, IPN Bala GSS TVL <ipnb87@gmail.com>

wrote:

I couldn't install plproxy in postgres 9.3 with Windows OS. I downloaded
"plproxy-2.5.tar.gz". But there is no option to install it on windows

OS.

Please solve the above issue.

This is a raw tarball, you would need to compile the code from
scratch, and AFAIK from plproxy's Makefile, it can build using at
least MinGW.

In any case, this is not a bug, and this is not an appropriate mailing
list for such requests. You should contact someone in charge of
plproxy first (https://github.com/markokr/plproxy-dev).
Regards,
--
Michael

#5IPN Bala GSS TVL
ipnb87@gmail.com
In reply to: IPN Bala GSS TVL (#4)
Re: Problem when installing PL/Proxy with Windows OS

Hi Posstgres team,

I have followed the below steps to install PL/Proxy for my windows server.
But I failed with step 3, below is the error details.

​​

1. wget http://pgfoundry.org/frs/download.php/3274/plproxy-2.4.tar.gz
2. tar -xvf plproxy-2.4.tar.gz
3. make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
4. make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

I struct in step 03. I got below error.

biyappan@gsstvl10 ~
$ make PG_CONFIG=C:/Program Files/PostgreSQL/9.3/bin/pg_config
make: *** No rule to make target 'Files/PostgreSQL/9.3/bin/pg_config'.
Stop.

Anyone help me with this error.

And also i got error when try to compile sql scripts from that
plproxy-2.4.tar.gz file

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226*

On 19 March 2015 at 19:27, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

Show quoted text

Thanks Michael Paquier!

I will try that.

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226 <%2B91%2097152%2030226>*

On 19 March 2015 at 17:52, Michael Paquier <michael.paquier@gmail.com>
wrote:

On Thu, Mar 19, 2015 at 9:20 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:

On Thu, Mar 19, 2015 at 8:44 PM, IPN Bala GSS TVL <ipnb87@gmail.com>

wrote:

I couldn't install plproxy in postgres 9.3 with Windows OS. I

downloaded

"plproxy-2.5.tar.gz". But there is no option to install it on windows

OS.

Please solve the above issue.

This is a raw tarball, you would need to compile the code from
scratch, and AFAIK from plproxy's Makefile, it can build using at
least MinGW.

In any case, this is not a bug, and this is not an appropriate mailing
list for such requests. You should contact someone in charge of
plproxy first (https://github.com/markokr/plproxy-dev).
Regards,
--
Michael

#6Michael Paquier
michael@paquier.xyz
In reply to: IPN Bala GSS TVL (#5)
Re: Problem when installing PL/Proxy with Windows OS

On Fri, Mar 20, 2015 at 4:13 PM, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

Hi Posstgres team,

I have followed the below steps to install PL/Proxy for my windows server.
But I failed with step 3, below is the error details.

wget http://pgfoundry.org/frs/download.php/3274/plproxy-2.4.tar.gz
tar -xvf plproxy-2.4.tar.gz
make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

I struct in step 03. I got below error.

biyappan@gsstvl10 ~
$ make PG_CONFIG=C:/Program Files/PostgreSQL/9.3/bin/pg_config
make: *** No rule to make target 'Files/PostgreSQL/9.3/bin/pg_config'.
Stop.

Try to put PG_CONFIG within quotes:
PG_CONFIG="C:/Program Files/PostgreSQL/9.3/bin/pg_config"
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#7IPN Bala GSS TVL
ipnb87@gmail.com
In reply to: Michael Paquier (#6)
Re: Problem when installing PL/Proxy with Windows OS

I tried with quotes. It didn't work. I am using cygwin (
https://www.cygwin.com/) to run Unix command in my Windows OS. I don't know
about Unix. Is there any manual setup instead running below commands?
03.make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
04.make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226*

On 20 March 2015 at 12:50, Michael Paquier <michael.paquier@gmail.com>
wrote:

Show quoted text

On Fri, Mar 20, 2015 at 4:13 PM, IPN Bala GSS TVL <ipnb87@gmail.com>
wrote:

Hi Posstgres team,

I have followed the below steps to install PL/Proxy for my windows

server.

But I failed with step 3, below is the error details.

wget http://pgfoundry.org/frs/download.php/3274/plproxy-2.4.tar.gz
tar -xvf plproxy-2.4.tar.gz
make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

I struct in step 03. I got below error.

biyappan@gsstvl10 ~
$ make PG_CONFIG=C:/Program Files/PostgreSQL/9.3/bin/pg_config
make: *** No rule to make target 'Files/PostgreSQL/9.3/bin/pg_config'.
Stop.

Try to put PG_CONFIG within quotes:
PG_CONFIG="C:/Program Files/PostgreSQL/9.3/bin/pg_config"
--
Michael

#8Marco Atzeri
marco.atzeri@gmail.com
In reply to: IPN Bala GSS TVL (#7)
Re: Problem when installing PL/Proxy with Windows OS

On 3/20/2015 8:26 AM, IPN Bala GSS TVL wrote:

I tried with quotes. It didn't work. I am using cygwin
(https://www.cygwin.com/) to run Unix command in my Windows OS. I don't
know about Unix. Is there any manual setup instead running below commands?
03.make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
04.make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

[cut]

I struct in step 03. I got below error.

biyappan@gsstvl10 ~
$ make PG_CONFIG=C:/Program Files/PostgreSQL/9.3/bin/pg_config
make: *** No rule to make target 'Files/PostgreSQL/9.3/bin/pg_config'.
Stop.

Try to put PG_CONFIG within quotes:
PG_CONFIG="C:/Program Files/PostgreSQL/9.3/bin/pg_config"
--
Michael

Cygwin Postgres package is version 9.4.1.

You are trying to build on cygwin and to link to a not
cygwin PostgreSQL : This will not work.
You need the same environment for both.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#9IPN Bala GSS TVL
ipnb87@gmail.com
In reply to: IPN Bala GSS TVL (#7)
Re: Problem when installing PL/Proxy with Windows OS

Hi Michael,
Here I have attached screen shot for more detail.

[image: Inline images 2]

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226*

On 20 March 2015 at 12:56, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

Show quoted text

I tried with quotes. It didn't work. I am using cygwin (
https://www.cygwin.com/) to run Unix command in my Windows OS. I don't
know about Unix. Is there any manual setup instead running below commands?
03.make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
04.make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

*​--*
*​**Regards,*
*Iyappan,*
*Global Software Solutions (TVL) Pvt. Ltd.,*
*+91 97152 30226 <%2B91%2097152%2030226>*

On 20 March 2015 at 12:50, Michael Paquier <michael.paquier@gmail.com>
wrote:

On Fri, Mar 20, 2015 at 4:13 PM, IPN Bala GSS TVL <ipnb87@gmail.com>
wrote:

Hi Posstgres team,

I have followed the below steps to install PL/Proxy for my windows

server.

But I failed with step 3, below is the error details.

wget http://pgfoundry.org/frs/download.php/3274/plproxy-2.4.tar.gz
tar -xvf plproxy-2.4.tar.gz
make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

I struct in step 03. I got below error.

biyappan@gsstvl10 ~
$ make PG_CONFIG=C:/Program Files/PostgreSQL/9.3/bin/pg_config
make: *** No rule to make target 'Files/PostgreSQL/9.3/bin/pg_config'.
Stop.

Try to put PG_CONFIG within quotes:
PG_CONFIG="C:/Program Files/PostgreSQL/9.3/bin/pg_config"
--
Michael

Attachments:

image.pngimage/png; name=image.pngDownload
image.pngimage/png; name=image.pngDownload+4-2
#10Michael Paquier
michael@paquier.xyz
In reply to: IPN Bala GSS TVL (#9)
Re: Problem when installing PL/Proxy with Windows OS

On Fri, Mar 20, 2015 at 5:50 PM, IPN Bala GSS TVL <ipnb87@gmail.com> wrote:

Hi Michael,
Here I have attached screen shot for more detail.

[image: Inline images 2]ig

This means that the folder where you are currently typing this command has
no Makefile...
--
Michael

Attachments:

image.pngimage/png; name=image.pngDownload
#11John R Pierce
pierce@hogranch.com
In reply to: IPN Bala GSS TVL (#7)
Re: Problem when installing PL/Proxy with Windows OS

On 3/20/2015 12:26 AM, IPN Bala GSS TVL wrote:

I tried with quotes. It didn't work. I am using cygwin
(https://www.cygwin.com/) to run Unix command in my Windows OS. I
don't know about Unix. Is there any manual setup instead running below
commands?
03.make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
04.make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

in Unix shells, environment setting commands go BEFORE make

PG_CONFIG=..... make

or probably simpler, just export PG_CONFIG in your environment

export PG_CONFIG=......
make
make install

--
john r pierce, from the mid left coast

#12Michael Paquier
michael@paquier.xyz
In reply to: John R Pierce (#11)
Re: Problem when installing PL/Proxy with Windows OS

On Sat, Mar 21, 2015 at 1:36 AM, John R Pierce <pierce@hogranch.com> wrote:

On 3/20/2015 12:26 AM, IPN Bala GSS TVL wrote:
or probably simpler, just export PG_CONFIG in your environment

Yep, having it in PATH would make your life far easier though if you
play out with multiple builds at the same time.
--
Michael

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#13Peter Eisentraut
peter_e@gmx.net
In reply to: John R Pierce (#11)
Re: Problem when installing PL/Proxy with Windows OS

On 3/20/15 12:36 PM, John R Pierce wrote:

On 3/20/2015 12:26 AM, IPN Bala GSS TVL wrote:

I tried with quotes. It didn't work. I am using cygwin
(https://www.cygwin.com/) to run Unix command in my Windows OS. I
don't know about Unix. Is there any manual setup instead running below
commands?
03.make PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config
04.make intall PG_CONFIG=/opt/PostgresPlus/9.1AS/bin/pg_config

in Unix shells, environment setting commands go BEFORE make

PG_CONFIG=..... make

or probably simpler, just export PG_CONFIG in your environment

export PG_CONFIG=......
make
make install

But this is not an environment setting but a make variable, so the
original version is correct.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs