[Linux-cluster] Troubles to install GFS on Debian

Jeronimo Bezerra jab at ufba.br
Wed Sep 20 20:59:45 UTC 2006


Hello Bob, thanks :)

I installed openais but I didn't see that was
in /usr/local/usr/include/openais, and in the Debian the default
location is /usr/include. I fix it. After that, I received another
error:

make[2]: Leaving directory `/usr/src/cluster/group/tool'
make -C dlm_controld all
make[2]: Entering directory `/usr/src/cluster/group/dlm_controld'
gcc -Wall  -g -I//usr/include -I../config -idirafter /include/linux
-I../../group/lib/ -I../../ccs/lib/ -I../../cman/lib/ -I../include/ -c
-o main.o main.c
main.c: In function `setup_uevent':
main.c:183: error: `NETLINK_KOBJECT_UEVENT' undeclared (first use in
this function)
main.c:183: error: (Each undeclared identifier is reported only once
main.c:183: error: for each function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/src/cluster/group/dlm_controld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/cluster/group'
make: *** [all] Error 2

I will try to resolve it tonight. But if you would like to help,
please! :)

Thank you again!

Jeronimo


Em Qua, 2006-09-20 às 15:38 -0500, Robert Peterson escreveu:
> Jeronimo Bezerra wrote:
> > Hello All.
> >
> > I'm having a big trouble here to compile the gfs on Debian. I downloaded
> > from CVS, and did the follow:
> >
> > cd /usr/src
> > ln -s linux-source-2.6.16 linux-2.6
> > cd cluster
> > ./configure
> > make
> >
> > After that, the make command returns the follow:
> >
> > make[2]: Entering directory `/usr/src/cluster/group/daemon
> > (...)
> > gcc -Wall  -g -I. -I../include/ -I../../cman/lib/ -I../lib/ -c -o
> > joinleave.o joinleave.c
> > joinleave.c: In function `do_leave':
> > joinleave.c:129: warning: long long unsigned int format, uint64_t arg
> > (arg 7)
> > joinleave.c:136: warning: long long unsigned int format, uint64_t arg
> > (arg 7)
> > gcc -Wall  -g -I. -I../include/ -I../../cman/lib/ -I../lib/ -c -o main.o
> > main.c
> > main.c: In function `app_deliver':
> > main.c:180: warning: int format, different type arg (arg 6)
> > gcc -L//usr/src/cluster/group/../cman/lib -L//usr/lib64/openais
> > -L//usr/lib64 -o groupd app.o cpg.o cman.o joinleave.o main.o -lcman
> > -lcpg
> > /usr/bin/ld: cannot find -lcpg
> > collect2: ld returned 1 exit status
> > make[2]: *** [groupd] Error 1
> > make[2]: Leaving directory `/usr/src/cluster/group/daemon'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/src/cluster/group'
> > make: *** [all] Error 2
> >
> > In the directory /usr/src/cluster/group/daemon :
> >
> > app.c  app.o  cman.c  cman.o  cpg.c  cpg.o  CVS  gd_internal.h  groupd.h
> > joinleave.c  joinleave.o  main.c  main.o  Makefile
> >
> > ie, the gcc loads the cman (-lcman) but doesn't with cgp (-lcpg). 
> >
> > Why this happen? Is there a best howto to install gfs on Debian? or
> > another way??
> >
> > Thanks a lot
> >
> > Jeronimo Bezerra
> Hi Jeronimo,
> 
> libcpg is part of openais, so I suspect you're missing openais.
> Here is a usage.txt file that is a good resource for building the 
> development
> tree of cluster/GFS from source.
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/doc/usage.txt?cvsroot=cluster
> 
> Regards,
> 
> Bob Peterson
> Red Hat Cluster Suite
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list