[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server Adjustments

From: Eric Blake
Subject: Re: Server Adjustments
Date: Mon, 14 Dec 2009 05:57:58 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090812 Thunderbird/ Mnenhy/

Hash: SHA1

According to Glus Xof on 12/14/2009 2:56 AM:
> Hello guys,
> I'm developping a server application specially for GNU/Linux
> platforms... but as I'm a little newbie using the autools, I'd need to
> know what I can do to reach that the autotools realizes the system
> settings & adjustments (so, in /etc/services, /etc/rc.X/...) before
> the installation process concludes, (i.e., make install). Maybe,
> calling to a simply Shell Script (Bash) (at the installation process,
> of course...) would solve the problem, but... how to configure the
> call ?.

As the developer, you shouldn't have to worry about this.  Rather, the
installer should worry about it when they call ./configure, by passing
appropriate options to configure such as --sysconfdir=/etc.  Remember, not
everyone who installs your package will have root access, so you shouldn't
ever hard-code locations like /etc/services into your configure script
that would typically require root privileges.  Instead, by following the
GNU Coding Standards of providing locations that default relative to
- --prefix, but which can be overridden on a per-directory basis, you give
the installer full freedom to fit the needs of their machine.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]