This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to install perl modules?


Manuel Tejada wrote:

Thanks to you and the other people for the answer.

Unfortunatly I don't have Internet-like programs
installed (as lynx, wget, ncftpget, ncftp, etc) in my
cygwing, so I can't use the -MCPAN or just de command
cpan. I don't intend to install those programs to
avoid my cygwin get bigger.

Come on, a program like wget is so important, how do you download stuff? Internet Explorer? Isn't this bloat (50 MB)? The whole wget package is about 1 MB!

I can download the modules from CPAN using the
Internet program from Windows and save them in the
hard disk.

Bloatware...


The correct question would be this:
Can I install the modules manually?

Yes, of course, however, CPAN is much more reliable. You don't need all the internet tools anyway, Net::Ftp is already included in the Cygwin Perl release, so there should be no other tools needed. Just install some more perl modules to make it more comfortable for you (in the CPAN shell type: `install LWP' to install the libwww module and dependencies).


If yes, How, and what must I have in consideration?

make, binutils and gcc-core (besides the Cygwin base packages):


$ tar xzf Perl-Mudule-1.2.3
$ cd Perl-Mudule-1.2.3/
$ perl Makefile.PL
$ make
$ make test
$ make UNINST=1 install

Should be listed in the README:
$ cat /usr/share/doc/Cygwin/perl-5.8.6

[...snip...]

Requirements

[...snip...]

  CPAN Dependencies:
    When building modules you will need Cygwin packages like make,
    gcc, binutils, ..., (and additional libraries, depending on the
    modules you want to install).

[...snip...]


Gerrit -- =^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]