I initially installed this successfully on an existing system , but now I'm trying to do the same on a newly build LFS (7.10 + linux-4.8.6) system with the following errors:
root@lfs12 () [ /sources ]# /usr/sbin/make-ca.sh cp: cannot stat '/etc/ssl/ca-bundle.crt': No such file or directory /tmp/tmp.sYJYixAbuw /sources Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /usr/lib/perl5/site_perl/5.24.0/x86_64-linux /usr/lib/perl5/site_perl/5.24.0 /usr/lib/perl5/vendor_perl/5.24.0/x86_64-linux /usr/lib/perl5/vendor_perl/5.24.0 /usr/lib/perl5/5.24.0/x86_64-linux /usr/lib/perl5/5.24.0 .) at /usr/bin/mk-ca-bundle.pl line 35. BEGIN failed--compilation aborted at /usr/bin/mk-ca-bundle.pl line 35. install: creating directory 'certs' grep: ca-bundle.crt: No such file or directory grep: ca-bundle.crt: No such file or directory ls: cannot access 'certs/*': No such file or directory Error! Only 0 certificates were generated! Exiting without update! UserAgent.pm seems to be installed. root@lfs12 () [ /usr/lib/perl5/5.24.0/CPAN/LWP ]# ls -al total 12 drwxr-xr-x 2 root root 4096 Nov 4 21:43 . drwxr-xr-x 10 root root 4096 Nov 4 21:43 .. -r--r--r-- 1 root root 2034 Nov 4 21:43 UserAgent.pm What could be the issue? I've just looked at my previous install (build) which I thought was successful. It has the same perl error, but it seemed to execute successfully because the ca-bundle.crt file already existed from the previous method of installation. As a secondary issue, the make-ca.sh is not returning a failure code due to above error if the ca-bundle.crt already exists. Thanks, Wayne. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
