HP3000-L Archives

June 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ron Wuerth <[log in to unmask]>
Reply To:
Ron Wuerth <[log in to unmask]>
Date:
Thu, 21 Jun 2001 15:08:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (365 lines)
Mark,

Thanks for the reply.  At least I know I was attempting it correctly.

Turns out we were having difficuty with ftp from that box, so I'm sure
that is the problem.

From researching this further, I found out how to play with the CPAN
configurations so I'll set my urllist to some mirrors closer to me rather
than the default.  Once ftp is working properly again, I should be okay.

In the meantime, I'm doing a manual install after using Samba to download
the file onto my system.

Ron Wuerth
Virginia International Terminals, Inc.



-----Original Message-----
From: Mark Bixby [mailto:[log in to unmask]]
Sent: Thursday, June 21, 2001 11:58 AM
To: Ron Wuerth
Cc: [log in to unmask]
Subject: Re: Access to Image/SQL from Perl?




Ron Wuerth wrote:
>
> Mark,
>
> I'm new to Perl, and specifically CPAN.  I do have Perl ix installed
> and as a test to see if I'm working with CPAN correctly, I did the
> following,
> hoping it would come back with information about any authors by last name
> of "Ashton".
>
> cpan>
>
> a /Ashton/  {seperated my command from the output for clarity}
>
> CPAN: LWP::UserAgent loaded ok
> Fetching with LWP:
>   ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz
> Fetching with Net::FTP:
>   ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz
> Fetching with LWP:
>   ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz
> Fetching with Net::FTP:
>   ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz
> Fetching with LWP:
>   ftp://ftp.perl.org/pub/perl/CPAN/authors/01mailrc.txt.gz
> Fetching with Net::FTP:
>   ftp://ftp.perl.org/pub/perl/CPAN/authors/01mailrc.txt.gz
> Fetching with LWP:
>   http://download.sourceforge.net/mirrors/CPAN/authors/01mailrc.txt.gz
> Issuing "  -n"
> Can't exec "-n": No such file or directory at
> /PERL/PUB/lib/perl5/5.6.0/PA-RISC1
> .1/IO/File.pm line 166.
> Couldn't open ftp: No such file or directory at
> /PERL/PUB/lib/perl5/5.6.0/CPAN.p
> m line 2434.
>
> Any ideas on what the 'Can't exec "-n"...' is all about?  Do I need to do
> someting else/different to get this to work?  I'd like to eventually
install
> the MPE::IMAGE
> module, but I want to make sure I'm working with CPAN correctly.

I'm not sure why this failed.  Here are my successful results on the
invent3k
public access machine with an in-progress copy of Perl 5.6.1 that I am
finishing up as a result of the SIB.  I am logged on as MGR.PERL when doing
this:

INVENT3K:/PERL/PUB$ export FTP_PASSIVE=1
INVENT3K:/PERL/PUB$ ./cpan

/PERL/PUB/lib/perl5/5.6.1/CPAN/Config.pm initialized.


CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.

If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)

Are you ready for manual configuration? [yes]


The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide directory or a personal directory.



I see you already have a  directory
    /PERL/PUB/.cpan
Shall we use it as the general CPAN build and cache directory?

CPAN build and cache directory? [/PERL/PUB/.cpan]


If you want, I can keep the source files after a build in the cpan
home directory. If you choose so then future builds will take the
files from there. If you don't want to keep them, answer 0 to the
next question.



How big should the disk cache be for keeping the build directories
with all the intermediate files?

Cache size for build directory (in MB)? [10]


By default, each time the CPAN module is started, cache scanning
is performed to keep the cache size in sync. To prevent from this,
disable the cache scanning with 'never'.

Perform cache scanning (atstart or never)? [atstart]


To considerably speed up the initial CPAN shell startup, it is
possible to use Storable to create a cache of metadata. If Storable
is not available, the normal index mechanism will be used.

Cache metadata (yes/no)? [yes]


The next option deals with the charset your terminal supports. In
general CPAN is English speaking territory, thus the charset does not
matter much, but some of the aliens out there who upload their
software to CPAN bear names that are outside the ASCII range. If your
terminal supports UTF-8, you say no to the next question, if it
supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it
supports neither nor, your answer does not matter, you will not be
able to read the names of some authors anyway. If you answer no, names
will be output in UTF-8.

Your terminal expects ISO-8859-1 (yes/no)? [yes]


The CPAN module can detect when a module that which you are trying to
build depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.

Policy on building prerequisites (follow, ask or ignore)? [ask]


The CPAN module will need a few external programs to work properly.
Please correct me, if I guess the wrong path for a program. Don't
panic if you do not have some of them, just press ENTER for those. To
disable the use of a download program, you can type a space followed
by ENTER.

Where is your gzip program? [/usr/local/bin/gzip]
Where is your tar program? [/bin/tar]
Where is your unzip program? [/usr/contrib/bin/unzip]
Where is your make program? [/usr/local/bin/make]
Warning: lynx not found in PATH
Where is your lynx program? []
Where is your wget program? [/usr/contrib/bin/wget]
Warning: ncftpget not found in PATH
Where is your ncftpget program? []
Warning: ncftp not found in PATH
Where is your ncftp program? []
Where is your ftp program? [/bin/ftp]
What is your favorite pager program? [/bin/more]
What is your favorite shell?  /bin/sh


Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in processes. If you have any
parameters (e.g. PREFIX, LIB, UNINST or the like) you want to pass
to the calls, please specify them here.

If you don't understand this question, just press ENTER.

Parameters for the 'perl Makefile.PL' command?
Typical frequently used settings:

    POLLUTE=1        increasing backwards compatibility
    LIB=~/perl       non-root users (please see manual for more hints)

Your choice:  []
Parameters for the 'make' command?
Typical frequently used setting:

    -j3              dual processor system

Your choice:  []
Parameters for the 'make install' command?
Typical frequently used setting:

    UNINST=1         to always uninstall potentially conflicting files

Your choice:  []


Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. As sometimes the Makefile.PL contains
question you're expected to answer, you can set a timer that will
kill a 'perl Makefile.PL' process after the specified time in seconds.

If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.

Timeout for inactivity during Makefile.PL? [0]


If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

Your ftp_proxy?
Your http_proxy?
Your no_proxy?
Your /PERL/PUB/.cpan/sources/MIRRORED.BY is older than 60 days,
  I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY


Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.

First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.

(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) [] 5

(1) Canada
(2) Mexico
(3) United States
Select your country (or several nearby countries) [] 3

(1) ftp://archive.progeny.com/CPAN/
(2) ftp://carroll.cac.psu.edu/pub/CPAN/
(3) ftp://cpan.cse.msu.edu/
(4) ftp://cpan.in-span.net/
(5) ftp://cpan.llarian.net/pub/CPAN/
(6) ftp://cpan.nas.nasa.gov/pub/perl/CPAN/
(7) ftp://cpan.nitco.com/pub/CPAN/
(8) ftp://cpan.uky.edu/pub/CPAN/
(9) ftp://cpan.valueclick.com/pub/CPAN/
(10) ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN
(11) ftp://ftp-mirror.internap.com/pub/CPAN/
(12) ftp://ftp.ccs.neu.edu/net/mirrors/ftp.funet.fi/pub/languages/perl/CPAN/
(13) ftp://ftp.cise.ufl.edu/pub/perl/CPAN/
(14) ftp://ftp.cpanel.net/pub/CPAN/
(15) ftp://ftp.cs.colorado.edu/pub/perl/CPAN/
(16) ftp://ftp.deao.net/pub/CPAN/
(17) ftp://ftp.digital.com/pub/plan/perl/CPAN/
(18) ftp://ftp.duke.edu/pub/perl/
(19) ftp://ftp.epix.net/pub/languages/perl/
(20) ftp://ftp.freesoftware.com/pub/perl/CPAN/
(21) ftp://ftp.iguide.com/pub/mirrors/packages/perl/CPAN/
(22) ftp://ftp.kernel.org/pub/CPAN/
(23) ftp://ftp.loaded.net/pub/CPAN/
(24) ftp://ftp.orst.edu/pub/CPAN
(25) ftp://ftp.ou.edu/mirrors/CPAN/
(26) ftp://ftp.rge.com/pub/languages/perl/
(27) ftp://ftp.stealth.net/pub/mirrors/ftp.cpan.org/pub/CPAN/
(28) ftp://ftp.sunsite.utk.edu/pub/CPAN/
(29) ftp://ftp.uwsg.indiana.edu/pub/perl/CPAN/
(30) ftp://jhcloos.com/pub/mirror/CPAN/
(31) ftp://linuxjar.com/pub/CPAN
(32) ftp://mirror.csit.fsu.edu/pub/CPAN/
(33) ftp://mirror.hiwaay.net/CPAN/
(34) ftp://mirror.nyc.anidea.com/pub/CPAN/
(35) ftp://mirror.xmission.com/CPAN/
(36) ftp://mirrors.cloud9.net/pub/mirrors/CPAN/
(37) ftp://mirrors.rcn.net/pub/lang/CPAN/
(38) ftp://ruff.cs.jmu.edu/pub/CPAN/
(39) ftp://uiarchive.uiuc.edu/mirrors/ftp/ftp.cpan.org/pub/CPAN/
Select as many URLs as you like,
put them on one line, separated by blanks []
6 13 17

Enter another URL or RETURN to quit: []
New set of picks:
  ftp://cpan.nas.nasa.gov/pub/perl/CPAN/
  ftp://ftp.cise.ufl.edu/pub/perl/CPAN/
  ftp://ftp.digital.com/pub/plan/perl/CPAN/


WAIT support is available as a Plugin. You need the CPAN::WAIT module
to actually use it.  But we need to know your favorite WAIT server. If
you don't know a WAIT server near you, just press ENTER.

Your favorite WAIT server?
   [wait://ls6.informatik.uni-dortmund.de:1404]


commit: wrote /PERL/PUB/lib/perl5/5.6.1/CPAN/Config.pm

cpan shell -- CPAN exploration and modules installation (v1.59_54)
ReadLine support enabled

Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
        at http://www.perl.com/CPAN
Or use
        perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
        If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
stty: unknown mode "raw"
Cannot call `stty': Invalid argument at
/PERL/PUB/lib/perl5/site_perl/5.6.0/Term
/ReadLine/readline.pm line 1028, <STDIN> line 30.
cpan>
a /Ashton/
Fetching with LWP:
  ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz
Going to read /PERL/PUB/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
  ftp://cpan.nas.nasa.gov/pub/perl/CPAN/modules/02packages.details.txt.gz
Going to read /PERL/PUB/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Thu, 21 Jun 2001 10:59:07 GMT
Fetching with LWP:
  ftp://cpan.nas.nasa.gov/pub/perl/CPAN/modules/03modlist.data.gz
Going to read /PERL/PUB/.cpan/sources/modules/03modlist.data.gz
Author          ASHTED ("Ted Ashton" <[log in to unmask]>)
Author          HFB ("Elaine M. Ashton" <[log in to unmask]>)
2 items found

cpan>

The CPAN script stuff just makes your life easier.  You can still go to
www.cpan.org and manually download, unpack, and install any package without
using the CPAN script.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2