Re: Help needed during installation of Gluster 3.8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 08/19/2016 04:57 PM, Shekhar Berry wrote:
Hi,


On 08/19/2016 04:51 PM, Saravanakumar Arumugam wrote:
Hi,

On 08/19/2016 04:27 PM, Shekhar Berry wrote:
Hi,

I downloaded the glusterfs-3.8.1 and was trying to install it.

I did autogen.sh, configure and then during make command I am seeing this error. Can anyone point to what I am missing?

Making all in src
  CC       glusterd_la-glusterd.lo
In file included from glusterd-rcu.h:21:0,
                 from glusterd-sm.h:27,
                 from glusterd.h:29,
                 from glusterd.c:19:
../../../../contrib/userspace-rcu/rculist-extra.h:33:6: error: redefinition of 'cds_list_add_tail_rcu'
 void cds_list_add_tail_rcu(struct cds_list_head *newp,
      ^
In file included from glusterd-rcu.h:15:0,
                 from glusterd-sm.h:27,
                 from glusterd.h:29,
                 from glusterd.c:19:
/usr/local/include/urcu/rculist.h:44:6: note: previous definition of 'cds_list_add_tail_rcu' was here
 void cds_list_add_tail_rcu(struct cds_list_head *newp,
      ^
make[5]: *** [glusterd_la-glusterd.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Can you check and share which "userspace-rcu" version is installed in your machine?
rpm -qa | grep userspace-rcu
userspace-rcu-0.7.16-1.el7.x86_64

Also, How you installed userspace-rcu ?
I cloned latest version from Userspace RCU.
git clone git://git.liburcu.org/userspace-rcu.git

I think this is the problem.

Can you install userspace-rcu using yum/dnf/whatever.. ( and uninstall present one)?

and then following commands:

/bootstrap 
./configure
make
make install
ldconfig

I think #make uninstall should work here.


Generally, rculist.h should be present in /usr/include/rcu/rculist.h, but in your case it is in /usr/local/include/urcu/rculist.h. Hence this question.

Thanks,
Saravana


Thanks
Shekhar

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux