This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

2.25 nis/rpcsvc headers ?

Please can anyone explain why after a build & install of glibc-2.25
GIT tagged tree
there is no /usr/include/nis/rpcsvc/* ?  I thought these headers were
meant to be
installed - in Makefile, it says :

installed-headers = argp/argp.h assert/assert.h catgets/nl_types.h \
		    $(wildcard inet/netinet/*.h) \
		    $(wildcard inet/arpa/*.h inet/protocols/*.h) \
#                 ^- these headers get installed
		    $(wildcard nis/rpcsvc/*.h) nptl_db/thread_db.h \.
#                  ^- but these don't

Yet some installed headers contain references to the NIS headers:
$ grep 'include.*nis/rpc'  /usr/include/rpcsvc/*
/usr/include/rpcsvc/nis.h:#include <nis/rpcsvc/nis.h>
/usr/include/rpcsvc/nis_callback.h:#include <nis/rpcsvc/nis_callback.h>
/usr/include/rpcsvc/nis_tags.h:#include <nis/rpcsvc/nis_tags.h>
/usr/include/rpcsvc/nislib.h:#include <nis/rpcsvc/nislib.h>
/usr/include/rpcsvc/yp.h:#include <nis/rpcsvc/yp.h>
/usr/include/rpcsvc/ypclnt.h:#include <nis/rpcsvc/ypclnt.h>
/usr/include/rpcsvc/ypupd.h:#include <nis/rpcsvc/ypupd.h>

So any program that includes those rpcsvc headers will get an error .

Is there any way to get the NIS headers  installed again during build ?
Simply copying does not work - they contain references to internal libc
headers like 'libc-symbols.h' and 'symbol-hacks.h'  - yet glibc is
shipping references to them ?

Can anyone please explain why is this ?
If glibc has decided to disable NIS / YP, then it should not ship
headers containing references to the NIS headers.

$ make subdirs=nis
works , as does
$ make subdirs=nis install
, but no nis/rpcsvc headers get installed .

It does not seem to be a  problem with $(wildcard *) selected headers
with separate $srcdir and $objdir directories, since copying the nis
from the $srcdir to the $objdir and  doing 'make subdirs=nis install' still does
not install nis/rpcsvc  headers.

Is there any way to enable NIS / YP header installation so that
compilation of RPC
using code works under GLIBC 2.25 ?  No useful configure script or
INSTALL matches for "egrep -i 'nis|yp'  configure INSTALL" to shed any
light on this.

Thanks in advance for any replies,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]