[Cluster-devel] configure sbindir default

2007-09-06 Thread David Teigland
It looks to me like configure should be setting the default sbindir to {prefix}/usr/sbin instead of {prefix}/sbin. As it is now, using openais DESTDIR=/ and the default cluster/configure settings, aisexec is installed to /usr/sbin/aisexec but cman_tool looks for it in /sbin/aisexec and fails.

[Cluster-devel] -O2 -Werror

2007-09-06 Thread David Teigland
configure was recently changed from a default of -O0 to -O2. A couple of places in the tree also use -Werror. The new combination of -O2 and -Werror breaks the build when using default configure setting. [using gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)] We need to remove the -Werror's, go

[Cluster-devel] cluster configure

2007-09-06 Thread teigland
CVSROOT:/cvs/cluster Module name:cluster Changes by: [EMAIL PROTECTED] 2007-09-06 16:24:53 Modified files: . : configure Log message: go back to a default of -O0 instead of -O2 to get the stuff with -Werror to build Patches:

Re: [Cluster-devel] -O2 -Werror

2007-09-06 Thread Fabio Massimo Di Nitto
David Teigland wrote: configure was recently changed from a default of -O0 to -O2. A couple of places in the tree also use -Werror. The new combination of -O2 and -Werror breaks the build when using default configure setting. [using gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)] We need

[Cluster-devel] Re: configure sbindir default

2007-09-06 Thread David Teigland
On Thu, Sep 06, 2007 at 08:36:25PM +0200, Fabio Massimo Di Nitto wrote: David Teigland wrote: It looks to me like configure should be setting the default sbindir to {prefix}/usr/sbin instead of {prefix}/sbin. As it is now, using openais DESTDIR=/ and the default cluster/configure

[Cluster-devel] [RFC/PATCH] First batch to clean prefixes and paths

2007-09-06 Thread Fabio Massimo Di Nitto
After David comments I went around and checked the entire configure and dependencies again. On an Ubuntu machine (please let me know if it is substantially different on other distro's) all the external libraries we depend on are in /usr/.. and given that /usr can be on its own partition and not