Hello,

I am still getting error, Following is the error message:

root@priyal:/usr/local/share/perl/5.14.2# cpanm Net::Netconf
--> Working on Net::Netconf
Fetching 
http://search.cpan.org/CPAN/authors/id/J/JP/JPRIYAL/Net-Netconf-0.01.zip ... OK
! Bad archive: [    testing: Net-Netconf-0.01/CHANGES   OK] Net-Netconf-0.01.zip
! Failed to unpack Net-Netconf-0.01.zip: no directory
! Failed to fetch distribution Net-Netconf-0.01

Kindly help

Thanks
Regards
Priyal

From: Sebastien Feugere [mailto:seb.feug...@gmail.com]
Sent: Thursday, May 29, 2014 11:56 AM
To: Priyal Jain
Cc: beginners@perl.org
Subject: Re: Error in installing "Bundle::Expect" as dependency for some other 
module using CPAN

Successfully installed it using "cpanm Net::Netconf". You should take a look at 
cpanminus, it will make your working life easier.
https://metacpan.org/pod/App::cpanminus

Note that it fails if you omit the capital "N" in "Netconf".
If it don't work for you, you could maybe post the full failure log ?



~$&bast1

On Thu, May 29, 2014 at 12:32 PM, Priyal Jain 
<jpri...@juniper.net<mailto:jpri...@juniper.net>> wrote:
Hello,

I have uploaded my Perl module in CPAN, 
http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf, but when I am 
trying to install it using 'cpan Net::netconf' its saying don't know what it is 
/Net::Netconf/ , cannot install it.

Please suggest something, what is the issue.


Regards,
Thanks,
Priyal

_____________________________________________
From: Priyal Jain
Sent: Friday, May 16, 2014 2:11 PM
To: 'beginners@perl.org<mailto:beginners@perl.org>'
Subject: Error in installing "Bundle::Expect" as dependency for some other 
module using CPAN


Hello,

I am uploading my module Net::Netconf 
http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf in CPAN, but its 
giving error of dependency not found for Bundle::Expect. I am mentioning all my 
dependency in Makefile.Pl
"use ExtUtils::MakeMaker;
our $VERSION ='0.01';
use 5.006;
WriteMakefile(
    NAME         => 'Net-Netconf',
    AUTHOR       => 'Juniper Networks, Inc',
    VERSION_FROM => 'Makefile.PL',
    PREREQ_PM => {'XML::LibXML'=> '0', 'File::Which'=> '0', 
'Bundle::Expect'=>'0',},
    ABSTRACT     => 'netconf libraries for perl',

);"

But its giving error. Kindly help me.


Thnanks,
Priyal


Reply via email to