perl - CPAN command line not showing downloading error but not downloading the correct file -


i behind corporate proxy after configuring proxy able download files using browser. cpan command line throwing error starting file content, when deleting , cpan fetches same empty or blank file.

pfb cpan error:

c:\users\mohit>cpan app::cpanminus  looks don't have c compiler , make utility installed.  trying install dmake , mingw gcc compiler using perl package manager. may take a few minutes...  ppm.bat install failed: can't find package provides mingw  looks installation of dmake , mingw has failed.  not able run makefile commands or compile c extension code.  please check internet connection , proxy settings!  loading internal null logger. install log::log4perl logging messages cpan: term::ansicolor loaded ok (v4.06) cpan: win32::console::ansi loaded ok (v1.10) cpan: storable loaded ok (v2.56_01) reading 'c:\perl64\cpan\sources\authors\01mailrc.txt.gz' cpan: compress::zlib loaded ok (v2.07) ............................................................................done  cpan: lwp::useragent loaded ok (v6.15) cpan: time::hires loaded ok (v1.9741) fetching lwp: http://ppm.activestate.com/cpan/modules/02packages.details.txt.gz cpan: yaml::xs loaded ok (v0.63) reading 'c:\perl64\cpan\sources\modules\02packages.details.txt.gz' warning: c:\perl64\cpan\sources\modules\02packages.details.txt.gz not contain line-count header. please check validity of index file comparing more 1 cpan mirror. i'll continue problems seem happen. warning: c:\perl64\cpan\sources\modules\02packages.details.txt.gz not contain last-updated header. please check validity of index file comparing more 1 cpan mirror. i'll continue problems seem happen. ........could not split line["            return \"direct\";"] not split line[""] ........could not split line["            return \"direct\";"] not split line[""] giving parsing c:\perl64\cpan\sources\modules\02packages.details.txt.gz,  many errors  c:\users\mohit> 

but file(c:\perl64\cpan\sources\modules\02packages.details.txt.gz) comes of 2kb while when tried downloading manually of 1.90mb size. can me in configuring cpan commandline.

pfb myconfig file in added configurations:

$cpan::config = {   'auto_commit' => q[0],   'build_cache' => q[10],   'build_dir' => q[c:\\perl64/cpan/build],   'build_requires_install_policy' => q[yes],   'cache_metadata' => q[1],   'check_sigs' => q[0],   'colorize_output' => q[1],   'colorize_print' => q[green],   'colorize_warn' => q[red],   'commandnumber_in_prompt' => q[1],   'connect_to_internet_ok' => q[1],   'cpan_home' => q[c:\\perl64/cpan],   'ftp' => q[],   'ftp_passive' => q[1],   'ftp_proxy' => q[http://pac.zscalertwo.net/md.com/dedicated.pac],   'getcwd' => q[cwd],   'gpg' => q[],   'gzip' => q[],   'halt_on_failure' => q[0],   'histfile' => q[c:\\perl64/cpan/histfile],   'histsize' => q[100],   'http_proxy' => q[http://pac.zscalertwo.net/md.com/dedicated.pac],   'inactivity_timeout' => q[0],   'index_expire' => q[1],   'inhibit_startup_message' => q[0],   'keep_source_where' => q[c:\\perl64/cpan/sources],   'load_module_verbosity' => q[none],   'lynx' => q[],   'make' => q[],   'make_arg' => q[],   'make_install_arg' => q[],   'make_install_make_command' => q[],   'makepl_arg' => q[installdirs=site],   'mbuild_arg' => q[],   'mbuild_install_arg' => q[],   'mbuildpl_arg' => q[--installdirs=site],   'no_proxy' => q[localhost,127.0.0.1],   'pager' => q[more],   'perl5lib_verbosity' => q[none],   'prefer_external_tar' => q[0],   'prefer_installer' => q[mb],   'prerequisites_policy' => q[follow],   'proxy_user' => q[],   'recommends_policy' => q[1],   'scan_cache' => q[atstart],   'shell' => q[c:\\windows\\system32\\cmd.exe],   'show_upload_date' => q[0],   'suggests_policy' => q[0],   'tar' => q[],   'tar_verbosity' => q[none],   'term_is_latin' => q[1],   'term_ornaments' => q[1],   'trust_test_report_history' => q[0],   'unzip' => q[],   'urllist' => [q[http://ppm.activestate.com/cpan], q[http://cpan.perl.org]],   'use_prompt_default' => q[0],   'use_sqlite' => q[0],   'version_timeout' => q[15],   'wget' => q[],   'yaml_load_code' => q[0],   'yaml_module' => q[yaml::xs], }; 1; __end__ 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -