This is the mail archive of the
mailing list for the glibc project.
2.25 nis/rpcsvc headers ?
- From: Jason Vas Dias <jason dot vas dot dias at gmail dot com>
- To: libc-help at sourceware dot org, libc-devel at sourceware dot org
- Date: Tue, 11 Apr 2017 22:51:00 +0000
- Subject: 2.25 nis/rpcsvc headers ?
- Authentication-results: sourceware.org; auth=none
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/*
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,