Re: Fixed directory locations in installs

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Peter Eisentraut' <peter_e(at)gmx(dot)net>, Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>, 'Andrew Dunstan' <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fixed directory locations in installs
Date: 2004-05-03 07:22:18
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F433@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Peter Eisentraut wrote:
> Claudio Natoli wrote:
> > I'm yet to see a convincing argument for why we can't adopt the
> > "binary-location/../share" approach as submitted late March. AFAICS,
> > it was rejected on the basis that it was not platform independent (no
> > arguments there) and that we could not rely on the ".." approach.
>
> The only objection was that it hardcodes the layout already in the
> source, which gives us no flexibility at all to try out different
> installation layouts. If you want to compute the relative paths from
> bindir to libdir etc. at build time based on actual configure
> options, then I see no problem with that.

But we want to resolve the locations at run-time, not build or configure
time. For win32, I'm yet to see why this approach is egregious.

Do you have an alternative solution to propose?

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Swan 2004-05-03 07:27:53 Re: inconsistent owners in newly created databases?
Previous Message Peter Eisentraut 2004-05-03 06:59:04 Re: Fixed directory locations in installs

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Peter Eisentraut 2004-05-03 07:30:28 Re: Fixed directory locations in installs
Previous Message Claudio Natoli 2004-05-03 02:37:16 Re: regression failures

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-05-03 07:30:28 Re: Fixed directory locations in installs
Previous Message Peter Eisentraut 2004-05-03 06:51:45 Re: mingw regression test fixes