I am trying to install GD into Perl. They have a .tar.gz file which I promptly downloaded. Then I followed the CPAN instructions and entered the command from the shell:
install gd
didn't work, so I moved the downloaded GD file into several Perl libraries thinking that was the problem. I tried the .tar.gz file and also unzipped the file and moved the contents into several Perl libraries like \perl\lib.
This is what I get:
cpan5> install gd
Use of uninitialized value $_[0] in string eq at I:/xampp/perl/lib/File/Spec/Win
32.pm line 152, <FIN> line 5.
Warning: no success downloading '\xampp\perl\bin\.cpan\sources\authors\01mailrc.
txt.gz.tmp4984'. Giving up on it. at I:\xampp\perl\lib/CPAN/Index.pm line 225
Client not fully configured, please proceed with configuring.
You have not configured a urllist and do not allow connections to the internet to get a list of mirrors. If you wish to get a list of CPAN mirrors to pick from, use this command
o conf init connect_to_internet_ok urllist
If you do not wish to get a list of mirrors and would prefer to set your urllist manually, use just this command instead
o conf init urllist
Any ideas? I am a novice with Perl. But I'm not sure why it would try to load 01mailrc? Also I should note that I tried doing the mirror thing and I couldn't connect to the internet from XAMPP.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.