------------------------------------------------ On Wed, 16 Jul 2003 14:38:04 -0500, "JOHN FISHER" <[EMAIL PROTECTED]> wrote:
> Been lurking for a bit. My first question. Please be kind. > > I was reading a reply from Janek about using Text::CSV, Text::CSV_XS to simplify > splits on comma files. > > I tried perl -e 'use Text::CSV'' > ... and got ... > =============== > Can't locate Text/CSV.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/cygwin-mul > ti /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi /usr/lib/per > l5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > =============== > > So, I figured I had to go to www.cpan.org. It was overwhelming. > I negotiated to http://www.cpan.org/modules/by-module/Text/ > > Do I want these hyperlinks to get the module I want? > Text-CSV-0.01.readme > Text-CSV-0.01.tar.gz > > Install instructions questions http://www.cpan.org/modules/INSTALL.html > I am using Cygwin on an NT workstation. > So do I follow these instructions? > "If you're running Windows 95 or NT with the core Windows distribution of Perl"? > > On the build it says use make. I get: > =============== > $ dmake > bash: dmake: command not found > > $ perl -V:make > make='make'; > > $ make > bash: make: command not found > =============== > Is there something I need to load from cygwin to get the make or dmake command? > You will need to install some of the developer tools from the Cygwin distribution, including make, and probably gcc and associated libraries. At least for any modules that have an XS component (C lib linked in). Then you can either download and install by surfing CPAN (usually http://search.cpan.org is easier) or by using CPAN through Perl itself, at a Cygwin prompt: > perl -MCPAN -e shell Then just do: > install <module name> i.e. install Text::CSV CPAN should do the rest. You may want to have a look at perldoc perlmodinstall. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]