Mailing List Archive

[Bricolage-Devel] Re: [Bricolage-Commits] Added an m4 macro to check whether or not CPAN works.
On Fri, 15 Feb 2002, Mark Jaroski wrote:

> Log Message:
> -----------
> Added an m4 macro to check whether or not CPAN works. Can y'all have
> a look at the code in aclocal.m4 and tell me if this method makes
> sense to you?

This is broken. Pinging a single CPAN mirror won't tell you if the
CPAN.pm module will work. CPAN.pm can be configured to access any number
of mirrors, possibly on the local network!

I don't know of a reliable way to figure out if CPAN.pm works. I think we
may just have to try it and then test afterword to see if it worked. If
it didn't then we show a message telling them why the install failed and
offering up the --without-cpan option.

-sam



_______________________________________________
Bricolage-Devel mailing list
Bricolage-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-devel
Re: [Bricolage-Devel] Re: [Bricolage-Commits] Added an m4 macro to check whether or not CPAN works. [ In reply to ]
Sam Tregar wrote:
> This is broken. Pinging a single CPAN mirror won't tell you if the
> CPAN.pm module will work. CPAN.pm can be configured to access any number
> of mirrors, possibly on the local network!
>
> I don't know of a reliable way to figure out if CPAN.pm works. I think we
> may just have to try it and then test afterword to see if it worked. If
> it didn't then we show a message telling them why the install failed and
> offering up the --without-cpan option.

If you read on down you'll see that if it fails the ping
test it tries to connect and do reload index. That's the
only thing I can think to do. I agree that we need to add
the --without-cpan option.

--
--
=================================================================
-- mark at geekhive dot net --

_______________________________________________
Bricolage-Devel mailing list
Bricolage-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-devel