New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use "--without-libtirpc" during configure #191
Conversation
To avoid the following warning, intentionally specify that we are not using libtirpc. "libtirpc (and/or ipv6-default) were enabled but libtirpc-devel is not installed. Disabling libtirpc and ipv6-default and falling back to legacy glibc rpc headers. This is a transitional warning message. Eventually it will be an error message." Signed-off-by: Anoop C S <anoopcs@redhat.com>
IIRC, the current version of libtirpc(in CentOS) fails to compile with GlusterFS sources. I will confirm it once again. |
Following is the error on CentOS 7(without EPEL repo) while compiling GlusterFS master with libtirpc-devel-0.2.4-0.15.el7.x86_64 installed:
|
So do we need to enable EPEL, or bring the packages to the CentOS storage sig repos? |
There are some functions missing/different in TIRPC compared to glibc/rpc. This could probably get resolved somehow, but we opted for not using libtirpc on CentOS <= 7. From https://github.com/gluster/glusterfs/blob/master/glusterfs.spec.in#L70 :
|
Should we look at moving to https://github.com/linuxbox2/ntirpc ? |
Change is no longer relevant. |
To avoid the following warning, intentionally specify that we are not
using libtirpc.
"libtirpc (and/or ipv6-default) were enabled but libtirpc-devel is not
installed. Disabling libtirpc and ipv6-default and falling back to
legacy glibc rpc headers. This is a transitional warning message.
Eventually it will be an error message."
Signed-off-by: Anoop C S anoopcs@redhat.com