Really simple way:
Run ./configure and make as usual, but don't make install yet.
Run touch /baseline (any file works) to set a baseline date.
Run make install.
Run find / -cnewer /baseline | sed -e '/^\/proc/d' -e '^\/sys/d' >
/packagename.txt . This will show all of the files that were updated
in the make install.
Then you can just run rm `cat /packagename.txt` to remove the package.
Hmm, this seams a very neat solution, but one need to be very careful when applying it in a multi-user environment (even in a
multi-process one), so that files modified between 'make install' and 'find' do not get accidentally deleted. These could be user
files (ones owned by non-root users) or even configuration or log files of other programs already installed and running on the
target system.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page