From tb53820 at gmail.com Mon Aug 1 14:19:42 2011 From: tb53820 at gmail.com (Travis Bean) Date: Mon, 1 Aug 2011 14:19:42 -0700 Subject: [Ocfs2-tools-users] errors during ocfs2_controld build Message-ID: Is it possible to build ocfs2-tools-1.6.x on RHEL/CentOS 6.x? If so, what build prereqs am I missing, or perhaps this is a bug in the setup_stack function? I am using the following build script: #!/bin/bash yum -y install e2fsprogs-devel glib2-devel readline-devel python-devel ncurses-devel pacemaker-libs-devel openaislib-devel libuuid-devel clusterlib-devel bzip2-devel libxml2-devel cd /tmp wget --continue http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.4.tar.gz tar xzf ocfs2-tools-* cd ocfs2-tools-* env CPPFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr --localstatedir=/var make make install rm -rf ../ocfs2-tools-* I receive the following errors during the end of ocfs2_controld build: make[1]: Entering directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' ... pacemaker.c: In function ?setup_stack?: pacemaker.c:158: error: ?PCMK_SERVICE_ID? undeclared (first use in this function) pacemaker.c:158: error: (Each undeclared identifier is reported only once pacemaker.c:158: error: for each function it appears in.) make[1]: *** [pacemaker.o] Error 1 make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' make: *** [ocfs2_controld] Error 2 Note: I have to use "env CPPFLAGS="-I/usr/include/libxml2" ./configure"; otherwise, "make" will not find libxml/tree.h and libxml/xpath.h. When building ocfs2-tools-1.4.x, I have to add --enable-dynamic-fsck=yes to "./configure"; otherwise, "make" produces the following errors: /usr/bin/ld: cannot find -ldl collect2: ld returned 1 exit status make[1]: *** [fsck.ocfs2] Error 1 make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/fsck.ocfs2' make: *** [fsck.ocfs2] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-tools-users/attachments/20110801/bb569c27/attachment.html From sunil.mushran at oracle.com Mon Aug 1 15:23:39 2011 From: sunil.mushran at oracle.com (Sunil Mushran) Date: Mon, 01 Aug 2011 15:23:39 -0700 Subject: [Ocfs2-tools-users] errors during ocfs2_controld build In-Reply-To: References: Message-ID: <4E37276B.1020104@oracle.com> yum install libcrmcluster1-dev On 08/01/2011 02:19 PM, Travis Bean wrote: > Is it possible to build ocfs2-tools-1.6.x on RHEL/CentOS 6.x? If so, what build prereqs am I missing, or perhaps this is a bug in the setup_stack function? > > I am using the following build script: > > #!/bin/bash > yum -y install e2fsprogs-devel glib2-devel readline-devel python-devel ncurses-devel pacemaker-libs-devel openaislib-devel libuuid-devel clusterlib-devel bzip2-devel libxml2-devel > cd /tmp > wget --continue http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.4.tar.gz > tar xzf ocfs2-tools-* > cd ocfs2-tools-* > env CPPFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr --localstatedir=/var > make > make install > rm -rf ../ocfs2-tools-* > > I receive the following errors during the end of ocfs2_controld build: > > make[1]: Entering directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' > ... > pacemaker.c: In function ?setup_stack?: > pacemaker.c:158: error: ?PCMK_SERVICE_ID? undeclared (first use in this function) > pacemaker.c:158: error: (Each undeclared identifier is reported only once > pacemaker.c:158: error: for each function it appears in.) > make[1]: *** [pacemaker.o] Error 1 > make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' > make: *** [ocfs2_controld] Error 2 > > Note: I have to use "env CPPFLAGS="-I/usr/include/libxml2" ./configure"; otherwise, "make" will not find libxml/tree.h and libxml/xpath.h. > When building ocfs2-tools-1.4.x, I have to add --enable-dynamic-fsck=yes to "./configure"; otherwise, "make" produces the following errors: > > /usr/bin/ld: cannot find -ldl > collect2: ld returned 1 exit status > make[1]: *** [fsck.ocfs2] Error 1 > make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/fsck.ocfs2' > make: *** [fsck.ocfs2] Error 2 > > > _______________________________________________ > Ocfs2-tools-users mailing list > Ocfs2-tools-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-tools-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-tools-users/attachments/20110801/c8ade337/attachment.html From sunil.mushran at oracle.com Mon Aug 1 15:27:09 2011 From: sunil.mushran at oracle.com (Sunil Mushran) Date: Mon, 01 Aug 2011 15:27:09 -0700 Subject: [Ocfs2-tools-users] errors during ocfs2_controld build In-Reply-To: <4E37276B.1020104@oracle.com> References: <4E37276B.1020104@oracle.com> Message-ID: <4E37283D.6000906@oracle.com> cluster-glue-dev libdlm-dev libdlmcontrol-dev pacemaker-dev libcman-dev libcorosync-dev libopenais-dev On 08/01/2011 03:23 PM, Sunil Mushran wrote: > yum install libcrmcluster1-dev > > On 08/01/2011 02:19 PM, Travis Bean wrote: >> Is it possible to build ocfs2-tools-1.6.x on RHEL/CentOS 6.x? If so, what build prereqs am I missing, or perhaps this is a bug in the setup_stack function? >> >> I am using the following build script: >> >> #!/bin/bash >> yum -y install e2fsprogs-devel glib2-devel readline-devel python-devel ncurses-devel pacemaker-libs-devel openaislib-devel libuuid-devel clusterlib-devel bzip2-devel libxml2-devel >> cd /tmp >> wget --continue http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.4.tar.gz >> tar xzf ocfs2-tools-* >> cd ocfs2-tools-* >> env CPPFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr --localstatedir=/var >> make >> make install >> rm -rf ../ocfs2-tools-* >> >> I receive the following errors during the end of ocfs2_controld build: >> >> make[1]: Entering directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' >> ... >> pacemaker.c: In function ?setup_stack?: >> pacemaker.c:158: error: ?PCMK_SERVICE_ID? undeclared (first use in this function) >> pacemaker.c:158: error: (Each undeclared identifier is reported only once >> pacemaker.c:158: error: for each function it appears in.) >> make[1]: *** [pacemaker.o] Error 1 >> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' >> make: *** [ocfs2_controld] Error 2 >> >> Note: I have to use "env CPPFLAGS="-I/usr/include/libxml2" ./configure"; otherwise, "make" will not find libxml/tree.h and libxml/xpath.h. >> When building ocfs2-tools-1.4.x, I have to add --enable-dynamic-fsck=yes to "./configure"; otherwise, "make" produces the following errors: >> >> /usr/bin/ld: cannot find -ldl >> collect2: ld returned 1 exit status >> make[1]: *** [fsck.ocfs2] Error 1 >> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/fsck.ocfs2' >> make: *** [fsck.ocfs2] Error 2 >> >> >> _______________________________________________ >> Ocfs2-tools-users mailing list >> Ocfs2-tools-users at oss.oracle.com >> http://oss.oracle.com/mailman/listinfo/ocfs2-tools-users > > > _______________________________________________ > Ocfs2-tools-users mailing list > Ocfs2-tools-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-tools-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-tools-users/attachments/20110801/2aeaff1f/attachment.html From tb53820 at gmail.com Mon Aug 1 16:43:45 2011 From: tb53820 at gmail.com (Travis Bean) Date: Mon, 1 Aug 2011 16:43:45 -0700 Subject: [Ocfs2-tools-users] errors during ocfs2_controld build Message-ID: The dev packages you list are for a Debian based OS. The latest Debian 6.x release has ocfs2-tools in the apt-get repos. Unfortunately, this is not the case with RHEL. The only software repository for RHEL that offers ocfs2-tools is elrepo.com (testing repo) for RHEL 5.x, and the ocfs2_controld.pcmk is missing because the ocfs2-tools build prereqs do not exist on RHEL 5.x for building ocfs2_controld. Here is how you can test the latest ocfs2-tools build on a RHEL 6.x based OS. Download CentOS Enterprise Linux 6 (http://mirrors.kernel.org/centos/6.0/isos/x86_64/). Install RHEL software repos: #!/bin/bash rpm -ivh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm wget --continue -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/epel-6/clusterlabs.repo Perhaps it can be determined if there are devel packages I am missing that can be found on a RHEL software repo? Thanks for your help! On Mon, 01 Aug 2011 15:27:09 -0700 Sunil Mushran wrote: > cluster-glue-dev libdlm-dev libdlmcontrol-dev pacemaker-dev > libcman-dev libcorosync-dev libopenais-dev > > On 08/01/2011 03:23 PM, Sunil Mushran wrote: > > yum install libcrmcluster1-dev > > > > On 08/01/2011 02:19 PM, Travis Bean wrote: > >> Is it possible to build ocfs2-tools-1.6.x on RHEL/CentOS 6.x? If > >> so, what build prereqs am I missing, or perhaps this is a bug in > >> the setup_stack function? > >> > >> I am using the following build script: > >> > >> #!/bin/bash > >> yum -y install e2fsprogs-devel glib2-devel readline-devel > >> python-devel ncurses-devel pacemaker-libs-devel openaislib-devel > >> libuuid-devel clusterlib-devel bzip2-devel libxml2-devel cd /tmp > >> wget --continue > >> http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.4.tar.gz > >> tar xzf ocfs2-tools-* cd ocfs2-tools-* env > >> CPPFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr > >> --localstatedir=/var make make install > >> rm -rf ../ocfs2-tools-* > >> > >> I receive the following errors during the end of ocfs2_controld > >> build: > >> > >> make[1]: Entering directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' > >> ... > >> pacemaker.c: In function ?setup_stack?: > >> pacemaker.c:158: error: ?PCMK_SERVICE_ID? undeclared (first use in > >> this function) pacemaker.c:158: error: (Each undeclared identifier > >> is reported only once pacemaker.c:158: error: for each function it > >> appears in.) make[1]: *** [pacemaker.o] Error 1 > >> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' > >> make: *** [ocfs2_controld] Error 2 > >> > >> Note: I have to use "env > >> CPPFLAGS="-I/usr/include/libxml2" ./configure"; otherwise, "make" > >> will not find libxml/tree.h and libxml/xpath.h. When building > >> ocfs2-tools-1.4.x, I have to add --enable-dynamic-fsck=yes to > >> "./configure"; otherwise, "make" produces the following errors: > >> > >> /usr/bin/ld: cannot find -ldl > >> collect2: ld returned 1 exit status > >> make[1]: *** [fsck.ocfs2] Error 1 > >> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/fsck.ocfs2' > >> make: *** [fsck.ocfs2] Error 2 From sunil.mushran at oracle.com Mon Aug 1 16:51:20 2011 From: sunil.mushran at oracle.com (Sunil Mushran) Date: Mon, 01 Aug 2011 16:51:20 -0700 Subject: [Ocfs2-tools-users] errors during ocfs2_controld build In-Reply-To: References: Message-ID: <4E373BF8.9080101@oracle.com> I have not looked up rhel6 but my understanding is that it is missing bits. Ping the linux-cluster mailing list. On 08/01/2011 04:43 PM, Travis Bean wrote: > The dev packages you list are for a Debian based OS. The latest Debian > 6.x release has ocfs2-tools in the apt-get repos. Unfortunately, this > is not the case with RHEL. The only software repository for RHEL that > offers ocfs2-tools is elrepo.com (testing repo) for RHEL 5.x, and the > ocfs2_controld.pcmk is missing because the ocfs2-tools build prereqs > do not exist on RHEL 5.x for building ocfs2_controld. > > Here is how you can test the latest ocfs2-tools build on a RHEL 6.x > based OS. Download CentOS Enterprise Linux 6 > (http://mirrors.kernel.org/centos/6.0/isos/x86_64/). > > Install RHEL software repos: > > #!/bin/bash > rpm -ivh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm > rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm > rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm > wget --continue -O /etc/yum.repos.d/pacemaker.repo > http://clusterlabs.org/rpm/epel-6/clusterlabs.repo > > Perhaps it can be determined if there are devel packages I am missing > that can be found on a RHEL software repo? > > Thanks for your help! > > On Mon, 01 Aug 2011 15:27:09 -0700 > Sunil Mushran wrote: > >> cluster-glue-dev libdlm-dev libdlmcontrol-dev pacemaker-dev >> libcman-dev libcorosync-dev libopenais-dev >> >> On 08/01/2011 03:23 PM, Sunil Mushran wrote: >>> yum install libcrmcluster1-dev >>> >>> On 08/01/2011 02:19 PM, Travis Bean wrote: >>>> Is it possible to build ocfs2-tools-1.6.x on RHEL/CentOS 6.x? If >>>> so, what build prereqs am I missing, or perhaps this is a bug in >>>> the setup_stack function? >>>> >>>> I am using the following build script: >>>> >>>> #!/bin/bash >>>> yum -y install e2fsprogs-devel glib2-devel readline-devel >>>> python-devel ncurses-devel pacemaker-libs-devel openaislib-devel >>>> libuuid-devel clusterlib-devel bzip2-devel libxml2-devel cd /tmp >>>> wget --continue >>>> http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.6/ocfs2-tools-1.6.4.tar.gz >>>> tar xzf ocfs2-tools-* cd ocfs2-tools-* env >>>> CPPFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr >>>> --localstatedir=/var make make install >>>> rm -rf ../ocfs2-tools-* >>>> >>>> I receive the following errors during the end of ocfs2_controld >>>> build: >>>> >>>> make[1]: Entering directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' >>>> ... >>>> pacemaker.c: In function ?setup_stack?: >>>> pacemaker.c:158: error: ?PCMK_SERVICE_ID? undeclared (first use in >>>> this function) pacemaker.c:158: error: (Each undeclared identifier >>>> is reported only once pacemaker.c:158: error: for each function it >>>> appears in.) make[1]: *** [pacemaker.o] Error 1 >>>> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/ocfs2_controld' >>>> make: *** [ocfs2_controld] Error 2 >>>> >>>> Note: I have to use "env >>>> CPPFLAGS="-I/usr/include/libxml2" ./configure"; otherwise, "make" >>>> will not find libxml/tree.h and libxml/xpath.h. When building >>>> ocfs2-tools-1.4.x, I have to add --enable-dynamic-fsck=yes to >>>> "./configure"; otherwise, "make" produces the following errors: >>>> >>>> /usr/bin/ld: cannot find -ldl >>>> collect2: ld returned 1 exit status >>>> make[1]: *** [fsck.ocfs2] Error 1 >>>> make[1]: Leaving directory `/tmp/ocfs2-tools-1.4.4/fsck.ocfs2' >>>> make: *** [fsck.ocfs2] Error 2 > _______________________________________________ > Ocfs2-tools-users mailing list > Ocfs2-tools-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-tools-users From john.devereaux at oracle.com Mon Aug 1 16:51:53 2011 From: john.devereaux at oracle.com (john.devereaux at oracle.com) Date: Mon, 1 Aug 2011 16:51:53 -0700 (PDT) Subject: [Ocfs2-tools-users] Auto Reply: Ocfs2-tools-users Digest, Vol 15, Issue 1 Message-ID: <4c1444c8-f03f-45d5-ab4d-ec1660cea222@default> Greetings, During the week of August 1st, I will be in the West Coast for the week. If you need to reach customer support, please call 800-223-1711 and open a service request.