> From: Roger Koehler <[email protected]>
> Date: Fri, 4 Nov 2016 21:11:15 -0600
> Subject: Re: [blfs-support] Certificate Authority Certificates installation
>       issues
>
> On Nov 4, 2016 8:30 PM, "Wayne Blaszczyk" <[email protected]> wrote:
> >
> > 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.
>
> I just went through that. First install wget without Gnutls (with OpenSSL).
> Then install LWP in cpan (or manually if you prefer). And install
> Net::HTTP. There may be one or two other Perl modules. Then install the
> certs and Gnutls and reinstall wget.


 - or just extract the fairly simple core logic, code it as sh
(self-contained, w/ core utils), and kick all the over-cooked
('upstream') deps-chain crp to the kerb.



rgds,
akh





--
-- 
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