Message-ID: <4A5F9A9C.7000805@...41...> Date: Thu, 16 Jul 2009 15:24:44 -0600 From: James Yonan MIME-Version: 1.0 References: <4A5EFE61.3020100@...41...> <20090716133751.GA8884@...33...> In-Reply-To: <20090716133751.GA8884@...33...> Subject: Re: [Openvpn-devel] OpenVPN 2.1_rc19 released List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: James Yonan , Openvpn-devel@lists.sourceforge.net Matthias Andree wrote: > James Yonan schrieb: > >> 2009.07.16 -- Version 2.1_rc19 > ... > >> * In configure.ac, use datadir instead of datarootdir for compatibility >> with > Dear Jim, > > This is backwards. Please don't do that, but revert that change and > instead update the argument of AC_PREREQ in configure.ac to read this: > AC_PREREQ(2.60) > > Since you're using autoconf/automake, configure.ac changes and > requirements have zero impact on end users who download the tarball that > you generate through "make dist". Such changes only affects developers > who want to hack configure.ac or use the SVN version, and you can simply > expect them to have an autoconf version no older than 36 months. > > In my experience, newer autoconf versions are more portable, have less > bugs, and are good for a much smoother ride than older versions. > > I'm happy to look into updating configure.ac, which in general needs an > overhaul anyways - unless you say "no configure.ac updates before 2.1 > release". We need to be able to build OpenVPN on older Linux distros, such as RHEL 4, that use pre-2.60 versions of autoconf. Before I made this change, I found that the previous code (using datarootdir instead of datadir on RHEL 4, autoconf-2.59-5) would generate a make install script that violated the --prefix argument -- i.e. make install would try to write stuff outside the --prefix dir. I was running the make install as a non-root user, so the jailbreak out of --prefix was obvious because it tried to write to parts of the filesystem that generated "permission denied" errors and halted the script. I'm not an autoconf/automake expert, so if there's a better way to fix the issue, I'm open to it. James