Closed GoogleCodeExporter closed 9 years ago
Ok, now I see that they're put in /usr/bin & /usr/man.
That's still wrong, since s/w installed locally from source should go in
/usr/local.
Original comment by ronljohnsonjr
on 23 Jan 2015 at 9:15
Hi Ron
The current make install process was defined by the Linux Fedora team, with the
kind support from ArchLinux community.
It's likely that different distributions adopt different policies when it comes
to target directories.
In any case, most of the effort went into making "make install" highly
configurable.
The standard environment variables DESTDIR and PREFIX can be used to select
where to install the files.
In your case, I guess setting :
export PREFIX=/usr/local
would produce the desired result.
Regards
Original comment by yann.col...@gmail.com
on 23 Jan 2015 at 10:29
I was reading a document on FHS (File Hierarchy Standard)
which seems to be the directory organisation for *all* standard compliant Linux
distros.
My understanding is the same as yours :
An administrator typing
sudo make install
should rather end up installing software into /usr/local.
I'm a bit surprised, I was trusting the team which created the initial
installation script to be expert at such stuff. But it could be that they were
seeing the process from their side, meaning software managed by distrib do end
up into /usr.
This is basically why there is this separation between /usr and /usr/local.
/usr/local is for administrator installing their own software not provided by
distro.
I will try to sort this out with them.
Original comment by yann.col...@gmail.com
on 23 Jan 2015 at 10:48
After verification, this is correct : install from source should end up into
/usr/local by default, whereas /usr is reserved for install from distrib's
package manager.
I'll modify the Makefile appropriately.
Thanks for reporting !
Original comment by yann.col...@gmail.com
on 23 Jan 2015 at 4:48
Latest "dev" branch of lz4, at
https://github.com/Cyan4973/lz4/tree/dev
supports /usr/local installation directory by default.
Original comment by yann.col...@gmail.com
on 15 Mar 2015 at 7:50
Integrated into r128
Original comment by yann.col...@gmail.com
on 31 Mar 2015 at 1:37
Original issue reported on code.google.com by
ronljohnsonjr
on 23 Jan 2015 at 9:10