Re: [blfs-support] rpcbind-0.2.1 build fails
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
Re: [blfs-support] rpcbind-0.2.1 build fails
On Mon, 14 Apr 2014 00:01:28 +0100 Ken Moffat zarniwh...@ntlworld.com wrote: On Mon, Apr 14, 2014 at 06:22:54AM +1000, Ian Macdonald wrote: Hi, I am trying to build rpcbind-0.2.1 from the current book but make fails with undefined references to key_encryptsessions_pk key_gendes cbc_crypt ecb_crypt getnetname getpublickey all from libtirpc. libtirpc-0.2.4 is installed as per the book with --disable-gssapi. It looks like a missing dependency ( encryption related?) and I don't need encryption. Any hints much appreciated. Google thinks that ecb_crypt comes from glibc, although it is of course possible that things have changed recently. Looking to see what it finds for getpublickey libtirpc took me to http://webcache.googleusercontent.com/search?q=cache:94LUO-Dtx-8J:comments.gmane.org/gmane.linux.lfs.support/35000+cd=4hl=enct=clnkgl=uk (For some reason, clicking on the direct link from google's results gave me a formatted page for the list, but with no content. So I took a look at the cached version). The old rpc headers problem. If this is not LFS-7.1, perhaps you failed to install the glibc rpc headers. See LFS chapter 6 glibc for whichever version you are using (-enable-obsolete-rpc for LFS-7.5). We used to go into detail somewhere in BLFS to ensure that the rpc headers had been installed (specifically re LFS-7.1), but at the moment I can not spot where that is. My reading of your problem is that libtirpc compiled and installed ok, but rpcbind is failing to link. I _thought_ libtirpc usually failed to install if the headers were missing. Maybe I'm misreading the problem - is this LFS-svn from the last couple of weeks (it was ok on about 31st March, but conceivably something in the changes to include systemd might have broken things although that seems unlikely) ? I'm also in awe of I don't need encryption. Wish I could share that sentiment ;-) ĸ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 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 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)? -- 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
Re: [blfs-support] rpcbind-0.2.1 build fails
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
[blfs-support] rpcbind-0.2.1 build fails
Hi, I am trying to build rpcbind-0.2.1 from the current book but make fails with undefined references to key_encryptsessions_pk key_gendes cbc_crypt ecb_crypt getnetname getpublickey all from libtirpc. libtirpc-0.2.4 is installed as per the book with --disable-gssapi. It looks like a missing dependency ( encryption related?) and I don't need encryption. Any hints much appreciated. -- 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
Re: [blfs-support] rpcbind-0.2.1 build fails
On Mon, Apr 14, 2014 at 06:22:54AM +1000, Ian Macdonald wrote: Hi, I am trying to build rpcbind-0.2.1 from the current book but make fails with undefined references to key_encryptsessions_pk key_gendes cbc_crypt ecb_crypt getnetname getpublickey all from libtirpc. libtirpc-0.2.4 is installed as per the book with --disable-gssapi. It looks like a missing dependency ( encryption related?) and I don't need encryption. Any hints much appreciated. Google thinks that ecb_crypt comes from glibc, although it is of course possible that things have changed recently. Looking to see what it finds for getpublickey libtirpc took me to http://webcache.googleusercontent.com/search?q=cache:94LUO-Dtx-8J:comments.gmane.org/gmane.linux.lfs.support/35000+cd=4hl=enct=clnkgl=uk (For some reason, clicking on the direct link from google's results gave me a formatted page for the list, but with no content. So I took a look at the cached version). The old rpc headers problem. If this is not LFS-7.1, perhaps you failed to install the glibc rpc headers. See LFS chapter 6 glibc for whichever version you are using (-enable-obsolete-rpc for LFS-7.5). We used to go into detail somewhere in BLFS to ensure that the rpc headers had been installed (specifically re LFS-7.1), but at the moment I can not spot where that is. My reading of your problem is that libtirpc compiled and installed ok, but rpcbind is failing to link. I _thought_ libtirpc usually failed to install if the headers were missing. Maybe I'm misreading the problem - is this LFS-svn from the last couple of weeks (it was ok on about 31st March, but conceivably something in the changes to include systemd might have broken things although that seems unlikely) ? I'm also in awe of I don't need encryption. Wish I could share that sentiment ;-) ĸ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