Re: Testing XDR code for nits

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

 




On 15/10/12 13:30, Haynes, Tom wrote:
> It used to be when I wanted to test for sanity, I could do:
> 
> sudo yum -y install libgssglue-devel
> sudo yum -y install nfs-utils-lib-devel
> 
> and then:
> 
> [thomas@psyklo NFSv4.2]$ make testx
> 
> Since about FC15, that has been broken. I can solve this with
> another distro, but I'd really like to get it working.
> 
> I can't install nfs-utils-lib-devel, I found this bugzilla:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=722847
> 
> So I tried installing libtirpc-devel and no luck with the
> test:
> 
> ( cd testx.d ; \
> 	rpcgen -a nfsv42.x ; \
> 	if [ ! -f /usr/include/rpc/auth_sys.h ]; then \
> 		ln Make* make ; \
> 		CFLAGS="-I /usr/include/rpcsecgss -I /usr/include/gssglue" ; export CFLAGS ; \
> 		LDLIBS="-lrpcsecgss" ; export LDLIBS ; \
> 	fi ; \
> 	make -f make* )
> file `nfsv42_server.c' already exists and may be overwritten
> make[1]: Entering directory `/home/thomas/Documents/ietf/NFSv4.2/testx.d'
> rpcgen  nfsv42.x
> cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_clnt.o nfsv42_clnt.c
> cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_client.o nfsv42_client.c
> cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_xdr.o nfsv42_xdr.c
> nfsv42_xdr.c: In function ‘xdr_secinfo4’:
> nfsv42_xdr.c:3511:7: error: ‘RPCSEC_GSS’ undeclared (first use in this function)
> nfsv42_xdr.c:3511:7: note: each undeclared identifier is reported only once for each function it appears in
> nfsv42_xdr.c: In function ‘xdr_callback_sec_parms4’:
> nfsv42_xdr.c:3790:7: error: ‘RPCSEC_GSS’ undeclared (first use in this function)
> make[1]: *** [nfsv42_xdr.o] Error 1
> make[1]: Leaving directory `/home/thomas/Documents/ietf/NFSv4.2/testx.d'
> make: *** [testx] Error 2
> 
> What package will provide RPCSEC_GSS in a header?
Here is the list of build decencies to build a Fedora nfs-utils rpm.

libgssglue-devel libevent-devel libcap-devel
libnfsidmap-devel libtirpc-devel libblkid-devel
krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
automake, libtool, glibc-headers, device-mapper-devel
krb5-devel, tcp_wrappers-devel, libmount-devel
fedfs-utils-devel >= 0.8.0-7

I hope this helps...

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux