On Mon, 14 Apr 2014 23:48:00 +0100 Ken Moffat <zarniwh...@ntlworld.com> wrote:
> On Tue, Apr 15, 2014 at 07:35:59AM +1000, Ian Macdonald wrote: > > Ken, > > > > That seems to be the problem. My LFS build is 7.4 and the glibc-2.18 > > configure > > options did not include --enable-obsolete-rpc (but did copy the headers to > > /usr/include). > > I'm guessing that means libtirpc installs because the headers were there > > but they are not compiled into glibc. > > > > My memory says that --enable-obsolete-rpc is just a quick and easy > way of copying the headers :-( > > My question now is: Is it safe to re-build glibc-2.18 with the > > --enable-obsolete-rpc > > option or do I have to build L(FS)(FS)? > > I don't think rebuilding glibc will help, and I'm not sure if the > option exists in glibc-2.18. > > My first thought was to point you to the 7.4 BLFS book, which used > 0.2.3 : > http://www.linuxfromscratch.org/blfs/view/7.4/basicnet/libtirpc.html > > But I've now looked at my own git commits for the buildscripts I > use. I see that I only updated to libtirpc-0.2.4 in February, as > part of a catch-up to what was already in BLFS. Looking at the > diff, I see that BLFS has moved libtirpc.so to /lib and created a > versioned symlink from /usr/lib. I guess that you have a problem > with the symlink ;-) [ I've lost count of the number of times _I_ > create broken symlinks in my own builds. ] > > ĸen > -- > das eine Mal als Tragödie, dieses Mal als Farce > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page No, it was not a symlink this time ( I removed it just to check and the rpcbind build failed earlier, not finding -ltirpc ). I noticed that the BLFS-7.4 instructions for libtirpc-0.2.3 include a patch, a sed and a CFLAG that are not in the current book. After rebuilding libtirpc-0.2.4 in the same manner as in BLFS-7.4 ( there is an updated patch), rpcbind compiled without error. Of course now I don't know which (sed patch or CFLAG ) solved the problem or, indeed, if anything will work when I get to NFS-Utils! Anyway, thanks for the help. P.S. In the course of this I built glibc-2.18 with and without the --enable-obsolete-rpc flag and it does seem to do more than just copy headers. -- Ian Macdonald <iama...@gmail.com> -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page