Re: Re: Beta2 ... ? - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: Re: Beta2 ... ?
Date
Msg-id 3A5C95C7.570E32C8@wgcr.org
Whole thread Raw
In response to Re: Re: Beta2 ... ?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Re: Beta2 ... ?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Lamar Owen writes:
> > However, there are some hard-coded paths left in the build, and the perl
> > client is being difficult,
> The Perl and Python clients use their own build system.  Not sure how to
> handle it.

I'm looking, in between day job stuff.
> > and odbcinst is going to the REAL /usr/etc instead of
> > $RPM_BUILD_ROOT/etc....
> Works here.

Which doesn't surprise me.  The RPM building environment is not the same
as building from source inside a regular user shell.  Similar, but not
the same.

> Hmm, are you using 'make install DESTDIR=/random/place'?
> Given that it's not documented it's unlikely that you are.  But do start
> using it.

Enlighten me.  DESTDIR does?  

Currently, my install lines look like:
make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C src
install
make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C
src/interface
s/perl5 install

So, I would put something like:
make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr
DESTDIR=/usr -C src install
???

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: Beta2 ... ?
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: Re: tinterval - operator problems on AIX