Re: Relocatable installs

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Relocatable installs
Date: 2004-05-09 10:19:53
Message-ID: 3667.24.211.141.25.1084097993.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Shachar Shemesh said:
> Bruce Momjian wrote:
>
>>Comments?
>>
>>
> What's wrong with the way it's done by everybody else?
>
> Have hardcoded paths (determined at configure time), and allow override
> using a config file. Have a command line option for saying where the
> config file should be.
>
> For Windows, replace config file with "Registry". That is usually
> hardcoded for (depending on whether you want it changeable per-user)
> HKEY_LOCAL_MACHINE\Software\<company name>\<product name> (replace HKLM
> with HKEY_LOCAL_USER if you want per-user config).
>

IMNSHO this would not buy anything but would provide you with an extra
capacity for shooting yourself in the foot. Using what we have discussed
up to now this would be completely unnecessary - you could just move the
installation and it would work (modulo any necessary changes in
LD_LIBRARY_PATH ,PATH etc).

Perhaps you have not followed the discussion about this issue over the
last months, but a good part of it revolved around avoiding the very
dependencies you are suggesting.

"What everybody else does" doesn't carry much weight on its own with me.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2004-05-09 11:41:38 Re: mingw configure failure detection
Previous Message Dave Page 2004-05-09 09:30:36 Re: Relocatable installs