Re: How to build plperl with PostgreSQL 9 on Windows - Mailing list pgsql-general

From tuanhoanganh
Subject Re: How to build plperl with PostgreSQL 9 on Windows
Date
Msg-id AANLkTin+mEj0Kjbf9S8VWn3iaR0RxuUuy2y2iyh++idY@mail.gmail.com
Whole thread Raw
In response to Re: How to build plperl with PostgreSQL 9 on Windows  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: How to build plperl with PostgreSQL 9 on Windows
List pgsql-general
Thanks you very much
Here is my config.pl
$config->{perl} = "c:\\perl";
1;

Strawberry Perl don't work because It don't have perl lib in c:\Perl\lib\CORE\.
I swiched to ActivePerl to build plperl.

Tuan Hoang ANh

On Wed, Jan 5, 2011 at 9:52 AM, Alex Hunsaker <badalex@gmail.com> wrote:
On Tue, Jan 4, 2011 at 19:27, tuanhoanganh <hatuan05@gmail.com> wrote:
> Thanks for answer me but it have error
>
> Detected Visual Studio version 8.00
> Detected hardware platform: Win32
> Generating win32ver.rc for src\backend
> Building src\pl\plperl\SPI.c...
> '1' is not recognized as an internal or external command,

Instead of 1, try the path to the perl directory (such that
$config->{'perl'} . "\bin\perl" is the perl binary).  For example:
$config->{perl} = "C:\strawberry\perl\";

pgsql-general by date:

Previous
From: Ken
Date:
Subject: Disable Postgresql startup on boot (Windows XP)
Next
From: Stephen Cook
Date:
Subject: Re: Disable Postgresql startup on boot (Windows XP)