Re: autoconf make install

From: Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: autoconf make install
Date: 2003-05-13 22:01:16
Message-ID: 3EC16B2C.9020006@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page wrote:

>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:Andreas(dot)Pflug(at)web(dot)de]
>>Sent: 13 May 2003 22:34
>>To: Dave Page; pgadmin-hackers(at)postgresql(dot)org
>>Subject: Re: autoconf make install
>>
>>
>>Dave Page wrote:
>>
>>
>>
>>>I think /usr/local/pgadmin3 is the right place.
>>>
>>>
>>/usr/X11R6/bin should
>>
>>
>>>be for components of X11R6 that came with the OS, whereas
>>>
>>>
>>/usr/local/
>>
>>
>>>is specifically for additional programs installed by the
>>>
>>>
>>local admin.
>>
>>
>>>If it ever gets popular enough to ship with 'pgLinux' for
>>>
>>>
>>example :-)
>>
>>
>>>then /usr/pgadmin3 would seem sensible.
>>>
>>>
>>>
>>Should we really invent a new directory, requiring changes to
>>PATH? Why
>>not using /usr/local/bin? In this case, we shouldn't use
>>/usr/local/bin/ui/*, but something distinctive as
>>/usr/local/bin/pgadmin.ui/*.
>>
>>
>
>Well technically the filesystem standard does say we should use
>/usr/local/bin. The gui components should probably be elsewhere
>(/usr/local/share springs to mind, but that *should* be architecture
>independent data which you could argue the xrc's are not).
>
>As a sysadmin though, I prefer a program specific structure under
>/usr/local/xxx. It makes it so much easier to seperate out what files
>belongs to what package. Can make a mess of your path and ld.so.conf
>admittedly, but then I usually type full paths anyway. Some also
>consider adding /usr/local/bin/ to the path to be a bad idea though I
>never quite figured out why.
>
>Thought or comments from anyone else?
>
>
Well I'm not anyone else ;-) but I'd prefer to have the ui directory
structure located somewhere "known", preferably relative to the pgAdmin3
binary. At the moment, argv[0] is analyzed to locate the *.xrc files,
which makes copying quite easy because no environment variables are
needed (I learned to hate them...)

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-05-13 22:07:13 Re: autoconf make install
Previous Message Dave Page 2003-05-13 21:55:22 Re: autoconf make install