Re: [systemd-devel] Building systemd from git
Thanks, Zbyszek. --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? KW On Wed, Mar 19, 2014 at 10:44 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Mar 19, 2014 at 10:25:30PM +0200, Kevin Wilson wrote: Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). That's the usual GNU style. Is there a way to run configure so that, instead of /usr/etc/systemd/, it will use /etc/systemd/ ? In Fedora, for example, the rpm uses the /etc/systemd and not /usr/etc/systemd/, which does not exist. Use --prefix etc. Look ./autogen.sh for some nice default options. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
Am 20.03.2014 15:02, schrieb Kevin Wilson: --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? KW no: http://en.wikipedia.org/wiki/Et_cetera you don't want your binary tree in /etc On Wed, Mar 19, 2014 at 10:44 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Mar 19, 2014 at 10:25:30PM +0200, Kevin Wilson wrote: Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). That's the usual GNU style. Is there a way to run configure so that, instead of /usr/etc/systemd/, it will use /etc/systemd/ ? In Fedora, for example, the rpm uses the /etc/systemd and not /usr/etc/systemd/, which does not exist. Use --prefix etc. Look ./autogen.sh for some nice default options signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
On Thu, Mar 20, 2014 at 3:02 PM, Kevin Wilson wkev...@gmail.com wrote: Thanks, Zbyszek. --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? No. Just check out git and run ./autogen.sh, it will tell you what to do. Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
On Thu, Mar 20, 2014 at 04:02:37PM +0200, Kevin Wilson wrote: Thanks, Zbyszek. --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? No, I meant --prefix as in the command line option to ./configure, e.g. --prefix=/usr, and etc as in et cetera, not the directory. Something like ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var. Generally, it is best to use the same flags that you distribution uses. Then you'll overwrite existing files instead writing them to a different directory and potentially causing confusion. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
Hi all, Thanks for the quick response from all responders; I was afraid that etc here was indeed in a different context than a path regards, KW On Thu, Mar 20, 2014 at 4:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Mar 20, 2014 at 04:02:37PM +0200, Kevin Wilson wrote: Thanks, Zbyszek. --prefix etc. I assume you mean: --prefix /etc and not prefix /etc is it so ? No, I meant --prefix as in the command line option to ./configure, e.g. --prefix=/usr, and etc as in et cetera, not the directory. Something like ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var. Generally, it is best to use the same flags that you distribution uses. Then you'll overwrite existing files instead writing them to a different directory and potentially causing confusion. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Building systemd from git
Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). Is there a way to run configure so that, instead of /usr/etc/systemd/, it will use /etc/systemd/ ? In Fedora, for example, the rpm uses the /etc/systemd and not /usr/etc/systemd/, which does not exist. Regards, Kevin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
On Wed, Mar 19, 2014 at 10:25:30PM +0200, Kevin Wilson wrote: Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). That's the usual GNU style. Is there a way to run configure so that, instead of /usr/etc/systemd/, it will use /etc/systemd/ ? In Fedora, for example, the rpm uses the /etc/systemd and not /usr/etc/systemd/, which does not exist. Use --prefix etc. Look ./autogen.sh for some nice default options. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Building systemd from git
On Wed, 19.03.14 22:25, Kevin Wilson (wkev...@gmail.com) wrote: Hello, When I build systemd from git using the usual procedure of configure, without setting special parameters, it installs folder under /usr/etc/systemd/ (like /usr/etc/systemd/system and its children, /usr/etc/systemd/network/, and more). Is there a way to run configure so that, instead of /usr/etc/systemd/, it will use /etc/systemd/ ? In Fedora, for example, the rpm uses the /etc/systemd and not /usr/etc/systemd/, which does not exist. This works like for any other autoconf/automake package. If you want to override the GNU defaults use --sysconfdir= for example. If you are a developer, and now what you do the best way to build and install systemd is via ./autogen.sh c make -j8 sudo make install. However, do understand that this voids your warranty because it will install systemd into /usr which is package manager territory. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel