pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Client Libraries
2+ messages / 2 participants
[nested] [flat]

* Client Libraries
@ 2000-06-15 22:34  Paul McGarry <paulm@opentec.com.au>
  0 siblings, 1 reply; 2+ messages in thread

From: Paul McGarry @ 2000-06-15 22:34 UTC (permalink / raw)
  To: pgsql-admin@hub.org

Is there a way of compiling only the client libraries for a particular
system?

I'm thinking of the situation where I have the database running on one
machine and clients to that database (Apache/PHP4) on other machines,
possibly of a different architecture (eg a Sparc Solaris DB machine and
Linux/BSD web servers).

Do I have to compile the entirity of PostgreSQL on the web servers
just to get the client libraries installed?

Thanks,
-- 
Paul McGarry            mailto:paulm@opentec.com.au 
Systems Integrator      http://www.opentec.com.au 
Opentec Pty Ltd         http://www.iebusiness.com.au
6 Lyon Park Road        Phone: (02) 9878 1744 
North Ryde NSW 2113     Fax:   (02) 9878 1755



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Client Libraries
@ 2000-06-16 04:25  Eugene Karpachov <jk@steel.orel.ru>
  parent: Paul McGarry <paulm@opentec.com.au>
  0 siblings, 0 replies; 2+ messages in thread

From: Eugene Karpachov @ 2000-06-16 04:25 UTC (permalink / raw)
  To: pgsql-admin

Fri, Jun 16, 2000 at 08:34:43AM +1000, Paul McGarry пишет:
> Is there a way of compiling only the client libraries for a particular
> system?

You could compile all the sources, install to different location with
something like

make install \
	POSTGRESDIR=$prefix \
	POSTMANDIR=$prefix/man \
	HEADERDIR=$prefix/include/postgresql \
        TEMPLATEDIR=$prefix/share/postgresql
(this command is ok for 7.0)	

and pick the files (libraries) you need. In fact, this method is used by
'rpm', the RedHat package manager, when it builds packages from sources.

-- 
jk



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-06-16 04:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15 22:34 Client Libraries Paul McGarry <paulm@opentec.com.au>
2000-06-16 04:25 ` Eugene Karpachov <jk@steel.orel.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox