CPAN is 2.36, & in CPAN/MyConfing.pm already have set the optional install options, namely (recommends|suggests_policy, I could locate to false ...

# Complete configuration is at the end. ... 'build_requires_install_policy' => q[yes], 'prerequisites_policy' => q[follow], 'recommends_policy' => q[no], 'suggests_policy' => q[no], ...

How do I avoid installation of optional dependencies in SOAP::Lite 1.27 META.json. All of those (supposed optional dependencies) were installed anyway except "Apache" as there is no source around. A 2015 bug mentions that which has no response.

During the installation, Can't stat ... Please tell me where I can find your apache src keeps repeating endlessly until I interrupt (Ctrl-C) the damn thing ...

Configuring G/GO/GOZER/mod_perl-1.31.tar.gz with Makefile.PL Enter `q' to stop search Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' ...

Have I missed some other option to avoid the above madness?

My current plan is to remove Apache from META.{yaml,json}; recalculate the checksums to update CHECKSUMS, and try again.

I am actually trying to install App::SourcePlot, which results in above crap.

$CPAN::Config = { 'allow_installing_outdated_dists' => q[no], 'applypatch' => q[], 'auto_commit' => q[0], 'build_cache' => q[100], 'build_dir' => q[/home/USER/.local/share/.cpan/build], 'build_dir_reuse' => q[no], 'build_requires_install_policy' => q[yes], 'bzip2' => q[/usr/bin/bzip2], 'cache_metadata' => q[1], 'check_sigs' => q[yes], 'cleanup_after_install' => q[yes], 'colorize_debug' => q[green on_black], 'colorize_output' => q[yes], 'colorize_print' => q[white on_black], 'colorize_warn' => q[bright_red on_black], 'commandnumber_in_prompt' => q[1], 'connect_to_internet_ok' => q[1], 'cpan_home' => q[/home/USER/.local/share/.cpan], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[/usr/bin/gpg], 'gzip' => q[/usr/bin/gzip], 'halt_on_failure' => q[yes], 'histfile' => q[/home/USER/.local/share/.cpan/histfile], 'histsize' => q[100], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/home/USER/.local/share/.cpan/sources], 'load_module_verbosity' => undef, 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[], 'make_install_make_command' => q[/usr/bin/make], 'makepl_arg' => q[], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[], 'mbuild_install_build_command' => q[./Build], 'mbuildpl_arg' => q[], 'no_proxy' => q[], 'pager' => q[/usr/bin/less], 'patch' => q[/usr/bin/patch], 'perl5lib_verbosity' => q[none], 'prefer_external_tar' => q[1], 'prefer_installer' => q[MB], 'prefs_dir' => q[/home/USER/.local/share/.cpan/prefs], 'prerequisites_policy' => q[follow], 'pushy_https' => q[1], 'recommends_policy' => q[no], 'scan_cache' => q[atstart], 'shell' => q[/bin/sh], 'show_unparsable_versions' => q[0], 'show_upload_date' => q[0], 'show_zero_versions' => q[0], 'suggests_policy' => q[no], 'tar' => q[/usr/bin/tar], 'tar_verbosity' => q[none], 'term_is_latin' => q[1], 'term_ornaments' => q[1], 'test_report' => q[0], 'trust_test_report_history' => q[0], 'unzip' => q[/usr/bin/unzip], 'urllist' => [q[https://cpan.metacpan.org/]], 'use_prompt_default' => q[yes], 'use_sqlite' => q[0], 'version_timeout' => q[15], 'wget' => q[/usr/bin/wget], 'yaml_load_code' => q[0], 'yaml_module' => q[YAML], };

In reply to SOAP::Lite 1.27 - Avoid installation of optional dependencies, how? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.