Re: Filesystem Hierarchy Standards (FHS) and certain file locations
On 09/06/17 16:26, Michael Stahl wrote:
> On 06.09.2017 15:55, Paul Menzel wrote:
>> Following up on bug report #100724 , I have two question about the
>> location of some files.
> TDF binary packages (rpm and deb) don't install in /usr but in /opt.
I don’t know. We don’t use binary packages.
> apparently you are trying to use "make install", which probably is
> unused and unmaintained; maybe we should remove it.
No, we use `start_cmd make -j distro-pack-install DESTDIR=/some/where`.
What do you recommend?
I don’t see a good reason to divert from standards like `./configure &&
make && make install && make check # or test`. That way, it’s one more
barrier to integrate it in continuous integration systems like Travis CI
> Hi Michael,
> On Wednesday, 2017-09-06 16:26:09 +0200, Michael Stahl wrote:
>> apparently you are trying to use "make install", which probably is
>> unused and unmaintained; maybe we should remove it.
> make install works fine if one configures with --prefix=..., I use it
> regulary to create installations of builds and branches before I fool
> around in a tree. Something like
> ./configure --prefix=$HOME/opt/$(basename `pwd`)
And what about distros like gentoo? I don't know how portage does it,
but quite likely it uses "make install" to actually install its
applications, like libreoffice, after it's built them from source?
Portage, surely, is not supposed to use /opt?
And on another little point, aren't /usr/bin and /usr/sbin (along with
/sbin) deprecated? For some value of deprecated :-) As usual, things
move at a somewhat glacial pace, but I believe all binaries are
*supposed* to be installed or symlinked into /bin now, for the unified
root or whatever it's called.
sbin was originally meant for statically linked binaries, I believe.
Typically they were emergency rescue packages for root, hence that
transmogrifying into "packages for root" rather than "static packages".
And most of the directories in /usr being equivalents to those in /,
isn't /usr deprecated for the unified root?