Sponsored Content
Full Discussion: Automating CPAN on FreeBSD
Top Forums Shell Programming and Scripting Automating CPAN on FreeBSD Post 302307483 by figaro on Wednesday 15th of April 2009 01:22:20 PM
Old 04-15-2009
Thank you for your response. The bit that I have added to the line will make a line look as follows:
Code:
PERL_MM_USE_DEFAULT=1 perl -MCPAN -e "install Term::ReadLine::Gnu"

Problematically, this will bring the script in an endless loop requesting the user to select a geographical location of the CPAN server, without the possibility for the user to provide any answer.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CYGWIN/CPAN install of Expect.pm

I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? " answered "no". CPAN install seemed to find... (1 Reply)
Discussion started by: white222
1 Replies

2. Shell Programming and Scripting

CPAN: using only wget to d/l modules?

Is there a way to tell CPAN not to use Net::Ftp and the ftp binary? I want to only use wget to download perl modules. (2 Replies)
Discussion started by: dangral
2 Replies

3. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

4. Shell Programming and Scripting

Error while trying to install from CPAN

Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file... do u have any idea as to why this happened?? Install: ============================= If you install Text::CSV_XS v.0.70, it makes Text::CSV faster. ... (5 Replies)
Discussion started by: VGR
5 Replies

5. Shell Programming and Scripting

Building my own CPAN repository

Hi there , im not sure whether im in the right section, but because im talking about perl, i guess this is the right place :-) I have a whole host (thousands in fact) of Solaris machines that are running different versions of perl with different module sets etc. I wanted to know whether it... (6 Replies)
Discussion started by: rethink
6 Replies

6. UNIX for Dummies Questions & Answers

Problem to upgrade CPAN

Hi all, Since yesterday, I'm trying to upgrade CPAN on my Synology sevrer, because I have the next message in CPAN shell : cpan> install cpan CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib... (2 Replies)
Discussion started by: mikael2235
2 Replies

7. Shell Programming and Scripting

cpan installation

Hi All, I need to install perl module using cpan, so befor that i checked cpan is installed or not . i tried , and got below output.but it is not clear to me. can u plz explain me. I dont know what the exactly cpan is useful. and in below why it is trying to create directory. $ cpan... (2 Replies)
Discussion started by: aish11
2 Replies

8. Shell Programming and Scripting

Unable to install module using cpan

Hi, I am unable to install module using cpan. It says 407 Proxy Authentication Required I did setup proxy server and given username and password in .bashrc file and apt.conf file. export http_proxy=http://username:password@proxyserver:portno/ However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies

9. UNIX for Dummies Questions & Answers

How to install CPAN without using yum on Linux?

Hi all, I am on Linux box where CPAN is not working for downloading any perl modules. When I try "perl -MCPAN -e shell" as root as well as a user, I get following error: Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl... (2 Replies)
Discussion started by: pat_pramod
2 Replies
CPANINJECT(1p)						User Contributed Perl Documentation					    CPANINJECT(1p)

NAME
cpaninject - Inject a distribution for installation via the CPAN shell SYNOPSIS
# Add the distribution cpaninject myperlmodule.tar.gz # And then install it from the cpan shell cpan> install LOCAL/myperlmodule.tar.gz DESCRIPTION
cpaninject is a small front-end application for the CPAN::Inject module. It takes any arbitrary Perl distribution tarball (open source or otherwise) and injects it into the local CPAN file cache, smoothing some metadata files to make it look as if it came from CPAN. It makes use the officially blessed "Reserved Local CPAN Author" id "LOCAL" as the author the distributions are added under. To use the program, just run cpaninject mytarball.tar.gz to add it, then the CPAN shell to install it (with full automatic recursive dependency installation). The key here being the recursive dependency installation, which you are now able to do even for installing non-CPAN modules. This simplifies the installation process a little, and makes things easier on someone that just wants to install a single commercial or non-CPAN Perl module that might have a dozen or more CPAN dependencies. SUPPORT
All bugs should be filed via the bug tracker at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Inject> For other issues, or commercial enhancement and support, contact the author AUTHOR
Adam Kennedy <adamk@cpan.org> SEE ALSO
CPAN::Mini::Inject COPYRIGHT
Copyright 2006 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.10.1 2011-01-05 CPANINJECT(1p)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy