Hi,

I tried to install SOAP::Lite with CPAN like so :

cpan[1]> install SOAP::Lite

This lead to it installing dependencies, among them mod_perl, which resulted in it asking me where my apache source is :

Appending installation info to /usr/lib/perl5/5.20.1/x86_64-linux-thre +ad-multi/perllocal.pod PHRED/SOAP-Lite-1.20.tar.gz /usr/bin/make install -- OK Running install for module 'Apache' Fetching with LWP: http://www.cpan.org/authors/id/G/GO/GOZER/mod_perl-1.31.tar.gz Fetching with LWP: http://www.cpan.org/authors/id/G/GO/GOZER/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/G/GO/GOZER/mod_perl-1.31.t +ar.gz ok 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]

The thing is, I think mod_perl is already installed :

# zypper search apache2-mod_perl Loading repository data... Reading installed packages... S | Name | Summary --+------------------------+------------ i | apache2-mod_perl | package | apache2-mod_perl | srcpackage | apache2-mod_perl-devel | package

(I edited that output a bit due to verbosity, but you can see the gist, I hope). So, I'm a bit confused as to why cpan went to install mod_perl? I would have thought it would have picked up on what was already installed, even if that includes things installed without CPAN? I'm running SuSE linux, the version details are :

# cpan --version /usr/bin/cpan version 1.61 calling Getopt::Std::getopts (version 1.10 +[paranoid]), running under Perl version 5.20.1. [Now continuing due to backward compatibility and excessive paranoia +. See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION +.] # cat /etc/issue Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l).

Any thoughts appreciated. Apologies if I have not posted this correctly - I've read from this site a lot, but this is my first post.

Thanks,

Niles


In reply to CPAN not detecting installed modules by nilesOien

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.