Re: Installing DBD::Pg module without Pg Database server

From: "Peter Darley" <pdarley(at)kinesis-cem(dot)com>
To: "Samik Raychaudhuri" <samik(at)cae(dot)wisc(dot)edu>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installing DBD::Pg module without Pg Database server
Date: 2002-02-15 14:04:48
Message-ID: NNEAICKPNOGDBHNCEDCPKEHGCEAA.pdarley@kinesis-cem.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Samik,
Umm... This is actually not good advice. As was pointed out later in this
thread, and as it looks like you know now you do need at least some of the
PG binaries. I hope this bad advice didn't cause you too many problems.
I suspect that you can get it working by compiling a subset of the PG code,
perhaps the client libraries only? Someone who knows more about this than I
might be able to answer that.
Thanks,
Peter Darley

-----Original Message-----
From: Samik Raychaudhuri [mailto:samik(at)cae(dot)wisc(dot)edu]
Sent: Thursday, February 14, 2002 11:33 PM
To: Peter Darley
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Installing DBD::Pg module without Pg Database
server

Hello,
I have done as you have suggested (I understand I am following up pretty
late :). It doesn't run. I guess it requires atleast 'Pg.so', which I
don't have. Speciafically, my DB server is running on a Win2K. I want to
run the perl scripts on a sun system, where I don't have enough
permissions/quota to install/compile the Pg source code.

I actually requested for this file from whoever is using my OS
configuration (SunOS sun-80 5.8 Generic_108528-12 sun4u sparc
SUNW,Sun-Blade-100).
Any other suggestions?
Thanks and regards.
-Samik

Peter Darley wrote:

> Samik,
> I've found that DBD::Pg wants to be built on a machine with the
postgresql
> devel stuff on it. My suggestion would be to build it on the machine that
> has the db on it, and then just copy the .pm onto the other machines.
> Thanks,
> Peter Darley
>
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Jason Earl
> Sent: Monday, December 03, 2001 11:26 AM
> To: Samik Raychaudhuri
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Installing DBD::Pg module without Pg Database
> server
>
>
>
> It has been a while since I used Perl to interface with PostgreSQL,
> but I can guarantee you that it is possible to install DBD::Pg on one
> machine and access another machine running PostgreSQL. I still have
> several boxes that do precisely that.
>
> You need to install DBI and DBD::Pg. Check out CPAN for more
> information.
>
> Jason
>
> samik(at)cae(dot)wisc(dot)edu (Samik Raychaudhuri) writes:
>
>
>>Hi,
>>I want to install and work with DBD::Pg module thorugh Perl in one
>>machine, but the database server is installed in another machine. Can
>>I install and work with the module in this case? Is there any
>>requirement-list for that?
>>Any pointer will be helpful.
>>Thanks and regards.
>>-Samik
>>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alaric B Snell 2002-02-15 14:05:26 Re: psql & HTML
Previous Message David A Dickson 2002-02-15 13:57:55 Re: psql & HTML