Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Perl library (was Building Postgres)

From: Edmund Mergl <E(dot)Mergl(at)bawue(dot)de>
To: Cristian Gafton <gafton(at)redhat(dot)com>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, Maarten Boekhold <boekhold(at)tibco(dot)com>, Postgres Hackers List <hackers(at)postgreSQL(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [HACKERS] Perl library (was Building Postgres)
Date: 1999-06-30 04:47:12
Message-ID: 3779A150.61BE4399@bawue.de (view raw or flat)
Thread:
Lists: pgsql-hackers
Cristian Gafton wrote:
> 
> On Tue, 29 Jun 1999, Thomas Lockhart wrote:
> 
> > The rpm format would prefer to build *all* files on a source machine,
> > and then move them from the rpm file into the appropriate places on
> > target machines. The problem is that, apparently,
> >   perl Makefile.PL
> > generates paths which are *very* specific to the version of perl on
> 
> That should not be the case. It depends on how the Postgres package
> Makefile.PL is written, but in general it should go into a general use
> perl5 directory, such as /usr/lib/perl5/site_perl, which is anything but
> perl version dependant. If it generates paths that are perl version
> dependent then the Makefile.PL is busted.
> 


/usr/local/lib/perl5/site_perl/5.005/i686-linux/Pg.pm

this is the standard path for all additionally installed modules.
It depends on the perl version as well as on the system type.



> > One possibility is to
> > simply lift all of the perl5 source tree into the rpm, and actually do
> > the build on the target machine from scratch. afaik, this is *not* the
> > preferred style for rpms.
> 
> No, that is definitely not th way to handle packages distributed by rpm.
> 
> Cristian
> --
> ----------------------------------------------------------------------
> Cristian Gafton    --     gafton(at)redhat(dot)com     --       Red Hat, Inc.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  UNIX is user friendly. It's just selective about who its friends are.



Edmund

-- 
Edmund Mergl
mailto:E(dot)Mergl(at)bawue(dot)de
http://www.bawue.de/~mergl

In response to

Responses

pgsql-hackers by date

Next:From: Michael RichardsDate: 1999-06-30 04:55:24
Subject: Re: [HACKERS] Hot Backup Ability
Previous:From: Cristian GaftonDate: 1999-06-30 04:26:12
Subject: Re: Perl library (was Building Postgres)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group