Resent using an email address that works. :-(
-------- Original Message -------- Subject: Re: Request for advice from the BLFS team (Asterisk) Date: Thu, 11 Oct 2007 10:43:22 -0500 From: Randy McMurchy <[EMAIL PROTECTED]> Reply-To: BLFS Support List <[EMAIL PROTECTED]> To: General chatter list <[email protected]>, BLFS Support <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Alan Lord wrote these words on 10/11/07 09:36 CST: [cc'd to BLFS-Support] > But I'm really interested in how you (the BLFS contributors) go about > working out how and where everything goes? Do you set the --prefix > switch to somewhere like /test/asterisk_build and then look to see what > went where? Yes. > 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 -- Randy rmlscsi: [bogomips 1003.25] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 10:38:01 up 29 days, 3:36, 1 user, load average: 0.48, 0.23, 0.14 -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
