in reply to Re: Need help in Perl and postgreSQL instalation on Win32 to work together
in thread Need help in Perl and postgreSQL instalation on Win32 to work together

Hi,
I downloaded those two packages:

DBI-1.48.tar and
DBD-Pg-1.42.tar.

Could you tell me plase how to install them on Windows for perl 5.6.1.?

Regards,
Zeratul
  • Comment on Re^2: Need help in Perl and postgreSQL instalation on Win32 to work together

Replies are listed 'Best First'.
Re^3: Need help in Perl and postgreSQL instalation on Win32 to work together
by ghenry (Vicar) on Jun 14, 2005 at 10:38 UTC

    Try DBD-PgPP, it's a bit old though, so I don't know how well it will play with PG 8.0+

    install DBD-PgPP

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!
Re^3: Need help in Perl and postgreSQL instalation on Win32 to work together
by punkish (Priest) on Jun 14, 2005 at 11:46 UTC
    You are going about it the wrong way, esp. on Windows. Some Perl modules are pure-perl, and like the perl scripts you might write, they are just plain text. Installing them is just a matter of copying them into the correct directories, easily achieved by

    perl Makefile.PL make sudo make install

    Other modules, however, have C/C++ code in them, and need to be compiled. Since most all Win boxes do not have a compiler, you need to download pre-compiled versions. Use ppm, your perl package manager (Win equivalent of cpan), install modules on Windows.

    Now, ActiveState's ppm point's to ActiveState's ppm repositories, which do not have all the modules compiled and ready. You might have to hunt down specific ones (Randy Kobes archive at theory.uwinnipeg.edu seems to have most). Then you have to point your ppm to that repository.

    Read the ppm help.

    --

    when small people start casting long shadows, it is time to go to bed