Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-05 Thread Alex Hunsaker
On Wed, Jan 5, 2011 at 05:49, tuanhoanganh wrote: > I have error when build plperl > > 1>-- Build started: Project: plperl, Configuration: Release Win32 -- > 1>Generate DEF file > 1>Not re-generating PLPERL.DEF, file already exists. > 1>Linking... > 1>   Creating library Release\plperl\plp

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-05 Thread tuanhoanganh
I have error when build plperl 1>-- Build started: Project: plperl, Configuration: Release Win32 -- 1>Generate DEF file 1>Not re-generating PLPERL.DEF, file already exists. 1>Linking... 1> Creating library Release\plperl\plperl.lib and object Release\plperl\plperl.exp 1>SPI.obj : error L

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
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 wrote: > On Tue, Jan 4, 2011 at 19:27

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread Alex Hunsaker
On Tue, Jan 4, 2011 at 19:27, tuanhoanganh 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 comma

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
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, operable program or batch file. Failed to create SPI.c. Ple

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread Alex Hunsaker
On Tue, Jan 4, 2011 at 10:12, tuanhoanganh wrote: > I has set config.pl to > $config->{perl}; > 1; I don't know anything about the windows build system, but shouldn't that be something like: $config->{perl} = 1; ? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make cha

[GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
I has set config.pl to $config->{perl}; 1; and run build.bat, everything is ok, there is plpgsql.dll but don't found plperl.dll. I use strawberry perl 5.10 or must I use ActiveState Perl. Please help me. Thank in advance Tuan Hoang ANh