[Linux-cluster] Trying to compile cluster-2.03.07

gregory steulet gregory at steulet.org
Mon Aug 25 19:34:52 UTC 2008


At first thanks for your answer.

In fact I used the following procedure to install all my components :


#get the latest stable kernel realease
[root at localhost ~]# cd /usr/src
[root at localhost src]#wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-
[root at localhost src]# tar -xvzf linux-
[root at localhost src]# cd linux-
[root at localhost src]# cp /boot/configurexxxxxx /usr/src/linux-

#configure you kernel
[root at localhost linux-]# make menuconfig

#get & apply the lockproto patch
[root at localhost linux-]# wget ftp://sources.redhat.com/pub/cluster/releases/lockproto-exports.patch
[root at localhost linux-]# patch -p1 < lockproto-exports.patch
patching file fs/gfs2/locking.c

#compiling kernel
[root at localhost linux-]# make bzImage
[root at localhost linux-]# make modules
[root at localhost linux-]# make modules_install
[root at localhost linux-]# make install
[root at localhost linux-]# reboot

#installing openais
[root at localhost openais]# tar -xvzf openais-0.80.3.tar.gz
[root at localhost openais-0.80.3]# make
[root at localhost openais-0.80.3]# make install

#trying to install cluster

[root at localhost cluster]# wget ftp://sources.redhat.com/pub/cluster/releases/cluster-2.03.07.tar.gz
[root at localhost cluster]# tar -xvzf cluster-2.03.07.tar.gz
[root at localhost src]# cd cluster-2.03.07
[root at localhost cluster-2.03.07]# ./configure kernel_src=/usr/src/linux-
[root at localhost cluster-2.03.07]# make install


In fact I just would like a reliable procedure to install all those components without having problems.
Just a simple procedure with all requirements and commands. I'm simply doing that to know if GFS is usable only on Redhat or if it's possible to install on other distribution

Thanks again for your help, regards



Hi,Are you sure openais-devel is installed?In rhel-5, openais-devel owns that header file. I'm not sure same goesfor centos but same or similar named package should be required, Iguess.[root at cluster-1@foo ~]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.2 (Tikanga)[root at cluster-1@foo ~]# rpm -qf $(locate openais/service/swab.h)openais-devel-0.80.3-15.el5- satoruOn Sat, Aug 23, 2008 at 10:34:45AM +0200, gregory steulet wrote:> Hi folks,> > I'm a bit fed up with this project of red hat cluster. At first I triedto> compile cluster-2.03.07 on a 64 bits system... well I forgot it, it looksnot> possible. Now I switched on a centos 32 bits, other errors occured when Itry> to compile cluster-2.03.07> > My configuration is the following :> - centos 5.2 32 bits, last patches> - kernel> -openais-080.3> > I used the following procedure to compile cluster-2.03.07> > configure --kernel_src=/usr/src/linux-> make> > There I got lot of errors regarding op!
 enais (cman/deamon/deamon.c:21:34:error:> openais/service/swab.h: no such file or directory, deamon.c:22:35: error:> openais/totem/aispool.h: nos such file or directory)> > However I had a look on http://sources.redhat.com/cluster/wiki/ and my set up> looks good... How do I have to proceed ???> > Greg--Linux-cluster mailing listLinux-cluster at redhat.comhttps://www.redhat.com/mailman/listinfo/linux-cluster

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080825/1e6b6575/attachment.htm>

More information about the Linux-cluster mailing list