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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |