Hi Linux from Scratch-ers -

I've been building my own linux distro since @ 1998 and
running a largely LFS based / compliant system on my current x86_64
(i7-4910MQ) Clevo Laptop for the past couple of years .
Great System!

Recently came across my first major stumbling block , now having
a need for RPC + NFS + Kerberos, I find I am unable to build
libtirpc-1.0.1 according to the instructions in the latest GIT
draft of BLFS (2016-10-15 20:13:31 +0000 (Sat, 15 Oct 2016))
or in libtirpc documentation -

  o  GLIBC (2.24+ - I am running 2.25) does not ship the rpcsvc/nis.h
      headers anymore -  libtirpc builds fail with:

${SRC}/libtirpc-1.0.1/src/rpc_soc.c:64:24: fatal error: rpcsvc/nis.h: \
   No such file or directory

Similarly, any attempt to build rpcbind of course also fails.

There are loads of glibc headers to do with NIS and RPC in
 /usr/include/{nis,rpc,rpcsvc}/*
 that glibc used to ship, but now does not.

 I have contacted the libc-help mailing list about this , and the best
 answer I got was :

On 12/04/2017, Florian Weimer <[email protected]> wrote:
> Anyway, libtirpc should really compile without glibc RPC headers because the
> glibc headers are incompatible (they are restricted to IPv4, after all).  If 
> you can't
> compile libtirpc, you are doing something wrong.
>
> If you want glibc to install these headers, you need to compile with
> --enable-obsolete-rpc and, more recently, --enable-obsolete-nsl.  But this 
> should
> really be reserved for legacy installations not using libtirpc in a 
> system-wide
> fashion.

My first attempts to build glibc 'make subdirs=nis install' did not
install the headers,
and of course attempts to copy the internal headers into /usr/include
result in a
terrible mess.

I have recompiled glibc with those configure options and still I do
not get an rpcsvc/nis.h .

Anyone seen / overcome this problem yet ?

Any pointers on developing glibc patches to ship the old NIS & RPC
headers correctly ?

I believe the BLFS sections on NIS & RPC & glibc & libtirpc & rpcbind could
use some  updating on this issue .

Any help or advice gratefully received .

I am considering just building the Linux BSD newlib port / installing
FreeBSD ...

Thanks & Regards,
Jason Vas Dias
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to