□Google APIの導入方法(求救SOS)

□Google APIの導入方法(求救SOS)

我的环境是在windows2000上的cygwin,perl版本是v5.8.7,
我在安装Google API时,执行了以下命令:
1)perl -MCPAN -e 'install SOAP::Lite'
2)perl -MCPAN -e 'install Net::Google'
可是出现错误如下,哪位大侠能够帮帮我啊,小弟是刚刚接触perl的,
$ perl -MCPAN -e 'install SOAP::Lite'
CPAN: Storable loaded ok
Going to read /cygdrive/c/Documents and Settings/mden/.cpan/Metadata
Warning: Found only 0 objects in /cygdrive/c/Documents and Settings/mden/.cpan/M
etadata
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

System call "/usr/bin/lynx -source "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc
.txt.gz" > /cygdrive/c/Documents and Settings/mden/.cpan/sources/authors/01mail
rc.txt"
returned status 0 (wstat 0)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/au
thors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
sh: line 0: cd: /cygdrive/c/Documents: Not a directory

System call "cd /cygdrive/c/Documents and Settings/mden/.cpan/sources/authors &&
/usr/bin/ncftpget "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz" "
returned status 1 (wstat 256)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/au
thors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--15:51:25-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
=> `-'
Resolving ftp.perl.org... 163.143.1.21
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.tx
t.gz" > /cygdrive/c/Documents and Settings/mden/.cpan/sources/authors/01mailrc.
txt"
returned status 0 (wstat 2)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/au
thors/01mailrc.txt.gz] doesn't exist
Issuing "/usr/bin/ftp -n"
usage: lcd local-directory
Illegal PORT Command
ftp: bind: Address already in use
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz.
:
:
--15:40:05-- ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
(try:19) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:15-- ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
(try:20) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Giving up.

--15:40:15-- http://and/
=> `-'
Resolving and... failed: Unknown host.
--15:40:17-- http://settings/mden/.cpan/sources/modules/02packages.details.txt
=> `-'
Resolving settings... failed: Unknown host.

FINISHED --15:40:19--
Downloaded: 0 bytes in 0 files

System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/02packages.
details.txt.gz" > /cygdrive/c/Documents and Settings/mden/.cpan/sources/modules
/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/mo
dules/02packages.details.txt.gz] doesn't exist
Issuing "/usr/bin/ftp -n"
Not connected.
usage: lcd local-directory
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz.

Please check, if the URLs I found in your configuration file () are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch modules/02packages.details.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz

System call "/usr/bin/lynx -source "ftp://ftp.perl.org/pub/CPAN/modules/03modlis
t.data.gz" > /cygdrive/c/Documents and Settings/mden/.cpan/sources/modules/03mo
dlist.data"
returned status 0 (wstat 0)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/mo
dules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/ncftpget" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
sh: line 0: cd: /cygdrive/c/Documents: Not a directory

System call "cd /cygdrive/c/Documents and Settings/mden/.cpan/sources/modules &&
/usr/bin/ncftpget "ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz" "
returned status 1 (wstat 256)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/mo
dules/03modlist.data.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
--15:40:35-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
=> `-'
Resolving ftp.perl.org... 163.143.1.21
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:36-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 2) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:38-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 3) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:41-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 4) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:45-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 5) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:50-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 6) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:40:56-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 7) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:03-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 8) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:11-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try: 9) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:20-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:10) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:30-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:11) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:40-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:12) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:41:50-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:13) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:01-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:14) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:11-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:15) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:21-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:16) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:31-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:17) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:41-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:18) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:42:51-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:19) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.

--15:43:01-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
(try:20) => `-'
Connecting to ftp.perl.org|163.143.1.21|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Giving up.

--15:43:01-- http://and/
=> `-'
Resolving and... failed: Unknown host.
--15:43:03-- http://settings/mden/.cpan/sources/modules/03modlist.data
=> `-'
Resolving settings... failed: Unknown host.

FINISHED --15:43:06--
Downloaded: 0 bytes in 0 files

System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/03modlist.d
ata.gz" > /cygdrive/c/Documents and Settings/mden/.cpan/sources/modules/03modli
st.data"
returned status 1 (wstat 256)
Warning: expected file [/cygdrive/c/Documents and Settings/mden/.cpan/sources/mo
dules/03modlist.data.gz] doesn't exist
Issuing "/usr/bin/ftp -n"
Not connected.
usage: lcd local-directory
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz.

Please check, if the URLs I found in your configuration file () are valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch modules/03modlist.data.gz
Going to write /cygdrive/c/Documents and Settings/mden/.cpan/Metadata
Warning: Cannot install SOAP::Lite, don't know what it is.
Try the command

i /SOAP::Lite/

to find objects with matching identifiers.




   

hello,my ime is broken,s.
hello,my ime is broken,so.................
this question is about CPAN tools,
chose one mirror near you,
and you also can visit the cpan.org,download the file,
or use the ppm in AP.
there have some help for you:
http://www.perlchina.org/archive/archive.php?action=archive&page=43
http://www.perlchina.org/archive/archive.php?action=archive&page=26
怎么不去问google.
CYGWIN
我也遇到了这样的问题,解决之后专门来回你一下:
CYGWIN下少安了些软件,If you do not want to enter a dialog now,
you can answer 'no' to thisquestion and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)
于是我用 'o conf init' 来配Config.pm发现要求这些软件:
Where is your lynx program? []
Warning: wget not found in PATH

于是我装了,就可以fetch了,不过,后面又报其它错了,探索中。
[CCB]6[/CCB]