Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

[Bricolage-Devel] Re: [Bricolage-Commits] Added an m4 macro to check whether or not CPAN works.

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


sam at tregar

Feb 15, 2002, 9:59 AM

Post #1 of 2 (848 views)
Permalink
[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 [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-devel


mark at geekhive

Feb 15, 2002, 10:00 AM

Post #2 of 2 (803 views)
Permalink
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 [at] lists
https://lists.sourceforge.net/lists/listinfo/bricolage-devel

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.