David Masover wrote:
> 
> I don't see anything that makes a packaged reiser4progs better than an
> unpackaged one, except for the two things you're defeating with any
> custom version:  dependencies and automatic updates.

One big benefit is that installed files are never "lost". It's often
difficult to clean up after a "make install" directly to the target
location. By setting --prefix to a temporary location, building and
installing, then making a tar.gz from the installed files and running
through alien to get a .deb, it's much (much!) easier to remove the
package if I decide to revert to an upstream version, or simply don't
care for the program. It's something like:

./configure --prefix=/tmp/foo && make && make install
cd /tmp/foo
tar czvf ../package.tar.gz *
cd ..
alien package.tar.gz
su (type password)
dpkg -i generated-package-name.deb

A "make install" will often overwrite existing files without asking
first, while a good package manager will warn about conflicts before
trashing old data. Using package management insulates users from having
to know about each file "make install" wants to install. It's let me try
third-party software on one of my Debian machines without worrying about
collateral damage or difficult clean-up afterwards.

That said, I do agree with "make install" defaulting to /usr/local with
a warning that it may not be what the sysadmin wanted. It will warn
those who might not be familiar with convention, while doing what will
be expected by those who are.

Chet

Reply via email to