Re: Nåt trevligt verktyg...
Daniel Swärd wrote: Finns det nåt trevligt verktyg som loggar vart alla filer hamnar när man gör en make install på nåt paket som _inte_ har nån make uninstall? /Daniel chroot? fakeroot?
Re: Nåt trevligt verktyg...
Daniel Swärd [EMAIL PROTECTED] writes: Finns det nåt trevligt verktyg som loggar vart alla filer hamnar när man gör en make install på nåt paket som _inte_ har nån make uninstall? checkinstall kanske? http://packages.debian.org/unstable/admin/checkinstall.html (har ej provat det, såg att nån nämnde det nyligen på debianplanet.org) -- Tommy Lindgren | o y @ i u . u 41A942131CAA5C | t m l l n x n ^C^C
Re: Nåt trevligt verktyg...
On Mon, Aug 26, 2002 at 02:41:52PM +0200, Daniel Swärd wrote: Finns det nåt trevligt verktyg som loggar vart alla filer hamnar när man gör en make install på nåt paket som _inte_ har nån make uninstall? Vad jag vet, nej. De alternativ som finns är att först installera till något annat prefix (ganska lätt om filen är vettigt kontruerat, men det är de ju inte alltid...), eller att trixa med find. T.ex. nåt sånt här: $ touch /tmp/now $ make install $ find /usr/local -newer /tmp/now Detta är ju inte det minsta säkert om det finns andra användare eller program som manipulerar filer samtidigt, men i enkla fall kanske det funkar hyfsat... Martin -- Martin Sjögren [EMAIL PROTECTED] ICQ : 41245059 Phone: +46 (0)31 405242Cell: +46 (0)739 169191 GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
Re: Nåt trevligt verktyg...
Daniel Swärd wrote: Finns det nåt trevligt verktyg som loggar vart alla filer hamnar när man gör en make install på nåt paket som _inte_ har nån make uninstall? /Daniel stow skulle kanske kunna vara något? Description: Organiser for /usr/local/ hierarchy GNU Stow helps the system administrator organise files under /usr/local/ by allowing each piece of software to be installed in its own tree under /usr/local/stow/, and then using symlinks to create the illusion that all the software is installed in the same place. Annars kan möjligen checkinstall fungera: Description: CheckInstall installations tracker, version 1.5.1 CheckInstall keeps track of all the files created or modified by your installation script (make install make install_modules, setup, etc), builds a standard binary package and installs it in your system giving you the ability to uninstall it with your distribution's standard package management utilities. // Emil
Re: Nåt trevligt verktyg...
Finns det nåt trevligt verktyg som loggar vart alla filer hamnar när man gör en make install på nåt paket som _inte_ har nån make uninstall? /Daniel ... $ man make 2/dev/null | grep -C -- '-n' With no argument, removes a previous load limit. -n Print the commands that would be executed, but do not execute them. -- -W file Pretend that the target file has just been modified. When used with the -n flag, this shows you what would happen if you were to modify that file. Without -n, it is almost the same as running a touch command on the given file before running make, except that the Hälsningar, /Karl --- Karl HammarAspö Data [EMAIL PROTECTED] Lilla Aspö 2340 0173 140 57 Nätverk S-742 94 Östhammar018 260 900Datorer/Utrustning Sweden 010 270 26 67Linux/Unix konsulting ---