[Pacemaker] build Issue while configuring the cluster glue in CENT OS
rakesh k
rakirocker4236 at gmail.com
Tue Mar 8 06:02:00 UTC 2011
Hi Dejan
I am posting the steps i followed to install cluster glue from the source
as mentioned in the http://clusterlabs.org/
i tried to download the cluster glue tar bal using *wget the tar ball is * *
cluster-glue.tar.bz2*
and when i extracted this is the following directory i
got*Reusable-Cluster-Components-glue--be41a3ef5717
*
**
and tried to configure and got the output while i am procedding forwarded
while doing make ..i am getting the following message ...
o -lbz2 -lxml2 -lc -lrt -ldl -lglib-2.0
./.libs/libplumb.so: undefined reference to `uuid_parse'
./.libs/libplumb.so: undefined reference to `uuid_generate'
./.libs/libplumb.so: undefined reference to `uuid_copy'
./.libs/libplumb.so: undefined reference to `uuid_is_null'
./.libs/libplumb.so: undefined reference to `uuid_unparse'
./.libs/libplumb.so: undefined reference to `uuid_clear'
./.libs/libplumb.so: undefined reference to `uuid_compare'
collect2: ld returned 1 exit status
gmake[2]: *** [ipctest] Error 1
gmake[2]: Leaving directory
`/home/rakesh/Desktop/Pacemaker/Reusable-Cluster-Components-glue--be41a3ef5717/lib/clplumbing'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/rakesh/Desktop/Pacemaker/Reusable-Cluster-Components-glue--be41a3ef5717/lib'
make: *** [all-recursive] Error 1
and the configuring output is as follows
cluster-glue configuration:
Version = 1.0.7 (Build:
be41a3ef57175fcd35ffe0c4bc897f996cb447ba)
Features =
Prefix = /usr
Executables = /usr/sbin
Man pages = /usr/man
Libraries = /usr/lib
Header files = /usr/include
Arch-independent files = /usr/share
Documentation = /usr/share/doc
State information = /usr/var
System configuration = /usr/etc
Use system LTDL = no
HA group name = haclient
HA user name = hacluster
CFLAGS = -g -O2 -ggdb3 -O0 -fgnu89-inline
-fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
-Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
-Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline
-Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute
-Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith
-Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror
Libraries = -lbz2 -lxml2 -lc -lrt -ldl -L/lib -lglib-2.0
Stack Libraries =
and i tried to install libuuid-devel where it is displaying that no rpm
found ..and i am able to see libuuid.so.1 file in /usr/lib
please help me regarding this issue ..
Regards
Raki
On Mon, Mar 7, 2011 at 6:24 PM, rakesh k <rakirocker4236 at gmail.com> wrote:
> Hi All
>
>
> I got the errors like this while compiling cluster glue:
>
> ../.libs/libplumb.so: undefined reference to `uuid_parse'
> ../.libs/libplumb.so: undefined reference to `uuid_generate'
> ../.libs/libplumb.so: undefined reference to `uuid_copy'
> ../.libs/libplumb.so: undefined reference to `uuid_is_null'
> ../.libs/libplumb.so: undefined reference to `uuid_unparse'
> ../.libs/libplumb.so: undefined reference to `uuid_clear'
> ../.libs/libplumb.so: undefined reference to `uuid_compare'
> collect2: ld returned 1 exit status
> gmake[2]: *** [ipctest] Error 1
> gmake[2]: Leaving directory
> `/root/Reusable-Cluster-Components-glue-1.0.5/lib/clplumbing'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/root/Reusable-Cluster-Components-glue-1.0.5/lib'
> make: *** [all-recursive] Error 1
>
>
> and here is the output when I run ./configure:
>
> cluster-glue configuration:
> Version = 1.0.7 (Build:
> be41a3ef57175fcd35ffe0c4bc897f996cb447ba)
> Features =
>
> Prefix = /usr
> Executables = /usr/sbin
> Man pages = /usr/man
> Libraries = /usr/lib
> Header files = /usr/include
> Arch-independent files = /usr/share
> Documentation = /usr/share/doc
> State information = /usr/var
> System configuration = /usr/etc
>
> Use system LTDL = no
>
> HA group name = haclient
> HA user name = hacluster
>
> CFLAGS = -g -O2 -ggdb3 -O0 -fgnu89-inline
> -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
> -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
> -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline
> -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute
> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith
> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror
> Libraries = -lbz2 -lxml2 -lc -lrt -ldl -L/lib -lglib-2.0
> Stack Libraries =
>
>
> and also i tried to update the libs directive in mke file pointing
> libraries to /lib/libuuid.so.1 still i am getting the same issue . please
> help me regarding this issue since i am runing out of time ..
>
>
>
> regards
> raki
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110308/27d055db/attachment.htm>
More information about the Pacemaker
mailing list