From: Steve Dickson <SteveD@redhat.com>
To: "Haynes, Tom" <thomas@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Testing XDR code for nits
Date: Mon, 15 Oct 2012 16:25:13 -0400 [thread overview]
Message-ID: <507C7129.7090609@RedHat.com> (raw)
In-Reply-To: <20121015173035.GA1777@netapp.com>
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.
next prev parent reply other threads:[~2012-10-15 20:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 17:30 Testing XDR code for nits Haynes, Tom
2012-10-15 20:25 ` Steve Dickson [this message]
2012-10-16 17:56 ` Haynes, Tom
2012-10-16 19:21 ` Steve Dickson
2012-10-16 18:39 ` Haynes, Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507C7129.7090609@RedHat.com \
--to=steved@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=thomas@netapp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.