Randy McMurchy wrote: >> What about the /etc type files which do not seem to be >> affected by the --prefix switch? How do you prevent them from >> contaminating your system when you are just investigating? > > Use --sysconfdir=/whatever. > > Bottom line is don't build/install the package as the root user > until you're ready for a production installation. That way it is > *impossible* for your system to become contaminated. > > Use DESTDIR, or simply use --prefix=/whatever as an unprivileged > user. Most packages do respect --prefix in all instances, including > using /prefix/etc. Most don't (though some do) hard code /etc > into the installation. However, if it does, simply use --sysconfdir. > > HTH >
Thanks Randy - that gives me a good starting off point! Alan -- The way out is open! http://www.theopensourcerer.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
