Re: [GENERAL] installing DBD::Pg without installing postgres

2001-04-24 Thread Jeff Duffy


On Mon, 23 Apr 2001 16:30:43 -0400, Fran Fabrizio alluded:

 
  Hello,
  
  It seems that there should be a way to install the DBD Pg module without
  having to install postgres on the local machine.  I tried installing
  just the libs rpm, but that didn't seem to do the trick.  I've done some
  usenet and mailing list archive searches, but all the info I'm turning
  up appears geared towards the assumption that you also want postgres
  installed locally.  Am I looking in the wrong places?

 There really isn't any reason to do so. If you're looking to have many
machines connect to a single PostgreSQL database, take a look at DBI::Proxy.
It is designed to allow you to connect to databases that have libraries
linked into the DBD::* executables without needing the libraries on the local
box (this is very nice for avoiding the Oracle client library installs as
well).

Jeff

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



[GENERAL] installing DBD::Pg without installing postgres

2001-04-23 Thread Fran Fabrizio


Hello,

It seems that there should be a way to install the DBD Pg module without
having to install postgres on the local machine.  I tried installing
just the libs rpm, but that didn't seem to do the trick.  I've done some
usenet and mailing list archive searches, but all the info I'm turning
up appears geared towards the assumption that you also want postgres
installed locally.  Am I looking in the wrong places?

Thanks,
Fran


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [GENERAL] installing DBD::Pg without installing postgres

2001-04-23 Thread Lamar Owen

Fran Fabrizio wrote:
 
 Hello,
 
 It seems that there should be a way to install the DBD Pg module without
 having to install postgres on the local machine.  I tried installing
 just the libs rpm, but that didn't seem to do the trick.  I've done some

What's the dependencies for the DBD::Pg RPM?  Satisfy those
dependencies, and properly set up for client-server communications with
a postgresql server, and it _should_ just _work_.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl



Re: [GENERAL] installing DBD::Pg without installing postgres

2001-04-23 Thread Fran Fabrizio





 What's the dependencies for the DBD::Pg RPM?  Satisfy those
 dependencies, and properly set up for client-server communications with
 a postgresql server, and it _should_ just _work_.

Well, if I had known what it took to satisfy the dependencies, I wouldn't
have needed to post here. ;-)

It was looking for a libpg-fe.h.

This file does not appear to be in the libs rpm, which is the only thing
I can install without needing to download the entire source.

In the interest of a quicker resolution, I just went ahead and installed
postgres.  I had to install the libs rpm, then the postgres rpm itself, then
the devel rpm in order to find the file.  Since the devel depends on postgres
itself, I did have to install postgres in order to install DBD Pg.  Which
seems wrong somehow.

libpg-fe.h seems to be available from two places:  in the source .tar.gz in
the interfaces/ subdir, or in the devel rpm, which requires the source rpm.
So either way, you have to grab the source in one form or another.

Oh well.  I just hoped that there was a libs rpm or .tar.gz that would allow
me to build these other tools without requiring the eitire source of postgres
itself.  Maybe my hopes are misguided. =)

Thanks,
Fran








---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [GENERAL] installing DBD::Pg without installing postgres

2001-04-23 Thread Michelle Murrain

On Monday 23 April 2001 06:04 pm, Lamar Owen wrote:
 Fran Fabrizio wrote:
  Hello,
 
  It seems that there should be a way to install the DBD Pg module without
  having to install postgres on the local machine.  I tried installing
  just the libs rpm, but that didn't seem to do the trick.  I've done some

 What's the dependencies for the DBD::Pg RPM?  Satisfy those
 dependencies, and properly set up for client-server communications with
 a postgresql server, and it _should_ just _work_.

I don't know a lot of detail about how DBD::Pg works, but I do know that 
during installation (whether from tarball or CPAN, which I think is the best 
way to install perl modules), it requires the path of your postgres libraries 
and includes - so I guess it depends on a postgres installation on the local 
machine.

What are you trying to accomplish, exactly? 

Michelle

Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
[EMAIL PROTECTED]
http://www.norwottuck.com

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [GENERAL] installing DBD::Pg without installing postgres

2001-04-23 Thread John Madden

 I don't know a lot of detail about how DBD::Pg works, but I do know that
 during installation (whether from tarball or CPAN, which I think is the
 best way to install perl modules), it requires the path of your postgres
 libraries and includes - so I guess it depends on a postgres
 installation on the local machine.

 What are you trying to accomplish, exactly?

Well, one thing (that I can think of) would be to have multiple webservers 
(without postgres) connecting to a central DB server.  I would've run into 
this in a couple of weeks, actually, so I'm glad someone else found out 
about it first. :)

I think functionality to retrieve the necessary libs ought to be built 
into the installation of DBD::Pg to facilitate just such a situation...

John




-- 
# John Madden  [EMAIL PROTECTED] ICQ: 2EB9EA
# FreeLists, Free mailing lists for all: http://www.freelists.org
# UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
# Linux, Apache, Perl and C: All the best things in life are free!

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster